Class GraphEdge


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

      • src

        public int src
        The index of source node in Nodes vector
      • dest

        public int dest
        The index of target node in Nodes vector
      • type

        public int type
        The type of Edge
      • srcLbl

        public String srcLbl
        Label of source node
      • destLbl

        public 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,
                         String sLbl,
                         String dLbl)