|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface used by all algorithms to access VRP construction algorithms.
Method Summary | |
double |
constructClosedTours(java.lang.Object depotKey)
Construct a solution with closed tours that begin and end at the depot vertex. |
double |
constructInboundTours(java.lang.Object depotKey)
Construct a solution with open tours that begin at arbitrary vertices and end at the depot vertex. |
double |
constructOutboundTours(java.lang.Object depotKey)
Construct a solution with open tours that begin at the depot vertex and end at arbitrary vertices. |
void |
selectVertex(boolean select)
Selects all of the vertices in the graph to be in the solution 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 solution if 'select' is true. |
Methods inherited from interface drasys.or.graph.vrp.VRPI |
getCost,
getCosts,
getLoads,
getTours,
setCapacityConstraint,
setCostConstraint,
setEdgeKey,
setGraph,
setProperties,
setVehicleCost |
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 constructOutboundTours(java.lang.Object depotKey) throws SolutionNotFoundException, VertexNotFoundException
public double constructInboundTours(java.lang.Object depotKey) throws SolutionNotFoundException, VertexNotFoundException
public double constructClosedTours(java.lang.Object depotKey) throws SolutionNotFoundException, VertexNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |