Class KnightTour.Node<E>

java.lang.Object
org.jgrapht.demo.KnightTour.Node<E>
Type Parameters:
E - type of the value stored in the node.
Enclosing class:
KnightTour

public static class KnightTour.Node<E> extends Object
Static class that represents a node.
  • Constructor Details

    • Node

      public Node(E value)
    • Node

      public Node()
  • Method Details

    • isVisited

      public boolean isVisited()
    • setVisited

      public void setVisited(boolean visited)
    • getValue

      public E getValue()
    • getNext

      public KnightTour.Node<E> getNext()
    • getPrev

      public KnightTour.Node<E> getPrev()
    • setPrev

      public void setPrev(KnightTour.Node<E> prev)
    • setNext

      public void setNext(KnightTour.Node<E> next)