Struct revonet::problem::RastriginProblem [] [src]

pub struct RastriginProblem;

Sample problem representing Rastrigin function.

Trait Implementations

impl Problem for RastriginProblem
[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