Skip to main content

acceptance_trajectory

Function acceptance_trajectory 

Source
pub fn acceptance_trajectory<A>(
    framework: &WeightedFramework<A>,
    target: &A,
    mode: AcceptanceMode,
) -> Result<Vec<SweepPoint>, Error>
where A: Clone + Eq + Hash + Debug + Ord,
Expand description

Compute the full acceptance trajectory for target across the framework’s budget range, returning one SweepPoint at every breakpoint.

The returned vector is sorted by budget ascending and starts at budget = 0. Use flip_points if you only want the budgets at which acceptance changes, not every breakpoint.