Openmp parallel search. cpp ~$ g++ -fopenmp -o xxx BFS.