aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/Utils/ValuePoint.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/HyperNeat/Utils/ValuePoint.hpp')
-rw-r--r--include/HyperNeat/Utils/ValuePoint.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/HyperNeat/Utils/ValuePoint.hpp b/include/HyperNeat/Utils/ValuePoint.hpp
new file mode 100644
index 0000000..b9e15ab
--- /dev/null
+++ b/include/HyperNeat/Utils/ValuePoint.hpp
@@ -0,0 +1,19 @@
+#ifndef __HYPERNEAT_VALUEPOINT_HPP__
+#define __HYPERNEAT_VALUEPOINT_HPP__
+
+#include <HyperNeat/Utils/Point.hpp>
+
+namespace hyperneat
+{
+ class ValuePoint : public Point
+ {
+ public:
+ ValuePoint() = default;
+ ValuePoint(double x, double y, double value, double segment);
+
+ double _value = 0.0;
+ double _segment = 0.0;
+ };
+}
+
+#endif