.set_log_settings(+)

Traditional static traffic assignment method

Description

The .set_log_settings allows you to enable or disable the logging of all traffic assignment component (and sub-component) settings to the output.

Default: True

Signature

.set_log_settings( flag:Boolean)

with

Parameter Type Unit Compulsory Description
flag Boolean - yes Flag to enable or disable the settings logging (Default is True)

Return type

None

Example 1

from planit import *

# Choose to run Planit with a traditional static traffic assignment method
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC)

# disable logging of component settings 
planit_instance.project.assignment.set_log_settings(False)

See also

N/a

Source code

Class AssignmentWrapper in projectwrappers.py