MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / excentricity

Method excentricity

src/Tracker/graph/GTL/src/node.cpp:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135int node::excentricity() const
136{
137 bfs b;
138 b.start_node(*this);
139 b.calc_level(true);
140 b.run(*data->owner);
141
142 node last_node = *(--b.end());
143
144 return b.level(last_node);
145}
146
147GTL_EXTERN bool operator==(GTL::node v1, GTL::node v2)
148{

Callers 1

centerMethod · 0.80

Calls 3

calc_levelMethod · 0.80
endMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected