Interface WeightingFactory

All Known Implementing Classes:
DefaultWeightingFactory

public interface WeightingFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    createWeighting(Profile profile, PMap hints, boolean disableTurnCosts)
     
  • Method Details

    • createWeighting

      Weighting createWeighting(Profile profile, PMap hints, boolean disableTurnCosts)
      Parameters:
      profile - The profile for which the weighting shall be created
      hints - Additional hints that can be used to further specify the weighting that shall be created
      disableTurnCosts - 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