Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Permits maintenance of data collected during the search for a move.
Synopsis
- class EphemeralData a where
Type-classes
class EphemeralData a where Source #
An interface for short-lived data.
:: a | |
-> Int | Get the current size of the collection. |
:: NPlies | |
-> a | |
-> a | Prune old data from the collection. |
Instances
EphemeralData (KillerMoves killerMove) Source # | |
Defined in BishBosh.Search.KillerMoves getSize :: KillerMoves killerMove -> Int Source # euthanise :: NPlies -> KillerMoves killerMove -> KillerMoves killerMove Source # | |
EphemeralData (Transpositions move positionHash) Source # | |
Defined in BishBosh.Search.Transpositions getSize :: Transpositions move positionHash -> Int Source # euthanise :: NPlies -> Transpositions move positionHash -> Transpositions move positionHash Source # |