MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / makeNodeRestriction

Function makeNodeRestriction

unit_tests/extractor/restriction_graph.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22TurnRestriction makeNodeRestriction(NodeID from, NodeID via, NodeID to, bool is_only)
23{
24 ViaNodePath vnp{from, via, to};
25 return TurnRestriction({vnp}, is_only);
26}
27
28struct instruction
29{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

TurnRestrictionClass · 0.50

Tested by

no test coverage detected