|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecttimeTable.transportNetwork.Arc
public class Arc
Exemple d'implémentation de l'interface
FlowableArc
, représente une arête
du réseau de transport.
Constructor Summary | |
---|---|
Arc(Vertex inVertex,
Vertex outVertex,
double minCapacity,
double maxCapacity)
Une arête se construit à partir de deux sommets, une borne inférieure et une borne supérieure. |
Method Summary | |
---|---|
double |
getConformResidualValue()
Retourne la valeur résiduelle de l'arc (si il est pris dans le sens conforme). |
double |
getFlowValue()
Retourne la valeur du flot. |
FlowableVertex |
getInVertex()
Retourne le sommet de "départ" de l'arc. |
double |
getMaxCapacity()
Retourne la borne supérieure de la capacité de l'arc. |
double |
getMinCapacity()
Retourne la borne inférieure de la capacité de l'arc. |
FlowableVertex |
getOutVertex()
Retourne le sommet d'"arrivée" de l'arc. |
double |
getUnconformResidualValue()
Retourne la valeur résiduelle de l'arc (si il est pris dans le sens non conforme). |
void |
increaseConformFlow(double increment)
Pour augmenter le flot dans le sens conforme. |
void |
increaseUnconformFlow(double increment)
Pour augmenter le flot dans le sens non conforme. |
java.lang.String |
toString()
Retourne l'arête au format chaîne de caractères |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Arc(Vertex inVertex, Vertex outVertex, double minCapacity, double maxCapacity)
add**Arc(this)
.
Method Detail |
---|
public double getMinCapacity()
getMinCapacity
in interface FlowableArc
public double getMaxCapacity()
getMaxCapacity
in interface FlowableArc
public double getFlowValue()
getFlowValue
in interface FlowableArc
public void increaseConformFlow(double increment)
increaseConformFlow
in interface FlowableArc
public void increaseUnconformFlow(double increment)
increaseUnconformFlow
in interface FlowableArc
public double getConformResidualValue()
getConformResidualValue
in interface FlowableArc
public double getUnconformResidualValue()
getUnconformResidualValue
in interface FlowableArc
public FlowableVertex getInVertex()
getInVertex
in interface FlowableArc
public FlowableVertex getOutVertex()
getOutVertex
in interface FlowableArc
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |