Class ModeData


  • public class ModeData
    extends Object
    Object to store the flows for each mode during the assignment iterations
    Author:
    gman6028
    • Field Detail

      • currentNetworkSegmentFlows

        public double[] currentNetworkSegmentFlows
        Flows derived for the previous iteration
      • nextNetworkSegmentFlows

        public double[] nextNetworkSegmentFlows
        Flows for the next iteration
    • Constructor Detail

      • ModeData

        public ModeData​(double[] emptySegmentArray)
        Constructor
        Parameters:
        emptySegmentArray - empty array used to initialize data stores
    • Method Detail

      • resetNextNetworkSegmentFlows

        public void resetNextNetworkSegmentFlows()
        Reset the segment flows for the coming iteration
      • resetCurrentNetworkSegmentFlows

        public void resetCurrentNetworkSegmentFlows()
        Reset current network segment flows