Fixed bug in eoGOpSelector (missing break!)
eoOp.h: binOp's second arg is const once more all dsp and dsw files were touched by msvc, but did add some stuff (which will be added to eo later) Hope this all works
This commit is contained in:
parent
ca4e470092
commit
6469376880
27 changed files with 2730 additions and 2471 deletions
|
|
@ -18,7 +18,7 @@ public :
|
|||
SymregNode(Operator _op) { op = _op; }
|
||||
virtual ~SymregNode(void) {}
|
||||
|
||||
// arity function
|
||||
// arity function, need this function!
|
||||
int arity(void) const { return op == X? 0 : 2; }
|
||||
|
||||
// evaluation function, single case, using first argument to give value of variable
|
||||
|
|
@ -204,7 +204,7 @@ void print_best(eoPop<EOT>& pop)
|
|||
string str = pop[index].apply(string());
|
||||
|
||||
cout << str.c_str();
|
||||
cout << endl << "Error = " << pop[index].fitness() << endl;
|
||||
cout << endl << "RMS Error = " << pop[index].fitness() << endl;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Reference in a new issue