set_suboptimal_minutes: Set suboptimal minutes

Description Usage Arguments Value See Also

View source: R/utils.R

Description

Set suboptimalMinutes parameter in R5.

Usage

1
set_suboptimal_minutes(r5r_core, suboptimal_minutes)

Arguments

r5r_core

rJava object to connect with R5 routing engine

suboptimal_minutes

numeric. The number of suboptimal minutes in a public transport point-to-point query. From R5's 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.

Value

No return value, called for side effects.

See Also

Other support functions: assert_decay_function(), assert_points_input(), check_connection(), download_metadata(), find_snap(), posix_to_string(), select_mode(), set_max_lts(), set_max_rides(), set_max_street_time(), set_n_threads(), set_speed(), set_verbose(), stop_r5(), street_network_to_sf()


r5r documentation built on July 3, 2021, 1:06 a.m.