chmengine.utils.pick¶
Pick object representing a (move, score) evaluation pair.
Classes
| 
 | Fully featured container for a (move, score) pair. | 
| 
 | Base class for Pick containing a (move, score) pair. | 
- class chmengine.utils.pick.Pick(move: Move, score: Number)¶
- Bases: - PickT- Fully featured container for a (move, score) pair. - This class provides tuple-like access, type casting, and rich formatting. It extends PickT and is the public-facing API for move-score pairs. - Attributes:
- move_getter_keysTuple[int, str, int]
- Allowed keys to access the move. 
- score_getter_keysTuple[int, str, int]
- Allowed keys to access the score. 
 
 - property data: Tuple[Move, float64]¶
- Read-only access to the pick data as a tuple. - Returns:
- Tuple[Move, float64]
- The (move, score) pair represented by this object. 
 
 
 - property move: Move¶
- Read-only access to the move. - Returns:
- Move
- The chess move associated with this Pick. 
 
 
 - move_getter_keys: Tuple[int, str, int] = (0, 'move', -2)¶
 - property score: float64¶
- Read access to the score. - Returns:
- float64
- The numeric evaluation of the move. 
 
 
 - score_getter_keys: Tuple[int, str, int] = (1, 'score', -1)¶