bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Model.PositionHashTree

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Synopsis

Types

Type-synonyms

Data-types

data PositionHashTree positionHash Source #

Wrap a BarePositionHashTree.

Instances

Instances details
(FiniteBits positionHash, Random positionHash) => Default (PositionHashTree positionHash) Source # 
Instance details

Defined in BishBosh.Model.PositionHashTree

Methods

def :: PositionHashTree positionHash #

Functions

countDistinctPositions :: Ord positionHash => Depth -> PositionHashTree positionHash -> NPositions Source #

Count the number of distinct positions, irrespective of the sequence of moves taken to reach that terminal state.

Constructors

mkPositionHashTree :: Bits positionHash => Zobrist positionHash -> GameTree -> PositionHashTree positionHash Source #

Hash the specified 'game-tree/.