An Artificial Intelligence Engine to be used mainly in game development. It contains a bunch of algorithms and techniques used in game development, like Neural Networks, Genetic Algorithm, A*, Minimax, MCTS and a lot more.
Using calloc(size_t,size_t) instead of malloc(size_t), so we can get rig of fill(float)
Improving code legibility be using const references instead of pointers
The Neuron class now keeps its outputs in cache and the feedforward method doesn't return it anymore. In order to get the outputs you should call neuron.getOutputs()
Fixed wrong pointer validation in Perceptron's destructor
This task is part of #8
What was introduced in this PR?
calloc(size_t,size_t)
instead ofmalloc(size_t)
, so we can get rig offill(float)
neuron.getOutputs()