Uses of Interface
com.graphhopper.routing.weighting.Weighting
Packages that use Weighting
Package
Description
-
Uses of Weighting in com.graphhopper
Methods in com.graphhopper that return WeightingModifier and TypeMethodDescriptionfinal Weighting
GraphHopper.createWeighting
(Profile profile, PMap hints) final Weighting
GraphHopper.createWeighting
(Profile profile, PMap hints, boolean disableTurnCosts) -
Uses of Weighting in com.graphhopper.isochrone.algorithm
Constructors in com.graphhopper.isochrone.algorithm with parameters of type WeightingModifierConstructorDescriptionShortestPathTree
(Graph g, Weighting weighting, boolean reverseFlow, TraversalMode traversalMode) -
Uses of Weighting in com.graphhopper.routing
Fields in com.graphhopper.routing declared as WeightingModifier and TypeFieldDescriptionprotected final Weighting
AbstractNonCHBidirAlgo.weighting
protected final Weighting
AbstractRoutingAlgorithm.weighting
protected Weighting
Router.Solver.weighting
Methods in com.graphhopper.routing that return WeightingModifier and TypeMethodDescriptionDefaultWeightingFactory.createWeighting
(Profile profile, PMap requestHints, boolean disableTurnCosts) protected Weighting
Router.FlexSolver.createWeighting()
protected abstract Weighting
Router.Solver.createWeighting()
WeightingFactory.createWeighting
(Profile profile, PMap hints, boolean disableTurnCosts) FlexiblePathCalculator.getWeighting()
Methods in com.graphhopper.routing with parameters of type WeightingModifier and TypeMethodDescriptionstatic InstructionList
InstructionsFromEdges.calcInstructions
(Path path, Graph graph, Weighting weighting, EncodedValueLookup evLookup, Translation tr) RoutingAlgorithmFactory.createAlgo
(Graph g, Weighting w, AlgorithmOptions opts) This method creates an algorithm out of this factory based on the specified opts and graph.RoutingAlgorithmFactorySimple.createAlgo
(Graph g, Weighting w, AlgorithmOptions opts) protected DefaultBidirPathExtractor
AbstractNonCHBidirAlgo.createPathExtractor
(Graph graph, Weighting weighting) static Path
DefaultBidirPathExtractor.extractPath
(Graph graph, Weighting weighting, SPTEntry fwdEntry, SPTEntry bwdEntry, double weight) static Path
PathExtractor.extractPath
(Graph graph, Weighting weighting, SPTEntry sptEntry) static WeightApproximator
RoutingAlgorithmFactorySimple.getApproximation
(String prop, PMap opts, Weighting weighting, NodeAccess na) void
FlexiblePathCalculator.setWeighting
(Weighting weighting) Constructors in com.graphhopper.routing with parameters of type WeightingModifierConstructorDescriptionAbstractNonCHBidirAlgo
(Graph graph, Weighting weighting, TraversalMode tMode) AbstractRoutingAlgorithm
(Graph graph, Weighting weighting, TraversalMode traversalMode) AlternativeRoute
(Graph graph, Weighting weighting, TraversalMode traversalMode, PMap hints) AStar
(Graph graph, Weighting weighting, TraversalMode tMode) AStarBidirection
(Graph graph, Weighting weighting, TraversalMode tMode) protected
DefaultBidirPathExtractor
(Graph graph, Weighting weighting) Dijkstra
(Graph graph, Weighting weighting, TraversalMode tMode) DijkstraBidirectionRef
(Graph graph, Weighting weighting, TraversalMode tMode) DijkstraOneToMany
(Graph graph, Weighting weighting, TraversalMode tMode) FlexiblePathCalculator
(QueryGraph queryGraph, RoutingAlgorithmFactory algoFactory, Weighting weighting, AlgorithmOptions algoOpts) InstructionsFromEdges
(Graph graph, Weighting weighting, EncodedValueLookup evLookup, InstructionList ways) protected
PathExtractor
(Graph graph, Weighting weighting) -
Uses of Weighting in com.graphhopper.routing.ch
Methods in com.graphhopper.routing.ch with parameters of type WeightingModifier and TypeMethodDescriptionstatic void
CHPreparationGraph.buildFromGraph
(CHPreparationGraph prepareGraph, Graph graph, Weighting weighting) CHPreparationGraph.buildTurnCostFunctionFromTurnCostStorage
(Graph graph, Weighting weighting) -
Uses of Weighting in com.graphhopper.routing.lm
Methods in com.graphhopper.routing.lm that return WeightingModifier and TypeMethodDescriptionLandmarkStorage.getLmSelectionWeighting()
LandmarkStorage.getWeighting()
This method returns the weighting for which the landmarks are originally createdLMConfig.getWeighting()
Methods in com.graphhopper.routing.lm with parameters of type WeightingModifier and TypeMethodDescriptionLMRoutingAlgorithmFactory.createAlgo
(Graph g, Weighting w, AlgorithmOptions opts) static LMApproximator
LMApproximator.forLandmarks
(Graph g, Weighting weighting, LandmarkStorage lms, int activeLM) void
LandmarkStorage.setLMSelectionWeighting
(Weighting lmSelectionWeighting) This weighting is used for the selection heuristic and is per default not the weighting specified in the constructor.void
PrepareLandmarks.setLMSelectionWeighting
(Weighting w) Constructors in com.graphhopper.routing.lm with parameters of type WeightingModifierConstructorDescriptionLMApproximator
(Graph graph, Weighting lmWeighting, Weighting routingWeighting, int maxBaseNodes, LandmarkStorage lms, int activeCount, double factor, boolean reverse) PerfectApproximator
(Graph graph, Weighting weighting, TraversalMode traversalMode, boolean reverse) -
Uses of Weighting in com.graphhopper.routing.querygraph
Methods in com.graphhopper.routing.querygraph that return WeightingModifier and TypeMethodDescriptionQueryRoutingCHGraph.getWeighting()
QueryGraph.wrapWeighting
(Weighting weighting) Methods in com.graphhopper.routing.querygraph with parameters of type Weighting -
Uses of Weighting in com.graphhopper.routing.subnetwork
Constructors in com.graphhopper.routing.subnetwork with parameters of type Weighting -
Uses of Weighting in com.graphhopper.routing.util
Constructors in com.graphhopper.routing.util with parameters of type WeightingModifierConstructorDescriptionDefaultSnapFilter
(Weighting weighting, BooleanEncodedValue inSubnetworkEnc) FiniteWeightFilter
(Weighting weighting) -
Uses of Weighting in com.graphhopper.routing.weighting
Classes in com.graphhopper.routing.weighting that implement WeightingModifier and TypeClassDescriptionclass
The AdjustedWeighting wraps another Weighting.class
class
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 pathclass
Whenever aQueryGraph
is used for shortest path calculations including turn costs we need to wrap theWeighting
we want to use with this class.class
Fields in com.graphhopper.routing.weighting declared as WeightingModifier and TypeFieldDescriptionprotected final Weighting
AbstractAdjustedWeighting.superWeighting
Constructors in com.graphhopper.routing.weighting with parameters of type WeightingModifierConstructorDescriptionAbstractAdjustedWeighting
(Weighting superWeighting) AvoidEdgesWeighting
(Weighting superWeighting) BeelineWeightApproximator
(NodeAccess nodeAccess, Weighting weighting) QueryGraphWeighting
(BaseGraph graph, Weighting weighting, com.carrotsearch.hppc.IntArrayList closestEdges) -
Uses of Weighting in com.graphhopper.routing.weighting.custom
Classes in com.graphhopper.routing.weighting.custom that implement WeightingModifier and TypeClassDescriptionfinal class
The CustomWeighting allows adjusting the edge weights relative to those we'd obtain for a given base flag encoder. -
Uses of Weighting in com.graphhopper.storage
Methods in com.graphhopper.storage that return WeightingModifier and TypeMethodDescriptionCHConfig.getWeighting()
RoutingCHGraph.getWeighting()
RoutingCHGraphImpl.getWeighting()
BaseGraph.wrapWeighting
(Weighting weighting) Graph.wrapWeighting
(Weighting weighting) Wraps the given weighting into a weighting that can be used by this graphMethods in com.graphhopper.storage with parameters of type WeightingModifier and TypeMethodDescriptionstatic CHConfig
static RoutingCHEdgeIteratorImpl
static CHConfig
static RoutingCHEdgeIteratorImpl
BaseGraph.wrapWeighting
(Weighting weighting) Graph.wrapWeighting
(Weighting weighting) Wraps the given weighting into a weighting that can be used by this graphConstructors in com.graphhopper.storage with parameters of type WeightingModifierConstructorDescriptionRoutingCHEdgeIteratorImpl
(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) -
Uses of Weighting in com.graphhopper.util
Methods in com.graphhopper.util with parameters of type WeightingModifier and TypeMethodDescriptionstatic 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 likecalcEdgeWeight(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.Constructors in com.graphhopper.util with parameters of type Weighting -
Uses of Weighting in com.graphhopper.util.details
Methods in com.graphhopper.util.details with parameters of type WeightingModifier and TypeMethodDescriptionstatic 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.PathDetailsBuilderFactory.createPathDetailsBuilders
(List<String> requestedPathDetails, Path path, EncodedValueLookup evl, Weighting weighting, Graph graph) Constructors in com.graphhopper.util.details with parameters of type WeightingModifierConstructorDescriptionAverageSpeedDetails
(Weighting weighting) AverageSpeedDetails
(Weighting weighting, double precision) IntersectionDetails
(Graph graph, Weighting weighting) TimeDetails
(Weighting weighting) WeightDetails
(Weighting weighting)