autoeq-optim 0.5.58

AutoEQ objectives, constraints, and optimizer backends
Documentation
//! AutoEQ - A library for audio equalization and filter optimization
//!
//! Copyright (C) 2025-2026 Pierre Aubert pierre(at)spinorama(dot)org
//!
//! This program is free software: you can redistribute it and/or modify
//! it under the terms of the GNU General Public License as published by
//! the Free Software Foundation, either version 3 of the License, or
//! (at your option) any later version.
//!
//! This program is distributed in the hope that it will be useful,
//! but WITHOUT ANY WARRANTY; without even the implied warranty of
//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//! GNU General Public License for more details.
//!
//! You should have received a copy of the GNU General Public License
//! along with this program.  If not, see <https://www.gnu.org/licenses/>.

pub use backend::{AlgorithmType, ConstraintCapabilities, FilterOptimizer};

/// Unified optimizer backend trait and capability descriptors.
pub mod backend;
/// Gaussian-process Bayesian optimisation backend.
pub mod bo;
/// Shared callback utilities for optimization
pub mod callback;
/// Pure-Rust CMA-ES backend.
pub mod cmaes;
/// Pure-Rust COBYLA backend (replaces NLopt's COBYLA when nlopt feature is off).
pub mod cobyla;
/// Centralised constraint installation (native vs penalty).
pub mod constraints_install;
/// AutoEQ DE-specific optimization code
pub mod de;
/// Pure-Rust ISRES backend.
pub mod isres;
/// Strategy-based objective functions.
pub mod loss;
/// Metaheuristics-specific optimization code
pub mod mh;
/// Pure-Rust NSGA-II/III Pareto backends.
pub mod nsga;
/// Testable high-level optimizer seam for EQ pipelines.
pub mod optimizer_backend;
/// Shared optimization parameters (decoupled from CLI args)
pub mod params;
/// Pareto front analysis
pub mod pareto;
pub mod prepared_objective;
/// Algorithm registry — string name → backend.
pub mod registry;
/// Shared bounded scalar-objective optimizer dispatch.
pub mod scalar;
/// Shared optimization setup (bounds, initial guess, objective data)
pub mod setup;

mod algorithm_info;
mod clamp;
mod compute;
mod misc;
mod objective_data;
mod objective_data_builder;
mod optimize;
mod penalty_mode;
mod smoothness_penalty_config;
#[cfg(test)]
mod tests;
mod types;

pub use algorithm_info::*;
pub use clamp::*;
pub use compute::*;
pub use objective_data::*;
pub use objective_data_builder::*;
pub use optimize::*;
pub use optimizer_backend::*;
pub use penalty_mode::*;
pub use smoothness_penalty_config::*;
pub use types::*;
pub mod run_descriptor;