|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.util.graph.Edge
Operations on edgess belonging to a sandmark.util.graph.Graph.
Field Summary | |
static int |
BACK
|
(package private) int |
Class
|
(package private) static java.lang.String[] |
classNames
|
static int |
CROSS
|
(package private) java.lang.String[] |
edgeColors
|
static int |
FORWARD
|
static int |
NO_EDGE_NUMBER
|
static int |
NOCLASS
|
protected Node |
sink
|
protected Node |
source
|
protected int |
theEdgeNumber
|
static int |
TREE
|
Constructor Summary | |
Edge(Node source,
Node sink)
|
|
Edge(Node source,
Node sink,
int theEdgeNumber)
|
|
Edge(Node source,
Node sink,
int theEdgeNumber,
int edgeClass)
|
Method Summary | |
static java.lang.String |
classToString(int c)
|
java.lang.Object |
clone()
|
protected java.lang.String |
color()
Return the color of this edge. |
int |
edgeClass()
|
int |
edgeNumber()
|
boolean |
equals(java.lang.Object e)
|
protected int |
fontsize()
Return the fontsize of this edge. |
Node |
getSink()
|
Node |
getSource()
|
int |
hashCode()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
name(Graph graph)
|
protected java.lang.String |
orientation()
Return the orientation of this edge. |
void |
setEdgeClass(int Class)
|
void |
setEdgeNumber(int theEdgeNumber)
|
Node |
sinkNode()
|
Node |
sourceNode()
|
protected java.lang.String |
style()
Return the style of this edge. |
java.lang.String |
toDot()
Format the edge in the dot format. |
java.lang.String |
toDot(java.lang.String label)
Format the edge in the dot format. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int theEdgeNumber
protected Node source
protected Node sink
int Class
public static final int NO_EDGE_NUMBER
public static final int NOCLASS
public static final int TREE
public static final int BACK
public static final int FORWARD
public static final int CROSS
static java.lang.String[] classNames
java.lang.String[] edgeColors
Constructor Detail |
public Edge(Node source, Node sink, int theEdgeNumber)
public Edge(Node source, Node sink, int theEdgeNumber, int edgeClass)
public Edge(Node source, Node sink)
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public Node getSource()
public Node getSink()
public int edgeNumber()
public void setEdgeNumber(int theEdgeNumber)
public Node sourceNode()
public Node sinkNode()
public int edgeClass()
public void setEdgeClass(int Class)
public java.lang.String name(Graph graph)
public boolean equals(java.lang.Object e)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String classToString(int c)
public java.lang.String toDot(java.lang.String label)
protected java.lang.String color()
protected java.lang.String style()
protected java.lang.String orientation()
protected int fontsize()
public java.lang.String toDot()
public String toDot() { return toDot(data); }
public static void main(java.lang.String[] args)
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |