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


Constructor Summary
Edge(GraphNode start, GraphNode end, int value)
           
 
Method Summary
 double Cost()
           
 boolean Cycle()
           
 void Draw_Edge(java.awt.Graphics g, int num_arcs, int arrow_status)
           
 GraphNode From_GraphNode()
           
 int Get_End()
           
 int Get_Start()
           
 void hideCost()
           
 boolean Is_From()
           
 boolean Is_To()
           
 boolean Join()
           
 boolean New()
           
 void Print_Edge(java.lang.String s)
           
 GraphNode Rep()
           
 void Set_Highlight(java.awt.Color highlight_colour)
           
 void Set_Rep(GraphNode N)
           
 GraphNode To_GraphNode()
           
 void Update_Rep()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Edge

public Edge(GraphNode start,
            GraphNode end,
            int value)
Method Detail

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)