aboutsummaryrefslogtreecommitdiff
path: root/Simulation/SimFitness.hpp
blob: 7eb7974530a6ee886bd0e96d9ae9c46b3c9af2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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__