pub fn sweep_traversal_risk_weights(
config: TraversalRiskGraphConfig,
risk_weights: &[f64],
sx: i32,
sy: i32,
gx: i32,
gy: i32,
) -> RoboticsResult<Vec<TraversalRiskWeightSample>>Expand description
Plan the same query for several risk_weight values.
Each sample includes the weighted path returned by the planner plus
terrain_risk_cost, which is the unweighted integrated terrain risk along
the path. That makes distance-vs-risk tradeoffs directly comparable across
different weights.