InputUnpreferred Input Object
Fields
#
unpreferredCost
An cost function used to calculate penalty for an unpreferred route/agency. Function should return
number of seconds that we are willing to wait for unpreferred route/agency.
String must be of the format:
A + B x
, where A is fixed penalty and B is a multiplier of transit leg travel time x.
For example: 600 + 2.0 x
useUnpreferredRoutesPenalty
Use unpreferredCost instead
Penalty added for using route that is unpreferred, i.e. number of seconds that we are willing to wait for route that is unpreferred.
Deprecated: Use unpreferredCost
instead.
Usages
#
References
#
- Argument unpreferred of field plan from type QueryType
Previous
InputTriangle
Next
Int