.smoothing
Traditional static traffic assignment property
Description
The .smoothing property allows access to the chosen smoothing method assuming it has been set. It can be used for configuration specific to the chosen type.
Return type
Smoothing implementation
Example 1
from planit import *
# prep
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC)
#
# <other configuration>
#
# We choose SPEED as our virtual cost, set it, and access it for further configuration
planit_instance.set(Smoothing.MSA)
planit_instance.smoothing.<call method>
#
# <other configuration>
#
See also
Smoothing.<enum> for all available smoothing options
Source code
Class AssignmentWrapper
in Wrappers.py