| Modifier and Type | Method and Description |
|---|---|
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints) |
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
| Constructor and Description |
|---|
ShortestPathTree(Graph g,
Weighting weighting,
boolean reverseFlow,
TraversalMode traversalMode) |
| Modifier and Type | Field and Description |
|---|---|
protected Weighting |
AbstractRoutingAlgorithm.weighting |
protected Weighting |
Router.Solver.weighting |
protected Weighting |
AbstractNonCHBidirAlgo.weighting |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Weighting |
Router.Solver.createWeighting() |
Weighting |
DefaultWeightingFactory.createWeighting(Profile profile,
PMap requestHints,
boolean disableTurnCosts) |
Weighting |
WeightingFactory.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
Weighting |
FlexiblePathCalculator.getWeighting() |
| Modifier and Type | Method and Description |
|---|---|
static InstructionList |
InstructionsFromEdges.calcInstructions(Path path,
Graph graph,
Weighting weighting,
EncodedValueLookup evLookup,
Translation tr) |
RoutingAlgorithm |
RoutingAlgorithmFactorySimple.createAlgo(Graph g,
Weighting w,
AlgorithmOptions opts) |
RoutingAlgorithm |
RoutingAlgorithmFactory.createAlgo(Graph g,
Weighting w,
AlgorithmOptions opts)
This method creates an algorithm out of this factory based on the specified opts and graph.
|
protected DefaultBidirPathExtractor |
AbstractNonCHBidirAlgo.createPathExtractor(Graph graph,
Weighting weighting) |
static Path |
PathExtractor.extractPath(Graph graph,
Weighting weighting,
SPTEntry sptEntry) |
static Path |
DefaultBidirPathExtractor.extractPath(Graph graph,
Weighting weighting,
SPTEntry fwdEntry,
SPTEntry bwdEntry,
double weight) |
static WeightApproximator |
RoutingAlgorithmFactorySimple.getApproximation(String prop,
PMap opts,
Weighting weighting,
NodeAccess na) |
void |
FlexiblePathCalculator.setWeighting(Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CHPreparationGraph.buildFromGraph(CHPreparationGraph prepareGraph,
Graph graph,
Weighting weighting) |
static CHPreparationGraph.TurnCostFunction |
CHPreparationGraph.buildTurnCostFunctionFromTurnCostStorage(Graph graph,
Weighting weighting)
Builds a turn cost function for a given graph('s turn cost storage) and given uTurnCosts.
|
| Modifier and Type | Method and Description |
|---|---|
Weighting |
LandmarkStorage.getLmSelectionWeighting() |
Weighting |
LandmarkStorage.getWeighting()
This method returns the weighting for which the landmarks are originally created
|
Weighting |
LMConfig.getWeighting() |
| Modifier and Type | Method and Description |
|---|---|
RoutingAlgorithm |
LMRoutingAlgorithmFactory.createAlgo(Graph g,
Weighting w,
AlgorithmOptions opts) |
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 constructor.
|
| Constructor and Description |
|---|
LMApproximator(Graph graph,
Weighting weighting,
int maxBaseNodes,
LandmarkStorage lms,
int activeCount,
double factor,
boolean reverse) |
LMConfig(String profileName,
Weighting weighting) |
PerfectApproximator(Graph graph,
Weighting weighting,
TraversalMode traversalMode,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
Weighting |
QueryRoutingCHGraph.getWeighting() |
Weighting |
QueryGraph.wrapWeighting(Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
Weighting |
QueryGraph.wrapWeighting(Weighting weighting) |
| Constructor and Description |
|---|
PrepareJob(BooleanEncodedValue subnetworkEnc,
Weighting weighting) |
| Constructor and Description |
|---|
DefaultSnapFilter(Weighting weighting,
BooleanEncodedValue inSubnetworkEnc) |
FiniteWeightFilter(Weighting weighting) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAdjustedWeighting
The AdjustedWeighting wraps another Weighting.
|
class |
AbstractWeighting |
class |
AvoidEdgesWeighting
Increases the weight for a certain set of edges by a given factor and thus makes them less likely to be part of
a shortest path
|
class |
BlockAreaWeighting
This weighting is a wrapper for every weighting to support block_area
|
class |
FastestWeighting
Calculates the fastest route with the specified vehicle (VehicleEncoder).
|
class |
PriorityWeighting
Special weighting for (motor)bike
|
class |
QueryGraphWeighting
Whenever a
QueryGraph is used for shortest path calculations including turn costs we need to wrap the
Weighting we want to use with this class. |
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Weighting |
AbstractAdjustedWeighting.superWeighting |
| Constructor and Description |
|---|
AbstractAdjustedWeighting(Weighting superWeighting) |
AvoidEdgesWeighting(Weighting superWeighting) |
BeelineWeightApproximator(NodeAccess nodeAccess,
Weighting weighting) |
BlockAreaWeighting(Weighting superWeighting,
GraphEdgeIdFinder.BlockArea blockArea) |
QueryGraphWeighting(Weighting weighting,
int firstVirtualNodeId,
int firstVirtualEdgeId,
com.carrotsearch.hppc.IntArrayList closestEdges) |
| Modifier and Type | Class and Description |
|---|---|
class |
CustomWeighting
The CustomWeighting allows adjusting the edge weights relative to those we'd obtain for a given base flag encoder.
|
| Modifier and Type | Method and Description |
|---|---|
Weighting |
RoutingCHGraphImpl.getWeighting() |
Weighting |
CHConfig.getWeighting() |
Weighting |
RoutingCHGraph.getWeighting() |
Weighting |
Graph.wrapWeighting(Weighting weighting)
Wraps the given weighting into a weighting that can be used by this graph
|
Weighting |
BaseGraph.wrapWeighting(Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
static CHConfig |
CHConfig.edgeBased(String chGraphName,
Weighting weighting) |
static RoutingCHEdgeIteratorImpl |
RoutingCHEdgeIteratorImpl.inEdges(CHStorage chStore,
BaseGraph baseGraph,
Weighting weighting) |
static CHConfig |
CHConfig.nodeBased(String chGraphName,
Weighting weighting) |
static RoutingCHEdgeIteratorImpl |
RoutingCHEdgeIteratorImpl.outEdges(CHStorage chStore,
BaseGraph baseGraph,
Weighting weighting) |
Weighting |
Graph.wrapWeighting(Weighting weighting)
Wraps the given weighting into a weighting that can be used by this graph
|
Weighting |
BaseGraph.wrapWeighting(Weighting weighting) |
| Constructor and Description |
|---|
CHConfig(String chGraphName,
Weighting weighting,
boolean edgeBased) |
RoutingCHEdgeIteratorImpl(CHStorage chStore,
BaseGraph baseGraph,
Weighting weighting,
boolean outgoing,
boolean incoming) |
RoutingCHEdgeIteratorStateImpl(CHStorage store,
BaseGraph baseGraph,
com.graphhopper.storage.BaseGraph.EdgeIteratorStateImpl baseEdgeState,
Weighting weighting) |
RoutingCHGraphImpl(BaseGraph baseGraph,
CHStorage chStorage,
Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
static long |
GHUtility.calcMillisWithTurnMillis(Weighting weighting,
EdgeIteratorState edgeState,
boolean reverse,
int prevOrNextEdgeId) |
static double |
GHUtility.calcWeightWithTurnWeight(Weighting weighting,
EdgeIteratorState edgeState,
boolean reverse,
int prevOrNextEdgeId)
Calculates the weight of a given edge like
calcEdgeWeight(com.graphhopper.util.EdgeIteratorState, boolean) and adds the transition
cost (the turn weight, calcTurnWeight(int, int, int)) associated with transitioning from/to the edge with ID prevOrNextEdgeId. |
static double |
GHUtility.calcWeightWithTurnWeightWithAccess(Weighting weighting,
EdgeIteratorState edgeState,
boolean reverse,
int prevOrNextEdgeId) |
| Constructor and Description |
|---|
PathMerger(Graph graph,
Weighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<PathDetail>> |
PathDetailsFromEdges.calcDetails(Path path,
EncodedValueLookup evLookup,
Weighting weighting,
List<String> requestedPathDetails,
PathDetailsBuilderFactory pathBuilderFactory,
int previousIndex,
Graph graph)
Calculates the PathDetails for a Path.
|
List<PathDetailsBuilder> |
PathDetailsBuilderFactory.createPathDetailsBuilders(List<String> requestedPathDetails,
EncodedValueLookup evl,
Weighting weighting,
Graph graph) |
| Constructor and Description |
|---|
AverageSpeedDetails(Weighting weighting) |
AverageSpeedDetails(Weighting weighting,
double precision) |
IntersectionDetails(Graph graph,
Weighting weighting) |
TimeDetails(Weighting weighting) |
WeightDetails(Weighting weighting) |
Copyright © 2012–2022. All rights reserved.