|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.ll.group43.surfaceoptimization.network.NetworkEdge
public class NetworkEdge
Represents a directed edge in a network.
Constructor Summary | |
---|---|
NetworkEdge(NetworkNode source,
NetworkNode target,
int weight)
|
Method Summary | |
---|---|
NetworkNode |
getSource()
Returns the node from which this edge originates. |
NetworkNode |
getTarget()
Returns the node to which this edge points. |
int |
getWeight()
Returns the weight of this edge. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkEdge(NetworkNode source, NetworkNode target, int weight)
Method Detail |
---|
public NetworkNode getSource()
public NetworkNode getTarget()
public int getWeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |