diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 19:27:35 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 19:27:49 +0100 |
commit | 17909d029c6a8872b2fddf4e171d7925bbbe9c5c (patch) | |
tree | cbb08af84cd68d24acc362d593a2048b0fa79689 /Simulation/SimFitness.hpp |
Diffstat (limited to 'Simulation/SimFitness.hpp')
-rw-r--r-- | Simulation/SimFitness.hpp | 26 |
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__ |