.is_persist_zero_flow()
Output configuration method
Description
This .is_persist_zero_flow() method allows you to verify if we are persisting zero flows or not in the results.
Signature
.is_persist_zero_flow()
Return type
Class bool
Example 1
from planit import *
# prep
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC )
# choose to persist all iterations
persist_zero_flow = planit_instance.project.output_configuration.is_persist_zero_flow()
if(persist_zero_flow)
# do other stuff
See also
N/A
Source code
Class OutputConfigurationWrapper
in projectwrappers.py