Class NodeWithNumber

    • 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