Class InflowOutflowData
- java.lang.Object
-
- org.goplanit.assignment.ltm.sltm.LinkSegmentData
-
- org.goplanit.assignment.ltm.sltm.loading.InflowOutflowData
-
public class InflowOutflowData extends LinkSegmentData
During sLTM loading we use temporary inflow and outflow rates resulting from node model updates. These flows are then used to determine the factors for the relevant algorithm step upon convergence of that step.- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description InflowOutflowData(double[] emptySegmentArray)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getInflows()
access to the tracked inflowsdouble[]
getOutflows()
access to the tracked inflowsvoid
limitOutflowsToCapacity(MacroscopicLinkSegments linkSegments)
void
reset()
Reset to initial statevoid
resetInflows()
Reset the inflowsvoid
resetOutflows()
Reset the outflows-
Methods inherited from class org.goplanit.assignment.ltm.sltm.LinkSegmentData
copyTo, createinitialStateLinkSegmentDoubleArray, limitFlowsToCapacity, swap
-
-
-
-
Method Detail
-
resetInflows
public void resetInflows()
Reset the inflows
-
resetOutflows
public void resetOutflows()
Reset the outflows
-
getInflows
public double[] getInflows()
access to the tracked inflows- Returns:
- inflows
-
getOutflows
public double[] getOutflows()
access to the tracked inflows- Returns:
- inflows
-
reset
public void reset()
Reset to initial state
-
limitOutflowsToCapacity
public void limitOutflowsToCapacity(MacroscopicLinkSegments linkSegments)
-
-