bishbosh-0.1.1.0: Plays chess.
Safe HaskellSafe-Inferred
LanguageHaskell2010

BishBosh.Property.Arboreal

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Synopsis

Type-classes

class Prunable tree where Source #

An interface which tree-like data can support.

Methods

prune Source #

Arguments

:: Depth 
-> tree 
-> tree

Remove branches after the specified depth.

Instances

Instances details
Prunable (Tree a) Source # 
Instance details

Defined in BishBosh.Property.Arboreal

Methods

prune :: Depth -> Tree a -> Tree a Source #

Prunable (GameTree x y) Source # 
Instance details

Defined in BishBosh.Model.GameTree

Methods

prune :: Depth -> GameTree x y -> GameTree x y Source #

Prunable (PositionHashQuantifiedGameTree x y positionHash) Source # 
Instance details

Defined in BishBosh.Evaluation.PositionHashQuantifiedGameTree

Methods

prune :: Depth -> PositionHashQuantifiedGameTree x y positionHash -> PositionHashQuantifiedGameTree x y positionHash Source #

Types

Type-synonyms

type Depth = Int Source #

A distance down the tree.