| Package | Description |
|---|---|
| com.graphhopper.routing.ev | |
| com.graphhopper.routing.util |
| Modifier and Type | Method and Description |
|---|---|
static UrbanDensity |
UrbanDensity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrbanDensity[] |
UrbanDensity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumEncodedValue<UrbanDensity> |
UrbanDensity.create() |
| Modifier and Type | Method and Description |
|---|---|
static void |
UrbanDensityCalculator.calcUrbanDensity(Graph graph,
EnumEncodedValue<UrbanDensity> urbanDensityEnc,
EnumEncodedValue<RoadClass> roadClassEnc,
BooleanEncodedValue roadClassLinkEnc,
double residentialAreaRadius,
double residentialAreaSensitivity,
double cityAreaRadius,
double cityAreaSensitivity,
int threads)
Calculates the urban density (rural/residential/city) for all edges of the graph.
|
Copyright © 2012–2022. All rights reserved.