Struct VertexState

Struct Documentation

struct VertexState

Public Members

RoutingGraphGraph::Vertex predecessor = {}

The vertex this refers to.

double cost = {}

Current accumulated cost.

size_t length = {}

Number of vertices to this vertex (including this one)

size_t numLaneChanges = {}

Required lane changes along the shortest path in order to get here.

bool predicate = {true}

False if disabled by predicate.

bool isLeaf = {true}

True if it has no successor that is on the shortest path.