|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.gui.graphvisualizer.GraphNode
public class GraphNode
This class represents a node in the Graph.
Field Summary | |
---|---|
int |
nodeType
Type of node. |
int |
x
The x and y position of the node |
int |
y
The x and y position of the node |
Fields inherited from interface weka.gui.graphvisualizer.GraphConstants |
---|
DIRECTED, DOUBLE, NORMAL, PLURAL_DUMMY, REVERSED, SINGULAR_DUMMY |
Constructor Summary | |
---|---|
GraphNode(java.lang.String id,
java.lang.String label)
Constructor |
|
GraphNode(java.lang.String id,
java.lang.String label,
int type)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object n)
Returns true if passed in argument is an instance of GraphNode and is equal to this node. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int nodeType
Constructor Detail |
---|
public GraphNode(java.lang.String id, java.lang.String label)
public GraphNode(java.lang.String id, java.lang.String label, int type)
Method Detail |
---|
public boolean equals(java.lang.Object n)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |