GEP::RandomConstants< IndividualType, Comparator > Class Template Reference
Random Constants holds population of individuals to compare their new versions from the point of view of random constants in their chromosomes. Templated in the same way as.
More...
#include <RandomConstants.h>
List of all members.
Detailed Description
template<class IndividualType, template< class IndividualType > class Comparator>
class GEP::RandomConstants< IndividualType, Comparator >
Random Constants holds population of individuals to compare their new versions from the point of view of random constants in their chromosomes. Templated in the same way as.
- See also:
- Population is ment to use the same type of Individual and Comparator.
Member Typedef Documentation
template<class IndividualType , template< class IndividualType > class Comparator>
Constructor & Destructor Documentation
template<class IndividualType , template< class IndividualType > class Comparator>
Member Function Documentation
template<class IndividualType , template< class IndividualType > class Comparator>
| bool GEP::RandomConstants< IndividualType, Comparator >::cmpRcVec |
( |
const std::vector< double > & |
a, |
|
|
const std::vector< double > & |
b | |
|
) |
| | [inline, private] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::evolutionaryStrategy |
( |
std::vector< std::vector< double > > & |
darray |
) |
[inline, private] |
template<class IndividualType , template< class IndividualType > class Comparator>
| const std::vector<double>& GEP::RandomConstants< IndividualType, Comparator >::getInitRCs |
( |
|
) |
const [inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
| const std::vector<IndividualType>& GEP::RandomConstants< IndividualType, Comparator >::getRcArray |
( |
|
) |
const [inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
| std::vector<IndividualType>& GEP::RandomConstants< IndividualType, Comparator >::getRcArray |
( |
|
) |
[inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::initRcArray |
( |
IndividualType & |
ind |
) |
[inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::initRcArray |
( |
std::vector< IndividualType > & |
inds |
) |
[inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::randomGaussian |
( |
std::vector< std::vector< double > > & |
darray |
) |
[inline, private] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::setInitRCs |
( |
const std::vector< double > & |
ircs |
) |
[inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::setRcArray |
( |
const std::vector< IndividualType > & |
rca |
) |
[inline] |
template<class IndividualType , template< class IndividualType > class Comparator>
| std::string GEP::RandomConstants< IndividualType, Comparator >::toShortString |
( |
const IndividualType & |
indy |
) |
[inline, private] |
template<class IndividualType , template< class IndividualType > class Comparator>
| void GEP::RandomConstants< IndividualType, Comparator >::updateRcArray |
( |
std::vector< IndividualType > & |
inds, |
|
|
const Comparator< IndividualType > & |
cmp | |
|
) |
| | [inline] |
Member Data Documentation
template<class IndividualType , template< class IndividualType > class Comparator>
Initial setup for ALL random constant vectors of initialized individuals
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
Engine of the random number generators - Mersenne Twister
template<class IndividualType , template< class IndividualType > class Comparator>
An array storing the modifications of random constants of individuals
template<class IndividualType , template< class IndividualType > class Comparator>
Mode of work: uninitialized (-1), random normal (0), evolutionary strategy (1)
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
An array storing the individuals for their random constant variables in between the generations
template<class IndividualType , template< class IndividualType > class Comparator>
template<class IndividualType , template< class IndividualType > class Comparator>
Normal distribution generator
template<class IndividualType , template< class IndividualType > class Comparator>
Random real numbers generator, interval [0,1).
template<class IndividualType , template< class IndividualType > class Comparator>
The documentation for this class was generated from the following file: