clear method

BFS clear()

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

Implementation

BFS clear() {
	found = false;

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

	return this;
}