rename short variable name to be more telling
This commit is contained in:
parent
64a6859753
commit
9a998d7b41
@ -194,7 +194,7 @@ int main(int argc, char *argv[])
|
|||||||
DeleteFileIfExists("component.shx");
|
DeleteFileIfExists("component.shx");
|
||||||
DeleteFileIfExists("component.shp");
|
DeleteFileIfExists("component.shp");
|
||||||
|
|
||||||
Percent p(graph->GetNumberOfNodes());
|
Percent percentage(graph->GetNumberOfNodes());
|
||||||
|
|
||||||
OGRRegisterAll();
|
OGRRegisterAll();
|
||||||
|
|
||||||
@ -226,11 +226,11 @@ int main(int argc, char *argv[])
|
|||||||
<< "s";
|
<< "s";
|
||||||
|
|
||||||
uint64_t total_network_length = 0;
|
uint64_t total_network_length = 0;
|
||||||
p.reinit(graph->GetNumberOfNodes());
|
percentage.reinit(graph->GetNumberOfNodes());
|
||||||
TIMER_START(SCC_OUTPUT);
|
TIMER_START(SCC_OUTPUT);
|
||||||
for (const NodeID source : osrm::irange(0u, graph->GetNumberOfNodes()))
|
for (const NodeID source : osrm::irange(0u, graph->GetNumberOfNodes()))
|
||||||
{
|
{
|
||||||
p.printIncrement();
|
percentage.printIncrement();
|
||||||
for (const auto current_edge : graph->GetAdjacentEdgeRange(source))
|
for (const auto current_edge : graph->GetAdjacentEdgeRange(source))
|
||||||
{
|
{
|
||||||
const TarjanGraph::NodeIterator target = graph->GetTarget(current_edge);
|
const TarjanGraph::NodeIterator target = graph->GetTarget(current_edge);
|
||||||
|
Loading…
Reference in New Issue
Block a user