Package | Description |
---|---|
com.graphhopper.routing | |
com.graphhopper.routing.util | |
com.graphhopper.routing.weighting | |
com.graphhopper.routing.weighting.custom | |
com.graphhopper.util |
Modifier and Type | Field and Description |
---|---|
protected FlagEncoder |
AbstractRoutingAlgorithm.flagEncoder |
protected FlagEncoder |
AbstractNonCHBidirAlgo.flagEncoder |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFlagEncoder
Abstract class which handles flag decoding and encoding.
|
class |
Bike2WeightFlagEncoder
Stores two speed values into an edge to support avoiding too much incline
|
class |
BikeCommonFlagEncoder
Defines bit layout of bicycles (not motorcycles) for speed, access and relations (network).
|
class |
BikeFlagEncoder
Specifies the settings for cycletouring/trekking
|
class |
Car4WDFlagEncoder
Defines bit layout for cars with four wheel drive
|
class |
CarFlagEncoder
Defines bit layout for cars.
|
class |
FootFlagEncoder
Defines bit layout for pedestrians (speed, access, surface, ...).
|
class |
HikeFlagEncoder
Defines bit layout for hiking
|
class |
MotorcycleFlagEncoder
Defines bit layout for motorbikes
|
class |
MountainBikeFlagEncoder
Specifies the settings for mountain biking
|
class |
RacingBikeFlagEncoder
Specifies the settings for race biking
|
class |
WheelchairFlagEncoder
A flag encoder for wheelchairs.
|
Modifier and Type | Method and Description |
---|---|
FlagEncoder |
DefaultFlagEncoderFactory.createFlagEncoder(String name,
PMap configuration) |
FlagEncoder |
FlagEncoderFactory.createFlagEncoder(String name,
PMap configuration) |
FlagEncoder |
EncodingManager.getEncoder(String name) |
Modifier and Type | Method and Description |
---|---|
List<FlagEncoder> |
EncodingManager.fetchEdgeEncoders() |
Modifier and Type | Method and Description |
---|---|
EncodingManager.Builder |
EncodingManager.Builder.add(FlagEncoder encoder) |
static DefaultEdgeFilter |
DefaultEdgeFilter.allEdges(FlagEncoder flagEncoder) |
static EncodingManager |
EncodingManager.create(FlagEncoder... flagEncoders)
Instantiate manager with the given list of encoders.
|
static String |
EncodingManager.getKey(FlagEncoder encoder,
String str)
All EncodedValue names that are created from a FlagEncoder should use this method to mark them as
"none-shared" across the other FlagEncoders.
|
static DefaultEdgeFilter |
DefaultEdgeFilter.inEdges(FlagEncoder flagEncoder) |
static DefaultEdgeFilter |
DefaultEdgeFilter.outEdges(FlagEncoder flagEncoder) |
Modifier and Type | Method and Description |
---|---|
static EncodingManager |
EncodingManager.create(List<? extends FlagEncoder> flagEncoders)
Instantiate manager with the given list of encoders.
|
Modifier and Type | Field and Description |
---|---|
protected FlagEncoder |
AbstractWeighting.flagEncoder |
Modifier and Type | Method and Description |
---|---|
FlagEncoder |
Weighting.getFlagEncoder() |
FlagEncoder |
AbstractWeighting.getFlagEncoder() |
FlagEncoder |
AbstractAdjustedWeighting.getFlagEncoder()
Returns the flagEncoder of the superWeighting.
|
FlagEncoder |
QueryGraphWeighting.getFlagEncoder() |
Constructor and Description |
---|
CustomWeighting(FlagEncoder baseFlagEncoder,
EncodedValueLookup lookup,
TurnCostProvider turnCostProvider,
CustomModel customModel) |
Modifier and Type | Method and Description |
---|---|
static void |
GHUtility.addRandomTurnCosts(Graph graph,
long seed,
EncodingManager em,
FlagEncoder encoder,
int maxTurnCost,
TurnCostStorage turnCostStorage) |
static void |
GHUtility.printEdgeInfo(Graph g,
FlagEncoder encoder) |
static void |
GHUtility.printGraphForUnitTest(Graph g,
FlagEncoder encoder) |
static void |
GHUtility.printGraphForUnitTest(Graph g,
FlagEncoder encoder,
BBox bBox) |
static EdgeIteratorState |
GHUtility.setProperties(EdgeIteratorState edge,
FlagEncoder encoder,
double averageSpeed,
boolean fwd,
boolean bwd) |
static EdgeIteratorState |
GHUtility.setProperties(EdgeIteratorState edge,
FlagEncoder encoder,
double fwdSpeed,
double bwdSpeed) |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double averageSpeed,
boolean fwd,
boolean bwd) |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double fwdSpeed,
double bwdSpeed) |
Copyright © 2012–2020. All rights reserved.