chrono::ChGenotype Class Reference

Description

Class for individuals of the population; for the ChOptimizerGenetic optimization engine.

#include <ChSolvmin.h>

Public Member Functions

 ChGenotype (int number_of_genes)
 
 ChGenotype (const ChGenotype &other)
 
ChGenotypeClone () const
 
void Copy (ChGenotype *source)
 

Public Attributes

ChVectorDynamic genes
 genetic information (variables defining the individual)
 
double fitness
 fitness value
 
double rel_fitness
 relative fitness
 
double cum_fitness
 cumulative fitness
 
bool need_eval
 genes changed, need recomputation of fitness;
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/solver/ChSolvmin.h
  • /builds/uwsbel/chrono/src/chrono/solver/ChSolvmin.cpp