|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface used by all algorithms to access TSP construction algorithms.
Method Summary | |
double |
constructClosedTour()
Construct a closed tour solution. |
double |
constructOpenTour()
Construct an open tour solution with arbitrary end points. |
double |
constructOpenTour(java.lang.Object originKey,
java.lang.Object destinationKey)
Construct a tour with explicit end points. |
double |
constructOpenTourFrom(java.lang.Object originKey)
Construct an open tour solution with an explicit origin and arbitrary destination. |
double |
constructOpenTourTo(java.lang.Object destinationKey)
Construct an open tour solution with an explicit destination and arbitrary origin. |
void |
selectVertex(boolean select)
Selects all of the vertices in the graph to be in the tour if 'select' is true. |
void |
selectVertex(boolean[] select)
Selects all of the vertices whose corresponding element in 'select' is true. |
void |
selectVertex(java.lang.Object key,
boolean select)
Selects the vertex to be in the tour if 'select' is true. |
Methods inherited from interface drasys.or.graph.tsp.TSPI |
getCost,
getTour,
rotateClosedTour,
setEdgeKey,
setGraph,
setProperties |
Method Detail |
public void selectVertex(boolean[] select)
public void selectVertex(boolean select)
public void selectVertex(java.lang.Object key, boolean select) throws VertexNotFoundException
public double constructOpenTour(java.lang.Object originKey, java.lang.Object destinationKey) throws TourNotFoundException, VertexNotFoundException
public double constructOpenTourFrom(java.lang.Object originKey) throws TourNotFoundException, VertexNotFoundException
public double constructOpenTourTo(java.lang.Object destinationKey) throws TourNotFoundException, VertexNotFoundException
public double constructOpenTour() throws TourNotFoundException
public double constructClosedTour() throws TourNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |