bishbosh-0.0.0.1: Plays chess.
BishBosh.Property.Tree
Contents
Description
AUTHOR
DESCRIPTION
Synopsis
class Prunable tree where Source #
An interface which tree-like data can support.
Minimal complete definition
prune
Methods
prune Source #
Arguments
Remove branches after the specified depth.
Instances
prune :: Depth -> Tree a -> Tree a Source #
prune :: Depth -> GameTree x y -> GameTree x y Source #
prune :: Depth -> PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean -> PositionHashQuantifiedGameTree x y positionHash criterionValue weightedMean Source #
type Depth = Int Source #
A distance down the tree.