public interface WeightingFactory
Modifier and Type | Method and Description |
---|---|
Weighting |
createWeighting(Profile profile,
PMap hints,
boolean disableTurnCosts) |
Weighting createWeighting(Profile profile, PMap hints, boolean disableTurnCosts)
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 preparationCopyright © 2012–2022. All rights reserved.