Package | Description |
---|---|
com.graphhopper.routing.ev | |
com.graphhopper.routing.util |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanEncodedValue
This interface defines access to an edge property of type boolean.
|
interface |
DecimalEncodedValue
This class defines how and where to store an unsigned decimal value.
|
interface |
IntEncodedValue
This class defines how and where to store an unsigned integer.
|
Modifier and Type | Class and Description |
---|---|
class |
DecimalEncodedValueImpl
This class holds a signed decimal value and stores it as an integer value via a conversion factor and a certain
number of bits that determine the maximum value.
|
class |
EnumEncodedValue<E extends Enum>
This class allows to store distinct values via an enum.
|
class |
IntEncodedValueImpl
Implementation of the IntEncodedValue via a certain number of bits (that determines the maximum value) and
a minimum value (default is 0).
|
class |
SimpleBooleanEncodedValue
This class implements a simple boolean storage via an UnsignedIntEncodedValue with 1 bit.
|
class |
StringEncodedValue
This class holds a List of up to
StringEncodedValue.maxValues encountered Strings and stores
index+1 to indicate a string is set or 0 if no value is assigned |
Modifier and Type | Method and Description |
---|---|
<T extends EncodedValue> |
EncodedValueLookup.getEncodedValue(String key,
Class<T> encodedValueType) |
Modifier and Type | Method and Description |
---|---|
EncodedValue |
EncodedValueFactory.create(String encodedValueString)
This method assumes a string value with the key of an EncodedValue like "road_class" and returns an instance
of it.
|
EncodedValue |
DefaultEncodedValueFactory.create(String string) |
static EncodedValue |
EncodedValueSerializer.deserializeEncodedValue(String serializedEncodedValue) |
Modifier and Type | Method and Description |
---|---|
List<EncodedValue> |
EncodedValueLookup.getEncodedValues() |
Modifier and Type | Method and Description |
---|---|
static String |
EncodedValueSerializer.serializeEncodedValue(EncodedValue encodedValue) |
Modifier and Type | Method and Description |
---|---|
<T extends EncodedValue> |
EncodingManager.getEncodedValue(String key,
Class<T> encodedValueType) |
Modifier and Type | Method and Description |
---|---|
List<EncodedValue> |
EncodingManager.getEncodedValues() |
Modifier and Type | Method and Description |
---|---|
EncodingManager.Builder |
EncodingManager.Builder.add(EncodedValue encodedValue) |
EncodingManager.Builder |
EncodingManager.Builder.addTurnCostEncodedValue(EncodedValue turnCostEnc) |
Modifier and Type | Method and Description |
---|---|
void |
VehicleEncodedValues.createEncodedValues(List<EncodedValue> registerNewEncodedValue) |
void |
VehicleEncodedValues.createTurnCostEncodedValues(List<EncodedValue> registerNewTurnCostEncodedValues) |
Constructor and Description |
---|
EncodingManager(LinkedHashMap<String,EncodedValue> encodedValueMap,
EncodedValue.InitializerConfig edgeConfig,
EncodedValue.InitializerConfig turnCostConfig) |
Copyright © 2012–2022. All rights reserved.