Struct revonet::problem::SphereProblem [] [src]

pub struct SphereProblem;

Sample problem representing Sphere function.

Trait Implementations

impl Problem for SphereProblem
[src]

Computes fitness value for a given individual. Read more

Returns whether given fitness value is enough to be a solution. Read more

Generate random individual for the problem. Default implementation creates a real-coded individual with the number of genes equal to size Read more