bishbosh-0.0.0.2: 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.

Minimal complete definition

prune

Methods

prune Source #

Arguments

:: Depth 
-> tree 
-> tree

Remove branches after the specified depth.

Instances

Prunable (Tree a) Source # 

Methods

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

Prunable (GameTree x y) Source # 

Methods

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

Prunable (PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean) Source # 

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.