Class ShortestPathSearch.AnyShortest