#include <eoCombinedInit.h>
Inheritance diagram for eoCombinedInit< EOT >:

Public Member Functions | |
| eoCombinedInit (eoInit< EOT > &_init, double _rate) | |
| Ctor, make sure that at least one eoInit is present. | |
| void | add (eoInit< EOT > &_init, double _rate, bool _verbose=false) |
| The usual method to add objects to the combination note the _verbose parameter, that allows to print what's inside the combination with scaled rates. | |
| virtual void | printOn (std::ostream &_os) |
| outputs the operators and percentages | |
| virtual void | operator() (EOT &_eo) |
| Performs the init: chooses among all initializers using roulette wheel on the rates. | |
| virtual std::string | className (void) const |
| className: Mandatory because of eoCombinedInit. | |
Private Attributes | |
| std::vector< eoInit< EOT > * > | initializers |
| std::vector< double > | rates |
Definition at line 35 of file eoCombinedInit.h.
|
||||||||||
|
className: Mandatory because of eoCombinedInit. SHould be pure virtual, but then we should go over the whole code to write the method for all derived classes ... MS 16/7/04 Reimplemented from eoInit< EOT >. Definition at line 81 of file eoCombinedInit.h. Referenced by eoCombinedInit< EOT >::printOn(). |
1.3.9.1