Class NetworkLoadingFactorData


  • public class NetworkLoadingFactorData
    extends LinkSegmentData
    Track the sLTM variables representing the various factors used:
    • flow acceptance factors (alphas)
    • flow capacity factors (betas)
    • storage capacity factors (gammas)
    Author:
    markr
    • Constructor Detail

      • NetworkLoadingFactorData

        public NetworkLoadingFactorData​(int numberOfLinkSegments)
        Constructor
        Parameters:
        numberOfLinkSegments - number of link segments to be expected
    • Method Detail

      • resetNextFlowAcceptanceFactors

        public void resetNextFlowAcceptanceFactors()
        Reset the flow acceptance factors for the coming iteration (alphas)
      • resetCurrentFlowAcceptanceFactors

        public void resetCurrentFlowAcceptanceFactors()
        Reset current flow acceptance factors (alphas)
      • resetNextFlowCapacityFactors

        public void resetNextFlowCapacityFactors()
        Reset the flow capacity factors for the coming iteration (betas)
      • resetCurrentFlowCapacityFactors

        public void resetCurrentFlowCapacityFactors()
        Reset current flow capacity factors (betas)
      • resetNextStorageCapacityFactors

        public void resetNextStorageCapacityFactors()
        Reset the storage capacity factors for the coming iteration (gammas)
      • resetCurrentStorageCapacityFactors

        public void resetCurrentStorageCapacityFactors()
        Reset current storage capacity factors (gammas)
      • getCurrentFlowAcceptanceFactors

        public double[] getCurrentFlowAcceptanceFactors()
        Access to the current flow acceptance factors
        Returns:
        flow acceptance factors
      • getCurrentFlowCapacityFactors

        public double[] getCurrentFlowCapacityFactors()
        Access to the current flow capacity factors
        Returns:
        flow capacity factors
      • getCurrentStorageCapacityFactors

        public double[] getCurrentStorageCapacityFactors()
        Access to the current storage capacity factors
        Returns:
        storage capacity factors
      • getNextStorageCapacityFactors

        public double[] getNextStorageCapacityFactors()
        Access to the next storage capacity factors
        Returns:
        storage capacity factors
      • getNextFlowAcceptanceFactors

        public double[] getNextFlowAcceptanceFactors()
        Access to the next flow acceptance factors
        Returns:
        flow acceptance factors
      • getNextFlowCapacityFactors

        public double[] getNextFlowCapacityFactors()
        Access to the next flow capacity factors
        Returns:
        flow capacity factors
      • swapCurrentAndNextStorageCapacityFactors

        public void swapCurrentAndNextStorageCapacityFactors()
        equate the current storage capacity factors to the next (reference update, no copy)
      • swapCurrentAndNextFlowCapacityFactors

        public void swapCurrentAndNextFlowCapacityFactors()
        equate the current flow capacity factors to the next (reference update, no copy)
      • swapCurrentAndNextFlowAcceptanceFactors

        public void swapCurrentAndNextFlowAcceptanceFactors()
        equate the current flow acceptance factors to the next (reference update, no copy)
      • reset

        public void reset()
        Reset to initial state