|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Knot
Class for representing knots in graphs. A knot is defined by its unique id. There are for integer values associated with each knot: Its x- and y-coordinate and two arbitrary values to be visualized.
| Field Summary | |
int |
id
Id of the knot. |
int |
val1
First value associated with knot. |
int |
val2
Second value associated with knot. |
int |
x
X-Coordinate of the knot. |
int |
y
Y-Coordinate of the knot. |
| Constructor Summary | |
Knot(int id,
int x,
int y,
int val1,
int val2)
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 x
public int y
public int val1
public int val2
| Constructor Detail |
public Knot(int id,
int x,
int y,
int val1,
int val2)
id - id of the knotx - x-coordinate of the knoty - y-coordinate of the knotval1 - first value associated with knotval2 - second value associated with knot
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||