Class NetworkFlowUpdateData
- java.lang.Object
-
- org.goplanit.assignment.ltm.sltm.consumer.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 Summary
Fields Modifier and Type Field Description protected double[]
flowAcceptanceFactors
Flow acceptance factors to useprotected double[]
outFlows
The outflows to update if flagged as suchprotected double[]
sendingFlows
The sending flows to update if flagged as such
-
Constructor Summary
Constructors Constructor Description NetworkFlowUpdateData(NetworkLoadingFactorData networkLoadingFactorData)
Constructor, special case where link sending flows are not to be updatedNetworkFlowUpdateData(SendingFlowData sendingFlowData, InflowOutflowData inflowOutflowdata, NetworkLoadingFactorData networkLoadingFactorData)
Constructor to update sending flows during flow updateNetworkFlowUpdateData(SendingFlowData sendingFlowData, NetworkLoadingFactorData networkLoadingFactorData)
Constructor to update sending flows during flow update
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOutflowsUpdate()
boolean
isSendingflowsUpdate()
-
-
-
Constructor Detail
-
NetworkFlowUpdateData
public NetworkFlowUpdateData(SendingFlowData sendingFlowData, InflowOutflowData inflowOutflowdata, NetworkLoadingFactorData networkLoadingFactorData)
Constructor to update sending flows during flow update- Parameters:
sendingFlowData
- to useinflowOutflowdata
- to usenetworkLoadingFactorData
- to use
-
NetworkFlowUpdateData
public NetworkFlowUpdateData(SendingFlowData sendingFlowData, NetworkLoadingFactorData networkLoadingFactorData)
Constructor to update sending flows during flow update- Parameters:
sendingFlowData
- to usenetworkLoadingFactorData
- to use
-
NetworkFlowUpdateData
public NetworkFlowUpdateData(NetworkLoadingFactorData networkLoadingFactorData)
Constructor, special case where link sending flows are not to be updated- Parameters:
networkLoadingFactorData
- to use
-
-