@@ 65,8 65,6 @@ pub enum BoundedPerturbationStrategy {
}
pub struct BoundedPerturbation<const LEN: usize, T: PerturbationOperator<Chromosome = SVector<f64, LEN>>> {
- min: SVector<f64, LEN>,
- max: SVector<f64, LEN>,
min_max: SVector<(f64, f64), LEN>,
strategy: BoundedPerturbationStrategy,
perturbation: T,
@@ 81,8 79,6 @@ impl<const LEN: usize, T: PerturbationOperator<Chromosome = SVector<f64, LEN>>>
) -> Self {
let min_max = min.zip_map(&max, |min, max| (min, max));
Self {
- min,
- max,
min_max,
strategy,
perturbation