diff options
author | Mike Buland <mike@xagasoft.com> | 2012-07-09 12:01:50 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2012-07-09 12:01:50 -0600 |
commit | 1f7c135934b6604c5409d4b6f34861105c0a64cb (patch) | |
tree | cc421e2e8620b72e202f0eddf2cd5f1478d3bc06 /src/tests/maxima/fitnessfunctioneq.h | |
parent | 40ee7ad5aeadeb9823e1cd6e1218a1999c608a65 (diff) | |
download | libgenetic-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 'src/tests/maxima/fitnessfunctioneq.h')
-rw-r--r-- | src/tests/maxima/fitnessfunctioneq.h | 15 |
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 | |||
6 | class FitnessFunctionEq : public Genetic::FitnessFunction | ||
7 | { | ||
8 | public: | ||
9 | FitnessFunctionEq(); | ||
10 | virtual ~FitnessFunctionEq(); | ||
11 | |||
12 | virtual double operator()( Genetic::Phenotype *pTest ); | ||
13 | }; | ||
14 | |||
15 | #endif | ||