Magidoc

InputUnpreferred
Input Object

Fields

#

agencies

A comma-separated list of ids of the agencies unpreferred by the user.

routes

A comma-separated list of ids of the routes unpreferred by the user.

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

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