From 17db378c84174c81fde4bb7304182ba93c077522 Mon Sep 17 00:00:00 2001 From: evomarc Date: Sat, 28 Aug 2004 14:03:34 +0000 Subject: [PATCH] Cleaned up the comments --- eo/src/eoCombinedInit.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eo/src/eoCombinedInit.h b/eo/src/eoCombinedInit.h index 7e6801f1..3d244132 100644 --- a/eo/src/eoCombinedInit.h +++ b/eo/src/eoCombinedInit.h @@ -28,14 +28,14 @@ #include /** - Combined INIT: a proportional recombination of eoInit + Combined INIT: a proportional recombination of eoInit objects */ template< class EOT> class eoCombinedInit: public eoInit { public: - /// Ctor, make sure that at least on continuator is present + /** Ctor, make sure that at least one eoInit is present */ eoCombinedInit( eoInit& _init, double _rate) : eoInit () { @@ -43,6 +43,10 @@ public: rates.push_back(_rate); } + /** 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 + */ void add(eoInit & _init, double _rate, bool _verbose=false) { initializers.push_back(&_init); @@ -52,7 +56,7 @@ public: printOn(std::cout); } - // outputs the operators and percentages + /** outputs the operators and percentages */ virtual void printOn(std::ostream & _os) { double total = 0; @@ -65,7 +69,7 @@ public: } /** Performs the init: chooses among all initializers - * using some roulette wheel choice + * using roulette wheel on the rates */ virtual void operator() ( EOT & _eo ) {