java.lang.Object
org.jgrapht.demo.KnightTour.Node<E>
- Type Parameters:
E- type of the value stored in the node.
- Enclosing class:
KnightTour
Static class that represents a node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNext()getPrev()getValue()booleanvoidsetNext(KnightTour.Node<E> next) voidsetPrev(KnightTour.Node<E> prev) voidsetVisited(boolean visited)
-
Constructor Details
-
Node
-
Node
public Node()
-
-
Method Details
-
isVisited
public boolean isVisited() -
setVisited
public void setVisited(boolean visited) -
getValue
-
getNext
-
getPrev
-
setPrev
-
setNext
-