Smoothing.<enum>
Smoothing types
Description
Class exposing the available smoothing types as enums.
Not every smoothing method might be supported by every traffic assignment method. The documentation of the chosen traffic assignment method will indicate what smoothing methods are (not) supported.
Fields
<enum> Fields | Description | Instance documentation |
---|---|---|
MSA |
Method of Successive Averages (MSA)1 | MSA Smoothing |
1Ortuzar, J., & Willumsen, L. G. (2002). Modelling Transport. John Wiley & Sons Inc.
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)
# set smoothing method to the Method of Succesive Averages
planit_instance.project.assignment.set(Smoothing.MSA)
# configure the instantiated property
planit_instance.project.assignment.smoothing.<call method>
See also
Assignment for the various assignment methods to set smoothing on
Smoothing for the various smoothing method implementations
Source code
Class Smoothing
in enums.py