GPLIB++
TestObjective.cpp
Go to the documentation of this file.
1 #include "TestObjective.h"
2 #include <cmath>
3 
4 namespace gplib
5  {
7  {
8  }
10  {
11  }
12 
14  {
15  double returnvalue = 10. * std::pow(member(0) - std::pow(member(1), 2), 2) + std::pow(
16  1. - member(1), 2);
17  return (returnvalue);
18  }
19  }
ublas::vector< double > ttranscribed
Definition: gentypes.h:21
virtual double PostParallel(const ttranscribed &member)
Some operations cannot be done in parallel, these are done after, returns the misfit value...