public class AutoRoutePanel.SimpleTSPSolver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(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.
|
Modifier and Type | Field and Description |
---|---|
private int |
end |
private int |
start |
private AutoRoutePanel.SimpleTSPSolver.Tour |
tour |
Constructor and Description |
---|
SimpleTSPSolver(java.util.List<GeneralUnitPNode> units) |
SimpleTSPSolver(java.util.List<GeneralUnitPNode> units,
boolean routeHighDim,
java.util.Random rand) |
Modifier and Type | Method and Description |
---|---|
int[] |
getTour() |
void |
solve() |
private AutoRoutePanel.SimpleTSPSolver.Tour tour
private int start
private int end
public SimpleTSPSolver(java.util.List<GeneralUnitPNode> units)
public SimpleTSPSolver(java.util.List<GeneralUnitPNode> units, boolean routeHighDim, java.util.Random rand)