Package org.planit.output.configuration
Class OutputConfiguration
- java.lang.Object
-
- org.planit.output.configuration.OutputConfiguration
-
public class OutputConfiguration extends Object
Class containing the general output configuration and the type specific configurations for some traffic assignment- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
persistOnlyFinalIteration
persisting final iteration only or notprotected boolean
persistZeroFlow
persisting zero flows or not
-
Constructor Summary
Constructors Constructor Description OutputConfiguration()
Base constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPersistOnlyFinalIteration()
Returns whether only the final iteration will be recorded (default is true)boolean
isPersistZeroFlow()
Verify if we are persisting zero flow or not (default is false)void
setPersistOnlyFinalIteration(boolean persistOnlyFinalIteration)
Set whether only the final iteration will be recorded (default is true)void
setPersistZeroFlow(boolean persistZeroFlow)
Set whether links and paths with zero flow should be record (default is false)
-
-
-
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
-
-