Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
TurnRestriction 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
28
struct instruction
29
{
Callers
1
BOOST_AUTO_TEST_CASE
Function · 0.85
Calls
1
TurnRestriction
Class · 0.50
Tested by
no test coverage detected