MCPcopy Create free account
hub / github.com/comaps/comaps / SetStarter

Method SetStarter

libs/routing/routing_tests/index_graph_tools.cpp:43–47  ·  view source on GitHub ↗

RestrictionTest ---------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

41
42// RestrictionTest ---------------------------------------------------------------------------------
43void RestrictionTest::SetStarter(FakeEnding const & start, FakeEnding const & finish)
44{
45 CHECK(m_graph != nullptr, ("Init() was not called."));
46 m_starter = MakeStarter(start, finish, *m_graph);
47}
48
49void RestrictionTest::SetRestrictions(RestrictionVec && restrictions)
50{

Callers 1

TestRestrictionsFunction · 0.80

Calls 1

MakeStarterFunction · 0.85

Tested by 1

TestRestrictionsFunction · 0.64