aboutsummaryrefslogtreecommitdiff
path: root/Simulation/SimFitness.hpp
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 19:27:35 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 19:27:49 +0100
commit17909d029c6a8872b2fddf4e171d7925bbbe9c5c (patch)
treecbb08af84cd68d24acc362d593a2048b0fa79689 /Simulation/SimFitness.hpp
Initial commitHEADmaster
Diffstat (limited to 'Simulation/SimFitness.hpp')
-rw-r--r--Simulation/SimFitness.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/Simulation/SimFitness.hpp b/Simulation/SimFitness.hpp
new file mode 100644
index 0000000..7eb7974
--- /dev/null
+++ b/Simulation/SimFitness.hpp
@@ -0,0 +1,26 @@
+#ifndef __SIMFITNESS_HPP__
+#define __SIMFITNESS_HPP__
+
+#include <Population.hpp>
+#include <SingleMLP.hpp>
+#include <DualMLP.hpp>
+#include <SimpleRN.hpp>
+#include <FullyRN.hpp>
+
+#include "SimBase.hpp"
+
+class SimFitness : public SimBase
+{
+ bool startSpecs();
+ void updateSpecs();
+
+ std::unique_ptr<Population> population;
+
+ unsigned currentPopulation = 0;
+ unsigned currentGeneration = 0;
+ unsigned fitnessRecord = 0;
+
+ friend class Guppie;
+};
+
+#endif // __SIMFITNESS_HPP__