Logo Search packages:      
Sourcecode: gaffitter version File versions  Download package

Params::Size_t GeneticAlgorithm::Score ( const Genome g  )  const [inline, protected]

Returns how well is the given Genome. A perfect Genome is found when its Score is equal to zero. Not so fitter return a positive (>0) score.

Definition at line 187 of file GeneticAlgorithm.hh.

References Genome::Diff().

{ return g.Diff(); }

Generated by  Doxygen 1.6.0   Back to index