weka.gui.graphvisualizer
Class GraphEdge

java.lang.Object
  extended byweka.gui.graphvisualizer.GraphEdge

public class GraphEdge
extends java.lang.Object

This class represents an edge in the graph

Version:
1.0 - 23 Apr 2003 - Initial version (Ashraf M. Kibriya)
Author:
Ashraf M. Kibriya (amk14@cs.waikato.ac.nz)

Field Summary
protected  int dest
          The index of target node in Nodes vector
protected  java.lang.String destLbl
          Label of target node
protected  int src
          The index of source node in Nodes vector
protected  java.lang.String srcLbl
          Label of source node
protected  int type
          The type of Edge
 
Constructor Summary
GraphEdge(int s, int d, int t)
           
GraphEdge(int s, int d, int t, java.lang.String sLbl, java.lang.String dLbl)
           
 
Method Summary
 boolean equals(java.lang.Object e)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

protected int src
The index of source node in Nodes vector


dest

protected int dest
The index of target node in Nodes vector


type

protected int type
The type of Edge


srcLbl

protected java.lang.String srcLbl
Label of source node


destLbl

protected java.lang.String destLbl
Label of target node

Constructor Detail

GraphEdge

public GraphEdge(int s,
                 int d,
                 int t)

GraphEdge

public GraphEdge(int s,
                 int d,
                 int t,
                 java.lang.String sLbl,
                 java.lang.String dLbl)
Method Detail

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object e)