Gap Function

Gap Function implementations

Reference documentation for all Gap function implementations available.

A gap function allows you to determine the difference between your current traffic assignment results in a particular iteration and the adopted equilibrium criterion. This difference is referred to as the gap.

In this context, each gap function has a stop criterion associated with it, that in turn can be configured to determine the conditions under which you accept the results to be close enough to equilibrium, i.e., the gap being sufficiently small, for the simulation to terminate.

There exist many gap functions and stop criteria and not all traffic assignment methods and equilibrium conditions are compatible with all gap functions and/or stop criteria implementations. Make sure that the chosen gap function is supported by your traffic assignment method.

See also

Traffic Assignment on what traffic assignment methods are available
Stop Criterion on stop criterion implementations

Source code

Class GapFunctionWrapper in projectwrappers.py


Link Based Relative Gap Function

Link Based Relative Gap Function implementation

Norm Based Gap Function

Norm Based Gap Function implementation

Last modified January 1, 0001