Trait ew::tools::statistics::StatFunctionsGoal [−][src]
The trait contains methods for calculate goal function statistics for Vec<Option<Solution
Required methods
fn get_average_goal(&self) -> Option<f64>
[src]
Calculate an average of goal function.
Returns None if self
is empty or self
contains None
only.
fn get_standard_deviation_goal(&self) -> Option<f64>
[src]
Calculate a standard deviation of goal function.
Returns None if length of self
less 2 or self
contains None
only.
Implementations on Foreign Types
impl<T> StatFunctionsGoal for Vec<Option<(T, f64)>>
[src]
fn get_average_goal(&self) -> Option<f64>
[src]
Calculate an average of goal function.
Returns None if self
is empty or self
contains None
only.