Modifier and Type | Method and Description |
---|---|
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints) |
Weighting |
GraphHopper.createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
Modifier and Type | Method and Description |
---|---|
protected RoutingTemplate |
GraphHopper.createRoutingTemplate(GHRequest request,
GHResponse ghRsp,
String algoStr,
Weighting weighting) |
Modifier and Type | Field and Description |
---|---|
protected Weighting |
AbstractRoutingAlgorithm.weighting |
protected Weighting |
AbstractNonCHBidirAlgo.weighting |
Modifier and Type | Method and Description |
---|---|
Weighting |
AlgorithmOptions.getWeighting() |
Modifier and Type | Method and Description |
---|---|
static InstructionList |
InstructionsFromEdges.calcInstructions(Path path,
Graph graph,
Weighting weighting,
EncodedValueLookup evLookup,
Translation tr) |
protected BidirPathExtractor |
AbstractNonCHBidirAlgo.createPathExtractor(Graph graph,
Weighting weighting) |
static Path |
PathExtractor.extractPath(Graph graph,
Weighting weighting,
SPTEntry sptEntry) |
static Path |
BidirPathExtractor.extractPath(Graph graph,
Weighting weighting,
SPTEntry fwdEntry,
SPTEntry bwdEntry,
double weight) |
AlgorithmOptions.Builder |
AlgorithmOptions.Builder.weighting(Weighting weighting) |
Modifier and Type | Method and Description |
---|---|
Weighting |
PrepareContractionHierarchies.getWeighting() |
Weighting |
CHRoutingAlgorithmFactory.getWeighting() |
Modifier and Type | Method and Description |
---|---|
static PrepareCHEdgeExplorer |
PrepareCHEdgeIteratorImpl.allEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
static PrepareCHGraph |
PrepareCHGraph.edgeBased(CHGraph chGraph,
Weighting weighting) |
static PrepareCHEdgeExplorer |
PrepareCHEdgeIteratorImpl.inEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
static PrepareCHGraph |
PrepareCHGraph.nodeBased(CHGraph chGraph,
Weighting weighting) |
static PrepareCHEdgeExplorer |
PrepareCHEdgeIteratorImpl.outEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
Constructor and Description |
---|
PrepareCHEdgeIteratorImpl(EdgeExplorer edgeExplorer,
Weighting weighting,
ShortcutFilter shortcutFilter) |
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 |
---|---|
void |
LandmarkStorage.setLMSelectionWeighting(Weighting lmSelectionWeighting)
This weighting is used for the selection heuristic and is per default not the weighting specified in the contructor.
|
void |
PrepareLandmarks.setLMSelectionWeighting(Weighting w) |
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 |
QueryGraph.wrapWeighting(Weighting weighting) |
Modifier and Type | Method and Description |
---|---|
Weighting |
QueryGraph.wrapWeighting(Weighting weighting) |
Constructor and Description |
---|
AbstractRoutingTemplate(LocationIndex locationIndex,
EncodedValueLookup lookup,
Weighting weighting) |
AlternativeRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex,
EncodedValueLookup lookup,
Weighting weighting) |
RoundTripRoutingTemplate(GHRequest request,
GHResponse ghRsp,
LocationIndex locationIndex,
EncodedValueLookup lookup,
Weighting weighting,
int maxRetries) |
ViaRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex,
EncodedValueLookup lookup,
Weighting weighting) |
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 |
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 |
RoutingCHGraph.getWeighting() |
Weighting |
RoutingCHGraphImpl.getWeighting() |
Weighting |
CHConfig.getWeighting() |
Weighting |
GraphHopperStorage.wrapWeighting(Weighting weighting) |
Weighting |
CHGraphImpl.wrapWeighting(Weighting weighting) |
Weighting |
Graph.wrapWeighting(Weighting weighting)
Wraps the given weighting into a weighting that can be used by this graph
|
Modifier and Type | Method and Description |
---|---|
static RoutingCHEdgeIteratorImpl |
RoutingCHEdgeIteratorImpl.allEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
static CHConfig |
CHConfig.edgeBased(String chGraphName,
Weighting weighting) |
static RoutingCHEdgeIteratorImpl |
RoutingCHEdgeIteratorImpl.inEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
static CHConfig |
CHConfig.nodeBased(String chGraphName,
Weighting weighting) |
static RoutingCHEdgeIteratorImpl |
RoutingCHEdgeIteratorImpl.outEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
Weighting |
GraphHopperStorage.wrapWeighting(Weighting weighting) |
Weighting |
CHGraphImpl.wrapWeighting(Weighting weighting) |
Weighting |
Graph.wrapWeighting(Weighting weighting)
Wraps the given weighting into a weighting that can be used by this graph
|
Constructor and Description |
---|
CHConfig(String chGraphName,
Weighting weighting,
boolean edgeBased) |
RoutingCHEdgeIteratorImpl(EdgeExplorer edgeExplorer,
Weighting weighting,
ShortcutFilter shortcutFilter) |
RoutingCHEdgeIteratorStateImpl(EdgeIteratorState edgeState,
Weighting weighting) |
RoutingCHGraphImpl(Graph graph,
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. |
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)
Calculates the PathDetails for a Path.
|
List<PathDetailsBuilder> |
PathDetailsBuilderFactory.createPathDetailsBuilders(List<String> requestedPathDetails,
EncodedValueLookup evl,
Weighting weighting) |
Constructor and Description |
---|
AverageSpeedDetails(Weighting weighting) |
AverageSpeedDetails(Weighting weighting,
double precision) |
TimeDetails(Weighting weighting) |
WeightDetails(Weighting weighting) |
Copyright © 2012–2020. All rights reserved.