| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
BishBosh.Search.SearchState
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION- The state which is threaded through successive calls to
search.
Synopsis
- data SearchState x y positionHash criterionValue weightedMean
- mkSearchState :: PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean -> DynamicMoveData x y positionHash -> SearchState x y positionHash criterionValue weightedMean
- initialise :: PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean -> SearchState x y positionHash criterionValue weightedMean
Types
Data-types
data SearchState x y positionHash criterionValue weightedMean Source #
The data which is both received & returned by search, so that it is transported through the entire game.
Instances
| (Enum x, Enum y, Ord x, Ord y, Show x, Show y, Show criterionValue, Show positionHash, Show weightedMean) => Show (SearchState x y positionHash criterionValue weightedMean) Source # | |
Defined in BishBosh.Search.SearchState Methods showsPrec :: Int -> SearchState x y positionHash criterionValue weightedMean -> ShowS # show :: SearchState x y positionHash criterionValue weightedMean -> String # showList :: [SearchState x y positionHash criterionValue weightedMean] -> ShowS # | |
| MaybeEphemeralData (SearchState x y positionHash criterionValue weightedMean) Source # | |
Defined in BishBosh.Search.SearchState Methods maybeEuthanise :: NPlies -> MaybeRetireAfterNMoves -> MaybeRetireAfterNMoves -> SearchState x y positionHash criterionValue weightedMean -> SearchState x y positionHash criterionValue weightedMean Source # | |
Functions
Constructors
mkSearchState :: PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean -> DynamicMoveData x y positionHash -> SearchState x y positionHash criterionValue weightedMean Source #
Constructor.
initialise :: PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean -> SearchState x y positionHash criterionValue weightedMean Source #
Smart constructor.