|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--drasys.or.graph.tsp.TSPBase
|
+--drasys.or.graph.tsp.ImproveBase
|
+--drasys.or.graph.tsp.TwoOpt
References:
Local Search in Combinatorial Optimization
Jan Karel Lenstra (Editor), Emile Aarts (Editor) / Paperback / Published 1997
The Traveling Salesman Problem : A Guided Tour of Combinatorial Optimization
E.L. Lawler (Editor) / Paperback / Published 1985
| Constructor Summary | |
TwoOpt()
|
|
TwoOpt(GraphI graph)
|
|
| Method Summary | |
protected void |
improve()
|
| Methods inherited from class drasys.or.graph.tsp.ImproveBase |
flip,
improveClosedTour,
improveOpenTour,
improveOpenTour,
saveTour,
setVertCosts |
| Methods inherited from class drasys.or.graph.tsp.TSPBase |
checkChangeCount,
countVertices,
forwardCost,
getCost,
getTour,
initVertices,
initVertices,
reverseCost,
rotateClosedTour,
setEdgeKey,
setGraph,
setProperties |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TwoOpt()
public TwoOpt(GraphI graph)
| Method Detail |
protected void improve()
throws TourNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||