IndividualCT< CT > Class Template Reference

Individual with uniform chromosome type CT. More...

#include <IndividualT.h>

Inheritance diagram for IndividualCT< CT >:

Individual

List of all members.

Public Member Functions

 IndividualCT (unsigned int noChromosomes=0)
 IndividualCT (unsigned int noChromosomes, const CT &c)
 IndividualCT (const CT &c)
 IndividualCT (const CT &c0, const CT &c1)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2, const CT &c3)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2, const CT &c3, const CT &c4)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2, const CT &c3, const CT &c4, const CT &c5)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2, const CT &c3, const CT &c4, const CT &c5, const CT &c6)
 IndividualCT (const CT &c0, const CT &c1, const CT &c2, const CT &c3, const CT &c4, const CT &c5, const CT &c6, const CT &c7)
 IndividualCT (const std::vector< CT > &v)
 ~IndividualCT ()
CT & operator[] (unsigned i)
const CT & operator[] (unsigned i) const
IndividualCT< CT > & operator= (const IndividualCT< CT > &other)


Detailed Description

template<typename CT>
class IndividualCT< CT >

Individual with uniform chromosome type CT.
Examples:

paraboloidElitistCMA.cpp.

Definition at line 51 of file IndividualT.h.


Constructor & Destructor Documentation

template<typename CT >
IndividualCT< CT >::IndividualCT ( unsigned int  noChromosomes = 0  )  [inline, explicit]

Definition at line 54 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( unsigned int  noChromosomes,
const CT &  c 
) [inline]

Definition at line 60 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c  )  [inline]

Definition at line 64 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1 
) [inline]

Definition at line 68 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2 
) [inline]

Definition at line 72 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2,
const CT &  c3 
) [inline]

Definition at line 76 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2,
const CT &  c3,
const CT &  c4 
) [inline]

Definition at line 80 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2,
const CT &  c3,
const CT &  c4,
const CT &  c5 
) [inline]

Definition at line 84 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2,
const CT &  c3,
const CT &  c4,
const CT &  c5,
const CT &  c6 
) [inline]

Definition at line 93 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const CT &  c0,
const CT &  c1,
const CT &  c2,
const CT &  c3,
const CT &  c4,
const CT &  c5,
const CT &  c6,
const CT &  c7 
) [inline]

Definition at line 103 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::IndividualCT ( const std::vector< CT > &  v  )  [inline]

Definition at line 114 of file IndividualT.h.

template<typename CT >
IndividualCT< CT >::~IndividualCT (  )  [inline]

Definition at line 118 of file IndividualT.h.


Member Function Documentation

template<typename CT >
IndividualCT<CT>& IndividualCT< CT >::operator= ( const IndividualCT< CT > &  other  )  [inline]

Definition at line 131 of file IndividualT.h.

Referenced by IndividualCT< ChromosomeT< T > >::operator=().

template<typename CT >
const CT& IndividualCT< CT >::operator[] ( unsigned  i  )  const [inline]

Reimplemented from Individual.

Reimplemented in IndividualT< T >, and IndividualT< double >.

Definition at line 125 of file IndividualT.h.

template<typename CT >
CT& IndividualCT< CT >::operator[] ( unsigned  i  )  [inline]

Reimplemented from Individual.

Reimplemented in IndividualT< T >, and IndividualT< double >.

Definition at line 121 of file IndividualT.h.

Referenced by IndividualCT< ChromosomeT< T > >::operator[]().


The documentation for this class was generated from the following file: