Modifier and Type | Method and Description |
---|---|
Weighting |
GraphHopper.createTurnWeighting(Graph graph,
Weighting weighting,
TraversalMode tMode)
Potentially wraps the specified weighting into a TurnWeighting instance.
|
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 | Method and Description |
---|---|
Weighting |
GraphHopper.createTurnWeighting(Graph graph,
Weighting weighting,
TraversalMode tMode)
Potentially wraps the specified weighting into a TurnWeighting instance.
|
Modifier and Type | Field and Description |
---|---|
protected Weighting |
Path.weighting |
protected Weighting |
AbstractRoutingAlgorithm.weighting |
Modifier and Type | Method and Description |
---|---|
Weighting |
AlgorithmOptions.getWeighting() |
Modifier and Type | Method and Description |
---|---|
AlgorithmOptions.Builder |
AlgorithmOptions.Builder.weighting(Weighting weighting) |
Modifier and Type | Class and Description |
---|---|
class |
PreparationWeighting
Used in CH preparation and therefor assumed that all edges are of type CHEdgeIteratorState
|
Modifier and Type | Method and Description |
---|---|
Weighting |
PrepareContractionHierarchies.getWeighting() |
Modifier and Type | Method and Description |
---|---|
List<Weighting> |
CHAlgoFactoryDecorator.getWeightings() |
Modifier and Type | Method and Description |
---|---|
CHAlgoFactoryDecorator |
CHAlgoFactoryDecorator.addWeighting(Weighting weighting)
Decouple weightings from PrepareContractionHierarchies as we need weightings for the
graphstorage and the graphstorage for the preparation.
|
Constructor and Description |
---|
Path4CH(Graph routingGraph,
Graph baseGraph,
Weighting weighting) |
PreparationWeighting(Weighting userWeighting) |
PrepareContractionHierarchies(Directory dir,
GraphHopperStorage ghStorage,
CHGraph chGraph,
Weighting weighting,
TraversalMode traversalMode) |
Modifier and Type | Method and Description |
---|---|
Weighting |
LandmarkStorage.getLmSelectionWeighting() |
Weighting |
PrepareLandmarks.getWeighting() |
Weighting |
LandmarkStorage.getWeighting()
This method returns the weighting for which the landmarks are originally created
|
Modifier and Type | Method and Description |
---|---|
List<Weighting> |
LMAlgoFactoryDecorator.getWeightings() |
Modifier and Type | Method and Description |
---|---|
LMAlgoFactoryDecorator |
LMAlgoFactoryDecorator.addWeighting(Weighting weighting)
Decouple weightings from PrepareLandmarks as we need weightings for the graphstorage and the
graphstorage for the preparation.
|
void |
PrepareLandmarks.setLMSelectionWeighting(Weighting w) |
void |
LandmarkStorage.setLMSelectionWeighting(Weighting lmSelectionWeighting)
This weighting is used for the selection heuristic and is per default not the weighting specified in the contructor.
|
Constructor and Description |
---|
LandmarkStorage(GraphHopperStorage graph,
Directory dir,
Weighting weighting,
int landmarks) |
PrepareLandmarks(Directory dir,
GraphHopperStorage graph,
Weighting weighting,
int landmarks,
int activeLandmarks) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAdjustedWeighting
The AdjustedWeighting wraps another Weighting.
|
class |
AbstractWeighting |
class |
AvoidEdgesWeighting
Rates already used Paths worse.
|
class |
BlockAreaWeighting
This weighting is a wrapper for every weighting to support block_area
|
class |
CurvatureWeighting
This Class uses bendiness parameter to prefer curvy routes.
|
class |
FastestWeighting
Calculates the fastest route with the specified vehicle (VehicleEncoder).
|
class |
GenericWeighting
Calculates the best route according to a configurable weighting.
|
class |
PriorityWeighting
Special weighting for (motor)bike
|
class |
ShortestWeighting
Calculates the shortest route - independent of a vehicle as the calculation is based on the
distance only.
|
class |
ShortFastestWeighting
Calculates the fastest route with distance influence controlled by a new parameter.
|
class |
TurnWeighting
Provides methods to retrieve turn costs for a specific turn.
|
Modifier and Type | Field and Description |
---|---|
protected Weighting |
AbstractAdjustedWeighting.superWeighting |
Modifier and Type | Method and Description |
---|---|
static String |
AbstractWeighting.weightingToFileName(Weighting w)
Replaces all characters which are not numbers, characters or underscores with underscores
|
Constructor and Description |
---|
AbstractAdjustedWeighting(Weighting superWeighting) |
AvoidEdgesWeighting(Weighting superWeighting) |
BeelineWeightApproximator(NodeAccess nodeAccess,
Weighting weighting) |
BlockAreaWeighting(Weighting superWeighting,
GraphEdgeIdFinder.BlockArea blockArea) |
TurnWeighting(Weighting superWeighting,
TurnCostExtension turnCostExt) |
Modifier and Type | Method and Description |
---|---|
Weighting |
CHGraphImpl.getWeighting() |
Modifier and Type | Method and Description |
---|---|
List<Weighting> |
GraphHopperStorage.getCHWeightings() |
Modifier and Type | Method and Description |
---|---|
CHGraph |
GraphBuilder.chGraphCreate(Weighting singleCHWeighting)
Creates a CHGraph
|
<T extends Graph> |
GraphHopperStorage.getGraph(Class<T> clazz,
Weighting weighting)
This method returns the routing graph for the specified weighting, could be potentially
filled with shortcuts.
|
GraphBuilder |
GraphBuilder.setCHGraph(Weighting singleCHWeighting)
This method enables creating a CHGraph with the specified weighting.
|
Constructor and Description |
---|
GraphHopperStorage(List<? extends Weighting> chWeightings,
Directory dir,
EncodingManager encodingManager,
boolean withElevation,
GraphExtension extendedStorage) |
Modifier and Type | Method and Description |
---|---|
List<PathDetailsBuilder> |
PathDetailsBuilderFactory.createPathDetailsBuilders(List<String> requestedPathDetails,
FlagEncoder encoder,
Weighting weighting) |
Constructor and Description |
---|
TimeDetails(Weighting weighting) |
Copyright © 2012–2018. All rights reserved.