.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.set(TrafficAssignment.TRADITIONAL_STATIC )

# choose to persist all iterations
persist_zero_flow = planit_instance.output_configuration.is_persist_zero_flow()
if(persist_zero_flow)
  # do other stuff 

See also

N/A

Source code

Class OutputConfigurationWrapper in wrappers.py

Last modified January 1, 0001