bishbosh-0.0.0.4: Plays chess.

Safe HaskellSafe
LanguageHaskell2010

BishBosh.Property.Tree

Contents

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
Prunable (Tree a) Source # 
Instance details

Defined in BishBosh.Property.Tree

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 criterionValue weightedMean) Source # 
Instance details

Defined in BishBosh.Evaluation.PositionHashQuantifiedGameTree

Methods

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

Types

Type-synonyms

type Depth = Int Source #

A distance down the tree.