Magidoc

PlanItineraryFilterInput
Input Object

Settings that control the behavior of itinerary filtering. These are advanced settings and should not be set by a user through user preferences.

Fields

#

groupSimilarityKeepOne

Pick one itinerary from each group after putting itineraries that are 85% similar together, if the given value is 0.85 , for example. Itineraries are grouped together based on relative the distance of transit travel that is identical between the itineraries (access, egress and transfers are ignored). The value must be at least 0.5 .

Default: 0.85

groupSimilarityKeepThree

Pick three itineraries from each group after putting itineraries that are 68% similar together, if the given value is 0.68 , for example. Itineraries are grouped together based on relative the distance of transit travel that is identical between the itineraries (access, egress and transfers are ignored). The value must be at least 0.5 .

Default: 0.68

groupedOtherThanSameLegsMaxCostMultiplier

Of the itineraries grouped to maximum of three itineraries, how much worse can the non-grouped legs be compared to the lowest cost. 2.0 means that they can be double the cost, and any itineraries having a higher cost will be filtered away. Use a value lower than 1.0 to turn the grouping off.

Default: 2

itineraryFilterDebugProfile

Itinerary filter debug profile used to control the behaviour of itinerary filters.

Default: "OFF"

Usages

#

References

#

  • Argument itineraryFilter of field planConnection from type QueryType