Version 0.7.9
============= Added open book Added a weighted static evaluation function where the position of each piece is important
This commit is contained in:
@ -153,7 +153,7 @@ public class ComputerPlayer {
|
||||
bestMove = bestMoves.get(generator.nextInt(bestMoves.size()));
|
||||
|
||||
if (SuicideChess.postThinkingOutput()) {
|
||||
System.out.println(maxDepth+"\t"+bestScore.getBranchValue()*100+
|
||||
System.out.println(maxDepth+"\t"+bestScore.getBranchValue()+
|
||||
"\t"+((int)(thinkingEndTime.getTime()-thinkingBeginingTime.getTime())/10)+ //search time in centiseconds
|
||||
"\t"+nodesSearched+"\t"+bestScore.getPrincipalVariation());
|
||||
}
|
||||
@ -244,7 +244,7 @@ public class ComputerPlayer {
|
||||
if (currentDepth==0) {
|
||||
bestMoves.clear();
|
||||
if (SuicideChess.postThinkingOutput()) {
|
||||
System.out.println(maxDepth+"\t"+returnValue.getBranchValue()*100+
|
||||
System.out.println(maxDepth+"\t"+returnValue.getBranchValue()+
|
||||
"\t"+((int)((new Date()).getTime()-thinkingBeginingTime.getTime())/10)+ //search time in centiseconds
|
||||
"\t"+nodesSearched+"\t"+bestVariationSoFar);
|
||||
}
|
||||
@ -290,7 +290,7 @@ public class ComputerPlayer {
|
||||
if (currentDepth==0) {
|
||||
bestMoves.clear();
|
||||
if (SuicideChess.postThinkingOutput()) {
|
||||
System.out.println(maxDepth+"\t"+returnValue.getBranchValue()*100+
|
||||
System.out.println(maxDepth+"\t"+returnValue.getBranchValue()+
|
||||
"\t"+((int)((new Date()).getTime()-thinkingBeginingTime.getTime())/10)+ //search time in centiseconds
|
||||
"\t"+nodesSearched+"\t"+bestVariationSoFar);
|
||||
}
|
||||
|
Reference in New Issue
Block a user