Пример #1
0
 // Uses parameters from the game object to create a set of
 // inputs for the neural network.
 public abstract Matrix <float> GameStateToNetworkInput(NetworkPlayableGame game);
Пример #2
0
 // The classic fitness function for the specific game
 // realistically this is going to be a really dynamic
 // function..
 public abstract int CalculateFitness(NetworkPlayableGame game);
Пример #3
0
 // Uses the output from the network to create a "move"
 // for the game. This "move" is submitted to the game and the
 // turn finishes.
 public abstract int NetworkOutputToMove(Matrix <float> output, NetworkPlayableGame g);