public class TspOp2 extends TspImpl implements TSP, XMLConfigurable
TspImpl.NetworkTspConstraint
TSP.TourFlag
Constructor and Description |
---|
TspOp2()
Default constructor.
|
TspOp2(LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, ShortestPath spAlgorithm, PairwiseCostCalculator pwcc)
Deprecated.
|
TspOp2(PairwiseCostCalculator pwcc, ShortestPath spAlgorithm) |
TspOp2(PairwiseCostCalculator pwcc, ShortestPath spAlgorithm, int direction, double tolerance) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXMLSchema()
Returns the XML schema for the input parameter.
|
void |
init(org.w3c.dom.Element parameter)
Initializes the XML configurable object with the input parameter.
|
getDirection, getNetworkAnalyst, getPairwiseCostCalculator, getShortestPathAlgorithm, getTspOptimizer, setDirection, setNetworkAnalyst, setPairwiseCostCalculator, setShortestPathAlgorithm, setTspOptimizer, tspPath
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setNetworkAnalyst, tspPath
public TspOp2()
public TspOp2(LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, ShortestPath spAlgorithm, PairwiseCostCalculator pwcc)
lccs
-nccs
-spAlgorithm
-pwcc
-public TspOp2(PairwiseCostCalculator pwcc, ShortestPath spAlgorithm)
public TspOp2(PairwiseCostCalculator pwcc, ShortestPath spAlgorithm, int direction, double tolerance)
public void init(org.w3c.dom.Element parameter)
XMLConfigurable
init
in interface XMLConfigurable
parameter
- an XML element containing the necessary information to initialize the object.public java.lang.String getXMLSchema()
XMLConfigurable
getXMLSchema
in interface XMLConfigurable