Class OutputConfiguration


  • public class OutputConfiguration
    extends Object
    Class containing the general output configuration and the type specific configurations for some traffic assignment
    Author:
    markr
    • Field Detail

      • persistOnlyFinalIteration

        protected boolean persistOnlyFinalIteration
        persisting final iteration only or not
      • persistZeroFlow

        protected boolean persistZeroFlow
        persisting zero flows or not
    • Constructor Detail

      • OutputConfiguration

        public OutputConfiguration()
        Base constructor
    • Method Detail

      • setPersistOnlyFinalIteration

        public void setPersistOnlyFinalIteration​(boolean persistOnlyFinalIteration)
        Set whether only the final iteration will be recorded (default is true)
        Parameters:
        persistOnlyFinalIteration - true if only the final iteration will be recorded
      • isPersistOnlyFinalIteration

        public boolean isPersistOnlyFinalIteration()
        Returns whether only the final iteration will be recorded (default is true)
        Returns:
        true if only the final iteration will be recorded, false otherwise
      • setPersistZeroFlow

        public void setPersistZeroFlow​(boolean persistZeroFlow)
        Set whether links and paths with zero flow should be record (default is false)
        Parameters:
        persistZeroFlow - if true links and paths with zero flow are recorded
      • isPersistZeroFlow

        public boolean isPersistZeroFlow()
        Verify if we are persisting zero flow or not (default is false)
        Returns:
        true when persisting zero flows, false otherwise