summaryrefslogtreecommitdiff
path: root/src/tests/maxima/fitnessfunctioneq.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2012-07-09 12:01:50 -0600
committerMike Buland <mike@xagasoft.com>2012-07-09 12:01:50 -0600
commit1f7c135934b6604c5409d4b6f34861105c0a64cb (patch)
treecc421e2e8620b72e202f0eddf2cd5f1478d3bc06 /src/tests/maxima/fitnessfunctioneq.h
parent40ee7ad5aeadeb9823e1cd6e1218a1999c608a65 (diff)
downloadlibgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.gz
libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.bz2
libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.xz
libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.zip
It works well enough to solve polynomial maxima.
Diffstat (limited to '')
-rw-r--r--src/tests/maxima/fitnessfunctioneq.h15
1 files changed, 15 insertions, 0 deletions
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 @@
1#ifndef GENETIC_FITNESS_FUNCTION_EQ_H
2#define GENETIC_FITNESS_FUNCTION_EQ_H
3
4#include "genetic/fitnessfunction.h"
5
6class FitnessFunctionEq : public Genetic::FitnessFunction
7{
8public:
9 FitnessFunctionEq();
10 virtual ~FitnessFunctionEq();
11
12 virtual double operator()( Genetic::Phenotype *pTest );
13};
14
15#endif