From 0f9f1cc3ea03df50dfa33ba0a311b767d9a080ab Mon Sep 17 00:00:00 2001 From: evomarc Date: Tue, 4 Sep 2001 06:37:25 +0000 Subject: [PATCH] Comments update --- eo/src/ga/make_op.h | 2 +- eo/src/ga/make_pop_ga.cpp | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/eo/src/ga/make_op.h b/eo/src/ga/make_op.h index 4fc7968c..40ae2492 100644 --- a/eo/src/ga/make_op.h +++ b/eo/src/ga/make_op.h @@ -75,7 +75,7 @@ eoGenOp & do_make_op(eoParameterLoader& _parser, eoState& _state, eoInit& operatorParam = _parser.createParam(string("SGA"), "operator", "Description of the operator (SGA only now)", 'o', "Variation Operators"); if (operatorParam.value() != string("SGA")) - throw runtime_error("Only SGA-like operator available roght now\n"); + throw runtime_error("Only SGA-like operator available right now\n"); // now we read Pcross and Pmut, // the relative weights for all crossovers -> proportional choice diff --git a/eo/src/ga/make_pop_ga.cpp b/eo/src/ga/make_pop_ga.cpp index ae014f4f..8bbd308d 100644 --- a/eo/src/ga/make_pop_ga.cpp +++ b/eo/src/ga/make_pop_ga.cpp @@ -24,18 +24,16 @@ */ //----------------------------------------------------------------------------- -/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators +/** This file contains all ***INSTANCIATED DEFINITIONS*** of population init * of the library for ***BISTRING*** evolution inside EO. * It should be included in the file that calls any of the corresponding fns * Compiling this file allows one to generate part of the library (i.e. object * files that you just need to link with your own main and fitness code). * * The corresponding ***INSTANCIATED DECLARATIONS*** are contained - * in ga.h + * in ga/make_ga.h * while the TEMPLATIZED code is define in make_pop.h in the src/do dir * - * Unlike most EO .h files, it does not (and should not) contain any code, - * just declarations */ // The templatized code