mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
[minor] changes to logging
This commit is contained in:
parent
ffcd51989e
commit
88b2b9546a
1 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ public class ComputerPlayer6 extends ComputerPlayer<ComputerPlayer6> implements
|
|||
test = root;
|
||||
root = root.children.get(0);
|
||||
}
|
||||
logger.info("simlating -- game value:" + game.getState().getValue(true) + " test value:" + test.gameValue);
|
||||
logger.debug("simlating -- game value:" + game.getState().getValue(true) + " test value:" + test.gameValue);
|
||||
if (!suggested.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
@ -555,7 +555,7 @@ public class ComputerPlayer6 extends ComputerPlayer<ComputerPlayer6> implements
|
|||
* choices = node.getChoices();
|
||||
*/
|
||||
if (depth == maxDepth) {
|
||||
logger.info(new StringBuilder("Simulating -- Saved (depth=").append(depth).append(") Score: ").append(bestNode.getScore()).toString());
|
||||
logger.info(new StringBuilder("Simulating -- Saved (depth=").append(depth).append(") Score: ").append(bestNode.getScore()).append(" abilities: ").append(bestNode.getAbilities().toString()).toString());
|
||||
node.children.clear();
|
||||
node.children.add(bestNode);
|
||||
node.setScore(bestNode.getScore());
|
||||
|
|
Loading…
Reference in a new issue