Class NodeWithNumber

    • Constructor Summary

      Constructors 
      Constructor Description
      NodeWithNumber()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getGraphNodeId()
      A non-negative integer which serves as an identifier for this node in it's "dominant" graph.
      void setGraphNodeId​(int i)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeWithNumber

        public NodeWithNumber()
    • Method Detail

      • getGraphNodeId

        public int getGraphNodeId()
        Description copied from interface: INodeWithNumber
        A non-negative integer which serves as an identifier for this node in it's "dominant" graph. Initially this number is -1; a NumberedGraph will set it to a non-negative value when this node is inserted into the graph
        Specified by:
        getGraphNodeId in interface INodeWithNumber
        Returns:
        the number which identifies this node in the numbered graph