Ejemplo n.º 1
0
 /// <summary>
 /// Evaluates the specified bitboard with details (only for debugging, too slow for AI).
 /// </summary>
 /// <param name="bitboard">The bitboard to evaluate.</param>
 /// <returns>The detailed bitboard evaluation result.</returns>
 public static DetailedEvaluationData GetDetailedEvaluation(Bitboard bitboard)
 {
     return(new DetailedEvaluationData
     {
         Material = _material.CalculateDetailed(bitboard),
         Mobility = _mobility.CalculateDetailed(bitboard),
         Castling = _castling.CalculateDetailed(bitboard),
         Position = _position.CalculateDetailed(bitboard),
         PawnStructure = _pawnStructure.CalculateDetailed(bitboard),
         KingSafety = _kingSafety.CalculateDetailed(bitboard)
     });
 }