Interface DiGraph.DiGraphNode<N,​E>

    • Method Detail

      • hasPriority

        boolean hasPriority()
        Returns whether a priority has been set.
      • getPriority

        int getPriority()
        Returns a nonnegative integer priority which can be used to order nodes.

        Throws if a priority has not been set.

      • setPriority

        void setPriority​(int priority)
        Sets a node priority, must be non-negative.