| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
BishBosh.Input.EvaluationOptions
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION
- Defines configurable options related to the evaluation of the game at any instance.
- N.B.: evaluation is distinct from search: evaluation => how one assesses the fitness of candidate moves; search => the order in which one evaluates candidates before selecting on the basis of their fitness.
Synopsis
- type IncrementalEvaluation = Bool
- type Reader = Reader EvaluationOptions
- data EvaluationOptions
- tag :: String
- nPiecesBounds :: (NPieces, NPieces)
- mkEvaluationOptions :: RankValues -> CriteriaWeights -> IncrementalEvaluation -> Maybe PieceSquareTablePair -> EvaluationOptions
Types
Type-synonyms
type IncrementalEvaluation = Bool Source #
Whether to generate position-hashes incrementally from the hash of the position prior to the last move.
type Reader = Reader EvaluationOptions Source #
Self-documentation.
Data-types
data EvaluationOptions Source #
Defines the options related to the automatic selection of moves.
Instances
| Eq EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods (==) :: EvaluationOptions -> EvaluationOptions -> Bool # (/=) :: EvaluationOptions -> EvaluationOptions -> Bool # | |
| Show EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods showsPrec :: Int -> EvaluationOptions -> ShowS # show :: EvaluationOptions -> String # showList :: [EvaluationOptions] -> ShowS # | |
| Default EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods | |
| NFData EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods rnf :: EvaluationOptions -> () # | |
| XmlPickler EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods | |
| ShowFloat EvaluationOptions Source # | |
Defined in BishBosh.Input.EvaluationOptions Methods showsFloat :: (Double -> ShowS) -> EvaluationOptions -> ShowS Source # | |
Constants
nPiecesBounds :: (NPieces, NPieces) Source #
The constant bounds of the number of pieces on the board, at the end-game & opening-game respectively.
Functions
Constructor
Arguments
| :: RankValues | The static value associated with each piece's rank. |
| -> CriteriaWeights | The weights applied to the values of the criteria used to select a move. |
| -> IncrementalEvaluation | |
| -> Maybe PieceSquareTablePair | The value to each type of piece, of each square, during normal play & the end-game. |
| -> EvaluationOptions |
Smart constructor.