evaluateMaterialPst function

int evaluateMaterialPst(
  1. Position p
)

Material + piece-square tables only. Kept as the A/B baseline for the extra terms in evaluatePosition (self-play verification).

Implementation

int evaluateMaterialPst(Position p) {
  final white_ = _materialPstWhitePov(p);
  return p.turn == white ? white_ : -white_;
}