Class PasFlowShiftDestinationBasedExecutor


  • public class PasFlowShiftDestinationBasedExecutor
    extends PasFlowShiftExecutor
    Functionality to conduct a PAS flow shift based on underlying destination based bush approach. A destination-based bush approach no longer requires labelling and should therefore outperform origin-based alternatives.
    Author:
    markr
    • Constructor Detail

      • PasFlowShiftDestinationBasedExecutor

        protected PasFlowShiftDestinationBasedExecutor​(Pas pas,
                                                       StaticLtmSettings settings,
                                                       BushFlowLabel dummyLabel)
        Constructor
        Parameters:
        pas - to use
        settings - to use
        dummyLabel - used as only label for each destination bush
    • Method Detail

      • executeBushFlowShift

        protected void executeBushFlowShift​(RootedLabelledBush bush,
                                            EdgeSegment entrySegment,
                                            double bushFlowShift,
                                            double[] flowAcceptanceFactors)
        Perform the flow shift for a given bush. Delegate to concrete class implementation
        Specified by:
        executeBushFlowShift in class PasFlowShiftExecutor
        Parameters:
        bush - to perform shift for
        entrySegment - entry segment at hand to apply flow shift for
        bushFlowShift - the absolute shift to apply for the given PAS-bush-entrysegment combination
        flowAcceptanceFactors - to use