From 1f7c135934b6604c5409d4b6f34861105c0a64cb Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 9 Jul 2012 12:01:50 -0600 Subject: It works well enough to solve polynomial maxima. --- src/tests/maxima/fitnessfunctioneq.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/tests/maxima/fitnessfunctioneq.h (limited to 'src/tests/maxima/fitnessfunctioneq.h') diff --git a/src/tests/maxima/fitnessfunctioneq.h b/src/tests/maxima/fitnessfunctioneq.h new file mode 100644 index 0000000..7139532 --- /dev/null +++ b/src/tests/maxima/fitnessfunctioneq.h @@ -0,0 +1,15 @@ +#ifndef GENETIC_FITNESS_FUNCTION_EQ_H +#define GENETIC_FITNESS_FUNCTION_EQ_H + +#include "genetic/fitnessfunction.h" + +class FitnessFunctionEq : public Genetic::FitnessFunction +{ +public: + FitnessFunctionEq(); + virtual ~FitnessFunctionEq(); + + virtual double operator()( Genetic::Phenotype *pTest ); +}; + +#endif -- cgit v1.2.3