TrafficAssignment.<Enum>
Traffic assignment types
Description
Class exposing supported traffic assignment methods as enums.
Fields
<enum> Fields | Description | Instance documentation |
---|---|---|
TRADITIONAL_STATIC |
Traditional static assignment 1 | Traditional static assignment |
1 Beckmann, M., McGuire, C. B., & Winsten, B. W. (1956). Studies in the economics of transportation. New Haven CT, USA: Yale University Press.
Example 1
from planit import *
# set traditional static assignment as the assignment type
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC)
# access any method of the implementation via
planit_instance.project.assignment.<some method>
See also
planit.project.set(+)
planit.project.assignment
Source code
Class TrafficAssignment
in enums.py