enum State { Visited, Unvisited, Visiting } class Node { State state; public Node() { // say something about the state } }