R/calculate_geodesic_distances.R
calculate_geodesic_distances.RdWill calculate geodesic distances between cells within a trajectory. To speed things up, only the distances with a set of waypoint cells are calculated.
calculate_geodesic_distances(trajectory, waypoint_cells = NULL, waypoint_milestone_percentages = NULL) compute_tented_geodesic_distances(trajectory, waypoint_cells = NULL, waypoint_milestone_percentages = NULL)
| trajectory | The trajectory as created by |
|---|---|
| waypoint_cells | A vector of waypoint cells. Only the geodesic distances between waypoint cells and all other cells will be calculated. |
| waypoint_milestone_percentages | The milestone percentages of non-cell waypoints, containing waypoint_id, milestone_id and percentage columns |
The geodesic distance takes into account the length of an edge regions of delayed commitment.