Class RootedBushFlowUpdateConsumerImpl<T extends NetworkFlowUpdateData>

    • Field Detail

      • dataConfig

        protected T extends NetworkFlowUpdateData dataConfig
        data and configuration used for a flow update by derived classes
    • Constructor Detail

      • RootedBushFlowUpdateConsumerImpl

        public RootedBushFlowUpdateConsumerImpl​(T dataConfig)
        Constructor
        Parameters:
        dataConfig - to use
    • Method Detail

      • applyAcceptedTurnFlowUpdate

        protected void applyAcceptedTurnFlowUpdate​(EdgeSegment prevSegment,
                                                   BushFlowLabel prevLabel,
                                                   EdgeSegment currentSegment,
                                                   BushFlowLabel currLabel,
                                                   double turnAcceptedFlowPcuH)
        Register the bush accepted turn flow to the turn if required. Default implementation does nothing but provide a hook for derived classes that do require to do something with turn accepted flows
        Parameters:
        prevSegment - of turn
        prevLabel - at hand
        currentSegment - of turn
        currLabel - at hand
        turnAcceptedFlowPcuH - sending flow rate of turn