Removes GraphSearch::setContainsElement(...) in favor of std::set::find.