diff options
Diffstat (limited to 'src/tests/maxima/fitnessfunctioneq.cpp')
-rw-r--r-- | src/tests/maxima/fitnessfunctioneq.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/maxima/fitnessfunctioneq.cpp b/src/tests/maxima/fitnessfunctioneq.cpp index 5694507..c64e87a 100644 --- a/src/tests/maxima/fitnessfunctioneq.cpp +++ b/src/tests/maxima/fitnessfunctioneq.cpp | |||
@@ -23,3 +23,8 @@ double FitnessFunctionEq::operator()( Genetic::Phenotype *pTest ) | |||
23 | return -1.8*(x*x*x*x) + 0.86*(x*x*x) + 4.0*(x*x); | 23 | return -1.8*(x*x*x*x) + 0.86*(x*x*x) + 4.0*(x*x); |
24 | } | 24 | } |
25 | 25 | ||
26 | Genetic::FitnessFunction *FitnessFunctionEq::clone() const | ||
27 | { | ||
28 | return new FitnessFunctionEq(); | ||
29 | } | ||
30 | |||