TestObjective.cpp

Go to the documentation of this file.
00001 #include "TestObjective.h"
00002 #include <cmath>
00003 
00004 namespace gplib
00005   {
00006     TestObjective::TestObjective()
00007       {
00008       }
00009     TestObjective::~TestObjective()
00010       {
00011       }
00012 
00013     double TestObjective::PostParallel(const ttranscribed &member)
00014       {
00015         double returnvalue = 10. * std::pow(member(0) - std::pow(member(1), 2), 2) + std::pow(
00016             1. - member(1), 2);
00017         return (returnvalue);
00018       }
00019   }

Generated on Tue May 4 16:52:15 2010 for GPLIB++ by  doxygen 1.5.8