Package ghidra.graph

Class DijkstraShortestPathsAlgorithmTest.CollatzEdge

  • All Implemented Interfaces:
    GEdge<java.lang.Integer>
    Enclosing class:
    DijkstraShortestPathsAlgorithmTest

    public class DijkstraShortestPathsAlgorithmTest.CollatzEdge
    extends java.lang.Object
    implements GEdge<java.lang.Integer>
    • Method Detail

      • getStart

        public java.lang.Integer getStart()
        Description copied from interface: GEdge
        Get the start, or tail, of the edge

        In the edge x -> y, x is the start

        Specified by:
        getStart in interface GEdge<java.lang.Integer>
        Returns:
        the start
      • getEnd

        public java.lang.Integer getEnd()
        Description copied from interface: GEdge
        Get the end, or head, of the edge

        In the edge x -> y, y is the end

        Specified by:
        getEnd in interface GEdge<java.lang.Integer>
        Returns:
        the end
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object