bugfix

hasVisited method not define in class header.
"problem.getSymmetricCost(Journey(visited.back(), i))" is error in gcc.