Specs for the Graph#shortest_path and Graph#measure_distance_labels_from methods