set_suboptimal_minutes | R Documentation |
Sets the number of suboptimal minutes considered in detailed_itineraries()
routing. From R5 documentation: "This parameter compensates for the fact that
GTFS does not contain information about schedule deviation (lateness). The
min-max travel time range for some trains is zero, since the trips are
reported to always have the same timings in the schedule. Such an option
does not overlap (temporally) its alternatives, and is too easily eliminated
by an alternative that is only marginally better. We want to effectively
push the max travel time of alternatives out a bit to account for the fact
that they don't always run on schedule".
set_suboptimal_minutes(
r5r_core,
suboptimal_minutes,
fare_structure,
shortest_path
)
r5r_core |
An object to connect with the R5 routing engine, created with
|
suboptimal_minutes |
A number. |
fare_structure |
A fare structure object, following the convention
set in |
shortest_path |
A logical. |
Invisibly returns TRUE
.
Other setting functions:
set_breakdown()
,
set_cutoffs()
,
set_expanded_travel_times()
,
set_fare_cutoffs()
,
set_fare_structure()
,
set_max_fare()
,
set_max_lts()
,
set_max_rides()
,
set_monte_carlo_draws()
,
set_n_threads()
,
set_output_dir()
,
set_percentiles()
,
set_progress()
,
set_speed()
,
set_time_window()
,
set_verbose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.