Class 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 Detail

      • InflowOutflowData

        public InflowOutflowData​(double[] emptySegmentArray)
        Constructor
        Parameters:
        emptySegmentArray - empty array used to initialize data stores
    • 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