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 WeightingGraphHopper.createWeighting(Profile profile, PMap hints) final WeightingGraphHopper.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 WeightingAbstractNonCHBidirAlgo.weightingprotected final WeightingAbstractRoutingAlgorithm.weightingprotected WeightingRouter.Solver.weightingMethods in com.graphhopper.routing that return WeightingModifier and TypeMethodDescriptionDefaultWeightingFactory.createWeighting(Profile profile, PMap requestHints, boolean disableTurnCosts) protected WeightingRouter.FlexSolver.createWeighting()protected abstract WeightingRouter.Solver.createWeighting()WeightingFactory.createWeighting(Profile profile, PMap hints, boolean disableTurnCosts) FlexiblePathCalculator.getWeighting()Methods in com.graphhopper.routing with parameters of type WeightingModifier and TypeMethodDescriptionstatic InstructionListInstructionsFromEdges.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 DefaultBidirPathExtractorAbstractNonCHBidirAlgo.createPathExtractor(Graph graph, Weighting weighting) static PathDefaultBidirPathExtractor.extractPath(Graph graph, Weighting weighting, SPTEntry fwdEntry, SPTEntry bwdEntry, double weight) static PathPathExtractor.extractPath(Graph graph, Weighting weighting, SPTEntry sptEntry) static WeightApproximatorRoutingAlgorithmFactorySimple.getApproximation(String prop, PMap opts, Weighting weighting, NodeAccess na) voidFlexiblePathCalculator.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) protectedDefaultBidirPathExtractor(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) protectedPathExtractor(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 voidCHPreparationGraph.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 LMApproximatorLMApproximator.forLandmarks(Graph g, Weighting weighting, LandmarkStorage lms, int activeLM) voidLandmarkStorage.setLMSelectionWeighting(Weighting lmSelectionWeighting) This weighting is used for the selection heuristic and is per default not the weighting specified in the constructor.voidPrepareLandmarks.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 TypeClassDescriptionclassThe AdjustedWeighting wraps another Weighting.classIncreases the weight for a certain set of edges by a given factor and thus makes them less likely to be part of a shortest pathclassWhenever aQueryGraphis used for shortest path calculations including turn costs we need to wrap theWeightingwe want to use with this class.classFields in com.graphhopper.routing.weighting declared as WeightingModifier and TypeFieldDescriptionprotected final WeightingAbstractAdjustedWeighting.superWeightingConstructors 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 classThe CustomWeighting allows adjusting the edge weights relative to those we'd obtain for a given base flag encoder.class -
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 CHConfigstatic RoutingCHEdgeIteratorImplstatic CHConfigstatic RoutingCHEdgeIteratorImplBaseGraph.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 longGHUtility.calcMillisWithTurnMillis(Weighting weighting, EdgeIteratorState edgeState, boolean reverse, int prevOrNextEdgeId) static doubleGHUtility.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)