[−][src]Trait optlib::Optimizer
Common Optimizer trait.
T - type of a point in search space for goal function.
Required methods
fn find_min(&mut self) -> Option<(T, f64)>
Run an algorithm.
Returns Some((x: &T, goal: GoalValue)), where x - result of optimization,
goal - value of goal function. Returns None if an algoritm can't find minimum of a goal function.
Remarks
All algorithms with Optimizer must search minimum of a goal function.