| Modifier and Type | Method and Description |
|---|---|
Weighting |
GraphHopper.createWeighting(HintsMap hintsMap,
FlagEncoder encoder,
Graph graph)
Based on the hintsMap and the specified encoder a Weighting instance can be
created.
|
| Modifier and Type | Field and Description |
|---|---|
protected FlagEncoder |
AbstractRoutingAlgorithm.flagEncoder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
VirtualEdgeIteratorState.isBackward(FlagEncoder encoder) |
boolean |
VirtualEdgeIteratorState.isForward(FlagEncoder encoder) |
| Constructor and Description |
|---|
InstructionsFromEdges(int tmpNode,
Graph graph,
Weighting weighting,
FlagEncoder encoder,
NodeAccess nodeAccess,
Translation tr,
InstructionList ways) |
| Modifier and Type | Method and Description |
|---|---|
FlagEncoder |
PreparationWeighting.getFlagEncoder() |
| Constructor and Description |
|---|
PrepareRoutingSubnetworks(GraphHopperStorage ghStorage,
List<FlagEncoder> encoders) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryResult> |
ViaRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
List<QueryResult> |
AlternativeRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
List<QueryResult> |
RoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder)
This method takes the query points and returns the looked up QueryResults.
|
List<QueryResult> |
RoundTripRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
| 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 |
DataFlagEncoder
This encoder tries to store all way information into a 32 or 64bit value.
|
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
|
| 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()
The returned list is never empty.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultEdgeFilter |
DefaultEdgeFilter.allEdges(FlagEncoder flagEncoder)
Accepts all edges that are either forward or backward for the given flag encoder.
|
static DefaultEdgeFilter |
DefaultEdgeFilter.inEdges(FlagEncoder flagEncoder) |
static DefaultEdgeFilter |
DefaultEdgeFilter.outEdges(FlagEncoder flagEncoder) |
| Constructor and Description |
|---|
DefaultEdgeFilter(FlagEncoder encoder,
boolean fwd,
boolean bwd) |
EncodingManager(FlagEncoder... flagEncoders)
Instantiate manager with the given list of encoders.
|
| Constructor and Description |
|---|
EncodingManager(List<? extends FlagEncoder> flagEncoders)
Instantiate manager with the given list of encoders.
|
EncodingManager(List<? extends FlagEncoder> flagEncoders,
int bytesForEdgeFlags) |
| Modifier and Type | Field and Description |
|---|---|
protected FlagEncoder |
AbstractWeighting.flagEncoder |
| Modifier and Type | Method and Description |
|---|---|
FlagEncoder |
Weighting.getFlagEncoder() |
FlagEncoder |
AbstractWeighting.getFlagEncoder() |
FlagEncoder |
TurnWeighting.getFlagEncoder() |
FlagEncoder |
AbstractAdjustedWeighting.getFlagEncoder()
Returns the flagEncoder of the superWeighting.
|
| Constructor and Description |
|---|
AbstractWeighting(FlagEncoder encoder) |
CurvatureWeighting(FlagEncoder flagEncoder,
PMap pMap) |
FastestWeighting(FlagEncoder encoder) |
FastestWeighting(FlagEncoder encoder,
PMap map) |
PriorityWeighting(FlagEncoder encoder) |
PriorityWeighting(FlagEncoder encoder,
PMap pMap) |
ShortestWeighting(FlagEncoder flagEncoder) |
ShortFastestWeighting(FlagEncoder encoder,
double distanceFactor) |
ShortFastestWeighting(FlagEncoder encoder,
PMap map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EdgeIteratorState.isBackward(FlagEncoder encoder) |
boolean |
GHUtility.DisabledEdgeIterator.isBackward(FlagEncoder encoder) |
boolean |
EdgeIteratorState.isForward(FlagEncoder encoder) |
boolean |
GHUtility.DisabledEdgeIterator.isForward(FlagEncoder encoder) |
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) |
| Modifier and Type | Method and Description |
|---|---|
List<PathDetailsBuilder> |
PathDetailsBuilderFactory.createPathDetailsBuilders(List<String> requestedPathDetails,
FlagEncoder encoder,
Weighting weighting) |
| Constructor and Description |
|---|
AverageSpeedDetails(FlagEncoder encoder) |
Copyright © 2012–2018. All rights reserved.