From 550caeee11086bd56db69176b3149ddfa160ee30 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 17 Oct 2015 17:02:24 +0200 Subject: Reverted to a simple decision tree Turns out it's much easier to write a bot by hand with if statements. --- include/brain/neural_network.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/brain/neural_network.h') diff --git a/include/brain/neural_network.h b/include/brain/neural_network.h index a1af7cc..7fcf5f4 100644 --- a/include/brain/neural_network.h +++ b/include/brain/neural_network.h @@ -22,6 +22,9 @@ public: unsigned int numberOfSensors() const { return _sensors.size(); } unsigned int numberOfOutputs() const { return _outputs.size(); } + unsigned int numberOfNeurons() const { return _neurons.size(); } + + bool linkExists(std::string srcIdentifier, std::string destIdentifier, double weight) const; private: std::vector> _sensors; -- cgit v1.2.3