Class GraphEdge


  • public class GraphEdge
    extends java.lang.Object
    This class represents an edge in the graph
    Version:
    $Revision: 1.4 $ - 23 Apr 2003 - Initial version (Ashraf M. Kibriya)
    Author:
    Ashraf M. Kibriya (amk14@cs.waikato.ac.nz)
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphEdge​(int s, int d, int t)  
      GraphEdge​(int s, int d, int t, java.lang.String sLbl, java.lang.String dLbl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object e)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object e)
        Overrides:
        equals in class java.lang.Object