#include <NeuralNetwork.h>
Collaboration diagram for CNeuralNetwork:
Public Member Functions | |
double | propagate (char *pBoard, char player, bool createTheInputVector=true) |
Gives the output value of the neural network with the given game board as input pattern. | |
void | trainValue (char *pBoard, char player, double trainValue, double learnRate, double maxError) |
Trains the given value to a given game board as input pattern. | |
int | getBestMove (char *pBoard, char player) |
Returns the best rated move based on the given board. | |
void | learn () |
Trains the networks through competition, with before initialized parameters. | |
void | learnTest () |
Trains the networks through competition, with before initialized parameters. | |
void | learnTest2 () |
Trains the networks through competition, with before initialized parameters. | |
void | setLearnParameters () |
Sets the learn parameters for the networks for a new training session. | |
bool | saveNet (const wchar_t *pFileName) |
Stores the current networks in a file. | |
bool | loadNet (const wchar_t *pFileName) |
Reads the current networks from a file. |