1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Added missing headers.

This commit is contained in:
Frank Zago 2009-08-19 05:01:25 +00:00
parent 6312a55bac
commit 81109b3897

View File

@ -1,3 +1,5 @@
#include <stdlib.h>
#include <string.h>
#include "neuralNetwork.h" #include "neuralNetwork.h"
//using namespace std; //using namespace std;
@ -6,7 +8,7 @@
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846
#endif #endif
float norm(void)//add desired mean, multiply to get desired SD static float norm(void)//add desired mean, multiply to get desired SD
{ {
static float kept = 0; static float kept = 0;
static bool in = 0; static bool in = 0;
@ -413,4 +415,4 @@ void neuralNetwork::backpropigate(double* pattern, double OLR, double H2LR, doub
delete [] hiddenError1; delete [] hiddenError1;
delete [] hiddenError2; delete [] hiddenError2;
delete [] outputError; delete [] outputError;
} }