Files
heuropt/src/prelude.rs
T
swaits 663ed0ae58 feat(pareto): add ParetoArchive
A concrete archive (not a trait — spec §13). On insert it discards the
new candidate if any existing member dominates it, then removes existing
members the new candidate dominates. `truncate` does simple
tail-truncation in v1; the doc note flags that crowding-aware
truncation is a future improvement.
2026-05-04 19:20:59 -06:00

18 lines
458 B
Rust

//! Common imports for users of `heuropt`.
//!
//! ```
//! use heuropt::prelude::*;
//! ```
pub use crate::core::{
Candidate, Direction, Evaluation, Objective, ObjectiveSpace, OptimizationResult,
Population, Problem, Rng, rng_from_seed,
};
pub use crate::traits::{Initializer, Optimizer, Variation};
pub use crate::pareto::{
Dominance, ParetoArchive, best_candidate, crowding_distance, non_dominated_sort,
pareto_compare, pareto_front,
};