- PlayerModel.java now returns the full array of output nodes instead of just their activation states. This exposes their strengths.

This commit is contained in:
Marshall
2012-04-29 12:49:08 -04:00
parent 1eebacf963
commit a756aa242d
2 changed files with 4 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ public class Referee implements Runnable {
private Board board;
private BoardPanel boardPanel;
private Player computerPlayer;
private final Player computerPlayer;
private final HumanPlayer humanPlayer = new HumanPlayer();
private final MainFrame mf;
@@ -181,7 +181,7 @@ public class Referee implements Runnable {
// Some changes will probably be necessary to put it in the
// right place and also to get the node weights. But... all in
// due time.
getPlayerModel().getPrediction(getBoardState());
getPlayerModel().getOutputNodes(getBoardState());
}
mf.updateMessage(getMessage());