drasys.or.graph.tsp
Class NearestInsertion

java.lang.Object
  |
  +--drasys.or.graph.tsp.TSPBase
        |
        +--drasys.or.graph.tsp.ConstructBase
              |
              +--drasys.or.graph.tsp.NearestInsertion

public class NearestInsertion
extends ConstructBase
implements ConstructI

This is an implementation of the Nearest Insertion TSP construction algorithm.

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
NearestInsertion()
           
NearestInsertion(GraphI graph)
           
 
Method Summary
protected  void construct()
           
 
Methods inherited from class drasys.or.graph.tsp.ConstructBase
constructClosedTour, constructOpenTour, constructOpenTour, constructOpenTourFrom, constructOpenTourTo, saveTour, selectVertex, selectVertex, selectVertex
 
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

NearestInsertion

public NearestInsertion()

NearestInsertion

public NearestInsertion(GraphI graph)
Method Detail

construct

protected void construct()
                  throws TourNotFoundException
Overrides:
construct in class ConstructBase


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com