|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.graph.VertexValue
A object which can hold generic vertex values.
Constructor Summary | |
VertexValue()
|
|
VertexValue(double cost,
double time,
double[] demand)
Constructs a new vertex value object with explicit values. |
Method Summary | |
double |
getCost()
Returns the cost of crossing the vertex. |
double[] |
getDemand()
Returns the vertex demand. |
double |
getTime()
Returns the time required to cross the vertex. |
void |
set(double cost,
double time,
double[] demand)
Sets the values for the vertex. |
void |
setCost(double cost)
Sets the cost of crossing the vertex. |
void |
setDemand(double[] demand)
Sets the time to cross the vertex. |
void |
setTime(double time)
Sets the time to cross the vertex. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public VertexValue()
public VertexValue(double cost, double time, double[] demand)
Method Detail |
public double getCost()
public double getTime()
public double[] getDemand()
public void set(double cost, double time, double[] demand)
public void setCost(double cost)
public void setTime(double time)
public void setDemand(double[] demand)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |