aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/Utils/NodeTypes.hpp
blob: 815214e25b5336725ad4bd83d3617d9384efc1bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __HYPERNEAT_NODETYPES_HPP__
#define __HYPERNEAT_NODETYPES_HPP__

#include <HyperNeat/Utils/String.hpp>

namespace hyperneat
{
    enum class NodeType {
        NULL_TYPE = -1,
        SIGMOID   =  0,
        GAUSSIAN  =  1,
        SINE      =  2,
        ABSOLUTE  =  3,
    };

    String nodeToString(NodeType type);
    NodeType stringToNode(const String& str);

    const size_t NODE_TYPES_COUNT = 4;
}

#endif