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.
18 lines
458 B
Rust
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,
|
|
};
|