|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprioritizer.Pairwise.Graph.Arc
Defines an arc in the graph
Field Summary | |
private Pairwise.Graph.Node |
from
|
private Pairwise.Graph.Node |
to
|
private double |
value
|
Constructor Summary | |
Pairwise.Graph.Arc(Pairwise.Graph.Node from,
Pairwise.Graph.Node to,
double value)
Constructs an arc between the two specified nodes with the specified value |
Method Summary | |
Pairwise.Graph.Node |
getFrom()
Gets the node from where this arc leads |
Pairwise.Graph.Node |
getTo()
Gets the node to where this arc leads |
double |
getValue()
Gets the value of this arc (comparison) |
void |
setValue(double value)
Sets the value of this arc (comparison) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Pairwise.Graph.Node from
private Pairwise.Graph.Node to
private double value
Constructor Detail |
public Pairwise.Graph.Arc(Pairwise.Graph.Node from, Pairwise.Graph.Node to, double value)
from
- the from-nodeto
- the to-nodevalue
- the specified valueMethod Detail |
public Pairwise.Graph.Node getFrom()
public Pairwise.Graph.Node getTo()
public double getValue()
public void setValue(double value)
value
- the value to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |