From a2679e3bc2f407fae6b97908aeebb215c6678ebc Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 17 Jul 2012 09:11:40 -0600 Subject: It all works multi-threaded. It restarts the threads every generation. Maybe not the worst thing every, but it seems like it would be better to stay in the thread and notify the main thread that they're done with that iteration. --- src/tests/maxima/fitnessfunctioneq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tests/maxima/fitnessfunctioneq.h') diff --git a/src/tests/maxima/fitnessfunctioneq.h b/src/tests/maxima/fitnessfunctioneq.h index 7139532..d1a64c5 100644 --- a/src/tests/maxima/fitnessfunctioneq.h +++ b/src/tests/maxima/fitnessfunctioneq.h @@ -10,6 +10,7 @@ public: virtual ~FitnessFunctionEq(); virtual double operator()( Genetic::Phenotype *pTest ); + virtual Genetic::FitnessFunction *clone() const; }; #endif -- cgit v1.2.3