aboutsummaryrefslogtreecommitdiff
path: root/src/Genome.cpp
blob: ce5fc11bc7fda2c29e2d14655525fd60c1d5538c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <HyperNeat/Genome.hpp>

using namespace hyperneat;

Genome::Genome(size_t inputs)
    : _inputs(inputs)
{}

Genome::NodeGene::NodeGene(double depth, NodeType nodeType)
    : _depth(depth), _nodeType(nodeType)
{}

Genome::NodeGene::LinkGene::LinkGene(double weight, bool isEnabled)
    : _weight(weight), _isEnabled(isEnabled)
{}