aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/NodeSearchPrms.hpp
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 19:04:34 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 19:16:14 +0100
commite6ab4a8ed100d5d5b7611c74cf3ccd556f1f1d71 (patch)
tree129cf13c2f9b3eae54402300db4570815789a02a /include/HyperNeat/NodeSearchPrms.hpp
Initial commitHEADmaster
Diffstat (limited to 'include/HyperNeat/NodeSearchPrms.hpp')
-rw-r--r--include/HyperNeat/NodeSearchPrms.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/HyperNeat/NodeSearchPrms.hpp b/include/HyperNeat/NodeSearchPrms.hpp
new file mode 100644
index 0000000..52d9083
--- /dev/null
+++ b/include/HyperNeat/NodeSearchPrms.hpp
@@ -0,0 +1,33 @@
+#ifndef __HYPERNEAT_QUERYPLANEPRMS_HPP__
+#define __HYPERNEAT_QUERYPLANEPRMS_HPP__
+
+#include <HyperNeat/Utils/Size.hpp>
+
+namespace hyperneat
+{
+ class NeuralNetPrms;
+
+ class NodeSearchPrms
+ {
+ public:
+ NodeSearchPrms() = default;
+ NodeSearchPrms(size_t o, size_t x, size_t y);
+ NodeSearchPrms(size_t o, size_t x, size_t y, size_t d);
+
+ void importFrom(const NeuralNetPrms& nnPrms);
+
+ size_t _o = 0;
+ size_t _x = 0;
+ size_t _y = 1;
+ bool _useDistance = true;
+ size_t _d = 4;
+ size_t _testGridLevel = 3;
+ size_t _maxQuadTreeLevel = -1;
+ size_t _minQuadTreeLevel = 0;
+ double _bandPruningThreshold = 0.3;
+ double _varianceThreshold = 0.03;
+ double _divisionThreshold = 0.03;
+ };
+}
+
+#endif