Class PasFlowShiftOriginBasedDestLabelledExecutor


  • public class PasFlowShiftOriginBasedDestLabelledExecutor
    extends PasFlowShiftExecutor
    Functionality to conduct a PAS flow shift by means of the simplest labelling technique possible, where all flow attributed to a destination is labelled uniquely throughout the bush. This is least efficient in terms of memory but conceptually the easiest the understand, implement, and test.
    Author:
    markr
    • Constructor Detail

      • PasFlowShiftOriginBasedDestLabelledExecutor

        protected PasFlowShiftOriginBasedDestLabelledExecutor​(Pas pas,
                                                              StaticLtmSettings settings)
        Constructor
        Parameters:
        pas - to use
        settings - to use
    • Method Detail

      • executeBushFlowShift

        protected void executeBushFlowShift​(RootedLabelledBush origin,
                                            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:
        origin - 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