clear method

DFS clear()

Clears the internal state of the object. A new search is now possible.

Implementation

DFS clear() {
	found = false;

	_route.clear();
	_visited.clear();
	_spanningTree.clear();

	return this;
}