The trip duration function can be a piecewise linear function with one or more linear trip segments.
The score can be computed based on characteristics of a trip duration function generated for the transit route.