Run the osrm-partition tool to partition an OSRM graph for the MLD pipeline.
After running, a companion <base>.osrm.partition file must exist to confirm success.
Arguments
- input_osrm
A string. Base path to the
.osrmfiles (without extension).- threads
An integer. Number of threads to use; default
8(osrm-partition's default).- verbosity
A string. Log verbosity level passed to
-l/--verbosity(one of"NONE","ERROR","WARNING","INFO","DEBUG"); default"INFO".- balance
A numeric. Balance for left and right side in single bisection; default
1.2.- boundary
A numeric. Percentage of embedded nodes to contract as sources and sinks; default
0.25.- optimizing_cuts
An integer. Number of cuts to use for optimizing a single bisection; default
10.- small_component_size
An integer. Size threshold for small components; default
1000.- max_cell_sizes
A numeric vector. Maximum cell sizes starting from level 1; default
c(128,4096,65536,2097152).- echo_cmd
A logical. Print each command before running; default
FALSE.- echo
A logical. Stream stdout/stderr; default
TRUE.- spinner
A logical. Show spinner instead of live logs; default
TRUE.
Value
A list with elements:
- osrm_path
The normalized path to the input
.osrmbase (invisibly).- logs
The
processx::runresult object.