From a515cb497c109a533d73475be8ea6df6bdeafd96 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 6 Sep 2015 13:45:56 +0200 Subject: Removed some buildings made network more efficient Also decreased number of sensors. --- include/brain/neural_link.h | 6 ++---- include/move.h | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/brain/neural_link.h b/include/brain/neural_link.h index f3d12a6..b9cf4d1 100644 --- a/include/brain/neural_link.h +++ b/include/brain/neural_link.h @@ -1,16 +1,14 @@ #pragma once -#include - #include "neural_node.h" class NeuralLink { public: - NeuralLink(std::weak_ptr input, double weight); + NeuralLink(NeuralNode* input, double weight); double weightedActivation() const; private: - std::weak_ptr _input; + NeuralNode* _input; double _weight; }; diff --git a/include/move.h b/include/move.h index 7ec63d9..df95761 100644 --- a/include/move.h +++ b/include/move.h @@ -6,6 +6,5 @@ enum class Move: int MOVE_LEFT = 1, MOVE_RIGHT = 2, SHOOT = 3, - BUILD_ALIEN_FACTORY = 4, - BUILD_MISSILE_CONTROLLER = 5 + BUILD_MISSILE_CONTROLLER = 4 }; -- cgit v1.2.3