Package com.graphhopper.routing
Interface WeightingFactory
- All Known Implementing Classes:
DefaultWeightingFactory
public interface WeightingFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateWeighting
(Profile profile, PMap hints, boolean disableTurnCosts)
-
Method Details
-
createWeighting
- Parameters:
profile
- The profile for which the weighting shall be createdhints
- Additional hints that can be used to further specify the weighting that shall be createddisableTurnCosts
- Can be used to explicitly create the weighting without turn costs. This is sometimes needed when the weighting shall be used by some algorithm that can or should only be run with node-based graph traversal, like LM preparation
-