pub struct AnytimeFront<S, C, const N: usize = 2> {
pub solutions: Vec<Solution<S, [C; N]>>,
pub factor: ApproxFactor<C>,
pub complete: bool,
pub stats: Stats,
}Expand description
What an anytime search returns, for N objectives (two by default): the solutions found, the
approximation factor they are known to achieve, and whether the search
ran to completion.
Fields§
§solutions: Vec<Solution<S, [C; N]>>Solutions, one per cost vector, sorted by cost lexicographically
ascending (first objective strictly ascending, second strictly
descending). Empty when no goal is reachable. Pareto-optimal for
A-BOA*ε; for pp_a_star_iterative
only mutually non-dominated until the search is complete.
factor: ApproxFactor<C>An ε such that every Pareto-optimal cost is within 1 + ε of
some solution in every objective. Zero when
AnytimeFront::complete is set.
complete: booltrue if the search finished on its own rather than being stopped
by its budget: then AnytimeFront::solutions is the whole
Pareto-optimal front.
stats: StatsCounters collected over all iterations, the two seeding searches included.