mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-08 07:11:32 +01:00
CuckooChess: Changed node counters to long to avoid wraparound on long searches.
This commit is contained in:
@@ -95,7 +95,7 @@ public class EngineControl {
|
||||
os.printf("info currmove %s currmovenumber %d%n", moveToString(m), moveNr);
|
||||
}
|
||||
|
||||
public void notifyPV(int depth, int score, int time, int nodes, int nps, boolean isMate,
|
||||
public void notifyPV(int depth, int score, int time, long nodes, int nps, boolean isMate,
|
||||
boolean upperBound, boolean lowerBound, ArrayList<Move> pv) {
|
||||
StringBuilder pvBuf = new StringBuilder();
|
||||
for (Move m : pv) {
|
||||
@@ -112,7 +112,7 @@ public class EngineControl {
|
||||
depth, isMate ? "mate" : "cp", score, bound, time, nodes, nps, pvBuf.toString());
|
||||
}
|
||||
|
||||
public void notifyStats(int nodes, int nps, int time) {
|
||||
public void notifyStats(long nodes, int nps, int time) {
|
||||
os.printf("info nodes %d nps %d time %d%n", nodes, nps, time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user