/// MaterialInfo is a class which contains various information about a
/// material configuration. It contains a material balance evaluation,
/// MaterialInfo is a class which contains various information about a
/// material configuration. It contains a material balance evaluation,
/// The MaterialInfoTable class represents a pawn hash table. The most important
/// method is get_material_info, which returns a pointer to a MaterialInfo object.
/// The MaterialInfoTable class represents a pawn hash table. The most important
/// method is get_material_info, which returns a pointer to a MaterialInfo object.
MaterialInfo* get_material_info(const Position& pos) const;
static Phase game_phase(const Position& pos);
MaterialInfo* get_material_info(const Position& pos) const;
static Phase game_phase(const Position& pos);
inline Score MaterialInfo::material_value() const {
return make_score(value, value);
}
inline Score MaterialInfo::material_value() const {
return make_score(value, value);
}