.is_persist_only_final_iteration()
Output configuration method
This top-level output configuration allows you to configure general options regarding your traffic assignment run
Name | Value | Type | Unit |
---|---|---|---|
PERSIST_ONLY_FINAL_ITERATION |
True |
bool |
None |
PERSIST_ZERO_FLOW |
False |
bool |
None |
Output configuration exposes the following methods.
Name | Description |
---|---|
.set_persist_only_final_iteration(+) |
Choose to only persist results for the final iteration yes or no |
.is_persist_only_final_iteration() |
Find out if only results for the final iteration are persisted yes or no |
.set_persist_zero_flow(+) |
Choose to persist zero flow results yes or no |
.is_persist_zero_flow() |
Find out if zero flow results are persisted yes or no |
Output configuration does not expose properties (yet)
from planit import *
# prep
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC )
# choose to only persist the results of the last iteration
planit_instance.output_configuration.project.set_persist_only_final_iteration(True)
# find out if we persist all iterations
all_persisted = not planit_instance.project.output_configuration.is_persist_only_final_iteration()
# do other stuff
N/A
Class OutputTypeConfigurationWrapper
in projectwrappers.py
Output configuration method
Output configuration method
Output configuration method
Output configuration method