Class StaticLtmConfigurator


  • public class StaticLtmConfigurator
    extends LtmConfigurator<StaticLtm>
    Configurator for sLTM. Adopting the following defaults:
    • Fundamental diagram: NEWELL
    • Node Model: TAMPERE
    • Smoothing: MSA
    • Gap function: NORM BASED (defaults: 1 norm + averaged))
    • Physical Cost: STEADY_STATE
    • Virtual Cost: FIXED
    Further the following other settings have the defaults:
    • sltmType: ORIGIN_BUSH_BASED
    • disableLinkStorageConstraints: true
    • activateDetailedLogging: false
    • activateEnforceMaxEntropyFlowDistribution: false
    Author:
    markr
    • Field Detail

      • DEFAULT_DISABLE_LINK_STORAGE_CONSTRAINTS

        public static boolean DEFAULT_DISABLE_LINK_STORAGE_CONSTRAINTS
        default value used
      • DEFAULT_ACTIVATE_DETAILED_LOGGING

        public static boolean DEFAULT_ACTIVATE_DETAILED_LOGGING
        default value used
      • DEFAULT_SLTM_TYPE

        public static StaticLtmType DEFAULT_SLTM_TYPE
        default value used
    • Method Detail

      • disableLinkStorageConstraints

        public void disableLinkStorageConstraints​(boolean flag)
        Dis or enable enforcing any storage constraints on link(segments)
        Parameters:
        flag - to set
      • activateDetailedLogging

        public void activateDetailedLogging​(boolean flag)
        (De)Activate additional detailed logging specifically for the sLTM assignment procedure
        Parameters:
        flag - to set
      • setType

        public void setType​(StaticLtmType type)
        Determine the type of sLTM assignment to use
        Parameters:
        type - to set
      • activateMaxEntropyFlowDistribution

        public void activateMaxEntropyFlowDistribution​(boolean flag)
        (De)Activate the bush based max entropy flow solution. If switched off, any equal cost solution for a PAS is considered correct, when switched on an attempt is made to obtain unique equal flow distribution if possible. The latter is computationally more costly but results in unique solution.
        Parameters:
        flag - to set