- fileName = evalFile;
-
- std::ifstream stream(evalFile, std::ios::binary);
-
- const bool result = ReadParameters(stream);
-
- return result;
- }
-
- // Evaluation function. Perform differential calculation.
- Value evaluate(const Position& pos) {
- return ComputeScore(pos, false);
- }
-
- // Evaluation function. Perform full calculation.
- Value compute_eval(const Position& pos) {
- return ComputeScore(pos, true);
- }
-
- // Proceed with the difference calculation if possible
- void update_eval(const Position& pos) {
- UpdateAccumulatorIfPossible(pos);