Fix naming conventions of TrajanSCC
This commit is contained in:
@@ -122,10 +122,10 @@ int main(int argc, char *argv[]) try
|
||||
|
||||
auto tarjan =
|
||||
osrm::util::make_unique<osrm::extractor::TarjanSCC<osrm::tools::TarjanGraph>>(graph);
|
||||
tarjan->run();
|
||||
osrm::util::SimpleLogger().Write() << "identified: " << tarjan->get_number_of_components()
|
||||
tarjan->Run();
|
||||
osrm::util::SimpleLogger().Write() << "identified: " << tarjan->GetNumberOfComponents()
|
||||
<< " many components";
|
||||
osrm::util::SimpleLogger().Write() << "identified " << tarjan->get_size_one_count()
|
||||
osrm::util::SimpleLogger().Write() << "identified " << tarjan->GetSizeOneCount()
|
||||
<< " size 1 SCCs";
|
||||
|
||||
// output
|
||||
@@ -187,8 +187,8 @@ int main(int argc, char *argv[]) try
|
||||
BOOST_ASSERT(target != SPECIAL_NODEID);
|
||||
|
||||
const unsigned size_of_containing_component =
|
||||
std::min(tarjan->get_component_size(tarjan->get_component_id(source)),
|
||||
tarjan->get_component_size(tarjan->get_component_id(target)));
|
||||
std::min(tarjan->GetComponentSize(tarjan->GetComponentID(source)),
|
||||
tarjan->GetComponentSize(tarjan->GetComponentID(target)));
|
||||
|
||||
// edges that end on bollard nodes may actually be in two distinct components
|
||||
if (size_of_containing_component < 1000)
|
||||
|
||||
Reference in New Issue
Block a user