Class NetworkFlowUpdateData

  • Direct Known Subclasses:
    NetworkTurnFlowUpdateData

    public class NetworkFlowUpdateData
    extends Object
    Base class to aid updating of the network link flows during loading. Derived classes can apply a path or bush based approach to this update for example. This class stores the current network state information required to perform the update regardless of the chosen assignment strategy (bush, path).

    Sending flows are allowed to be null as in certain derived classes they might not be required

    Author:
    markr
    • Field Detail

      • flowAcceptanceFactors

        protected double[] flowAcceptanceFactors
        Flow acceptance factors to use
      • sendingFlows

        protected final double[] sendingFlows
        The sending flows to update in case the applied solution scheme is the POINT_QUEUE_BASIC scheme
      • updateLinkSendingFlows

        protected boolean updateLinkSendingFlows
        flag indicating if link sending flows are to be updated
    • Constructor Detail

      • NetworkFlowUpdateData

        public NetworkFlowUpdateData​(SendingFlowData sendingFlowData,
                                     NetworkLoadingFactorData networkLoadingFactorData)
        constructor
        Parameters:
        sendingFlowData - to use
        networkLoadingFactorData - to use
      • NetworkFlowUpdateData

        public NetworkFlowUpdateData​(NetworkLoadingFactorData networkLoadingFactorData)
        constructor, special case where link sending flows are not to be updated
        Parameters:
        networkLoadingFactorData - to use