pub trait Manage {
Show 14 methods
// Required methods
fn parameters(&self) -> Vec<Parameter>;
fn register(
&mut self,
sum_name: &str,
group_name: &str,
amplitude: &Amplitude
);
fn precompute(&mut self);
fn constrain(
&mut self,
parameter_1: (&'_ str, &'_ str, &'_ str, &'_ str),
parameter_2: (&'_ str, &'_ str, &'_ str, &'_ str)
);
fn constrain_amplitude(
&mut self,
amplitude_1: (&'_ str, &'_ str, &'_ str),
amplitude_2: (&'_ str, &'_ str, &'_ str)
);
fn activate(&mut self, amplitude: (&'_ str, &'_ str, &'_ str));
fn deactivate(&mut self, amplitude: (&'_ str, &'_ str, &'_ str));
fn fix(
&mut self,
parameter: (&'_ str, &'_ str, &'_ str, &'_ str),
value: f64
);
fn free(
&mut self,
parameter: (&'_ str, &'_ str, &'_ str, &'_ str),
initial_value: f64
);
fn set_bounds(
&mut self,
parameter: (&'_ str, &'_ str, &'_ str, &'_ str),
lower_bound: f64,
upper_bound: f64
);
fn set_initial(
&mut self,
parameter: (&'_ str, &'_ str, &'_ str, &'_ str),
initial_value: f64
);
// Provided methods
fn get_lower_bounds(&self) -> Vec<f64> { ... }
fn get_upper_bounds(&self) -> Vec<f64> { ... }
fn get_initial_values(&self) -> Vec<f64> { ... }
}