public class PrepareRoutingSubnetworks extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PrepareRoutingSubnetworks.PrepareJob |
Constructor and Description |
---|
PrepareRoutingSubnetworks(GraphHopperStorage ghStorage,
List<PrepareRoutingSubnetworks.PrepareJob> prepareJobs) |
Modifier and Type | Method and Description |
---|---|
void |
doWork() |
PrepareRoutingSubnetworks |
setMinNetworkSize(int minNetworkSize)
The subnetwork removal removes components with less than
minNetworkSize nodes from the graph if it is
run node-based. |
public PrepareRoutingSubnetworks(GraphHopperStorage ghStorage, List<PrepareRoutingSubnetworks.PrepareJob> prepareJobs)
public PrepareRoutingSubnetworks setMinNetworkSize(int minNetworkSize)
minNetworkSize
nodes from the graph if it is
run node-based. For edge-based subnetwork removal it removes components with less than 2*minNetworkSize
(directed) edges.public void doWork()
Copyright © 2012–2020. All rights reserved.