Lines Matching +defs:next +defs:depth
40 void Learn(int score, int best, int depth)
42 int number = 0, next = 0;
46 printf("Learning score: %d best: %d depth:%d hash: %X\n", score, best, depth, hash);
69 fread(&next, sizeof(int), 1, *lrnfile);
76 next++;
77 if (next == 50000) next = 1;
79 fwrite(&next, sizeof(int), 1, *lrnfile);
81 fseek(*lrnfile, (2*sizeof(int)) + ((next-1)*sizeof(LearnType)), SEEK_SET);
83 draft.Depth = depth;