pub trait Goal<T> { // Required method fn get(&mut self, x: &T) -> f64; }
The trait for the goal function.
Must return value of goal function for the point in the search space (x).