ciips.animation.graph
Class Edge
java.lang.Object
|
+--ciips.animation.graph.Edge
- All Implemented Interfaces:
- ClassInterface
- public class Edge
- extends java.lang.Object
- implements ClassInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Edge
public Edge(GraphNode start,
GraphNode end,
int value)
New
public boolean New()
Is_From
public boolean Is_From()
Is_To
public boolean Is_To()
Join
public boolean Join()
Rep
public GraphNode Rep()
Set_Rep
public void Set_Rep(GraphNode N)
From_GraphNode
public GraphNode From_GraphNode()
To_GraphNode
public GraphNode To_GraphNode()
Get_Start
public int Get_Start()
Get_End
public int Get_End()
Cost
public double Cost()
- Specified by:
Cost
in interface ClassInterface
hideCost
public void hideCost()
Cycle
public boolean Cycle()
Update_Rep
public void Update_Rep()
Print_Edge
public void Print_Edge(java.lang.String s)
Set_Highlight
public void Set_Highlight(java.awt.Color highlight_colour)
Draw_Edge
public void Draw_Edge(java.awt.Graphics g,
int num_arcs,
int arrow_status)