calculateJamFactor method

double calculateJamFactor()

Calculates the traffic jam factor that shows the traffic condition in a numeric way.

Returns double. Returns calculated jam factor in the range [0.0, 10.0].

A large jamFactor value means more traffic jam in general. Specifically, 0.0 means free traffic and 10.0 means stationary traffic.

Implementation

double calculateJamFactor() => $prototype.calculateJamFactor(this);