~ruther/ctu-fee-eoa

f5bf8195f01a3139880dfa95a3585cca34de2798 — Rutherther 2 months ago 967210c
feat: remove min, max from bounded perturbation
1 files changed, 0 insertions(+), 4 deletions(-)

M env/src/perturbation/mod.rs
M env/src/perturbation/mod.rs => env/src/perturbation/mod.rs +0 -4
@@ 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