|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.apps.viewer.controls.AutoRoutePanel.SimpleTSPSolver
public class AutoRoutePanel.SimpleTSPSolver
Nested Class Summary | |
---|---|
(package private) class |
AutoRoutePanel.SimpleTSPSolver.Graph
contains a Matrix of distances for a graph. |
(package private) class |
AutoRoutePanel.SimpleTSPSolver.Tour
A path in a graph. |
Field Summary | |
---|---|
private int |
end
|
private int |
start
|
private AutoRoutePanel.SimpleTSPSolver.Tour |
tour
|
Constructor Summary | |
---|---|
AutoRoutePanel.SimpleTSPSolver(java.util.List<GeneralUnitPNode> units)
|
|
AutoRoutePanel.SimpleTSPSolver(java.util.List<GeneralUnitPNode> units,
boolean routeHighDim,
java.util.Random rand)
|
Method Summary | |
---|---|
int[] |
getTour()
|
void |
solve()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private AutoRoutePanel.SimpleTSPSolver.Tour tour
private int start
private int end
Constructor Detail |
---|
public AutoRoutePanel.SimpleTSPSolver(java.util.List<GeneralUnitPNode> units)
public AutoRoutePanel.SimpleTSPSolver(java.util.List<GeneralUnitPNode> units, boolean routeHighDim, java.util.Random rand)
Method Detail |
---|
public void solve()
public int[] getTour()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |