public NnueBoardData() { const int count = SearchConstants.MaxDepth; Accumulators = new NnueAccumulator[count]; Dirty = new NnueDirtyPiece[count]; for (int i = 0; i < count; i++) { Accumulators[i] = new NnueAccumulator(); Dirty[i] = new NnueDirtyPiece(); } Ply = 0; }
public NnueNnueData() { accumulator = new NnueAccumulator(); dirtyPiece = new NnueDirtyPiece(); }