Skip to main content

PathResult

#include <graph.hpp>
Result of a shortest path search.

Public Attributes

ReturnNameDescription
std::vector< Id >pathVertices on the path from start to end.
doublecostTotal cost of the path.

path

std::vector< Id > path
Vertices on the path from start to end.

cost

double cost
Total cost of the path.