|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Edge
Class for representing edges in graphs. An edge is defined by its own id and the ids of the two knots it connects. Furthermore, an arbitrary integer value is associated with each edge. This value is used for data to be visualized.
Field Summary | |
int |
from
Id of the first knot. |
int |
id
Id of the edge. |
int |
to
Id of the second knot. |
int |
val
Value associated with edge. |
Constructor Summary | |
Edge(int id,
int from,
int to,
int val)
Default constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int id
public int from
public int to
public int val
Constructor Detail |
public Edge(int id, int from, int to, int val)
id
- id of the edgefrom
- id of first knotto
- id of second knotval
- value associated with edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |