bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Input.Options

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Defines configurable options.
  • CAVEAT: whilst naively, the flexibility of each automated player owning their own independent EvaluationOptions, seems attractive, that choice then requires maintainance of two independently quantified (& large) PositionHashQuantifiedGameTrees.
Synopsis

Types

Type-synonyms

type RandomSeed = Int Source #

A seed from which to construct a pseudo-random number-generator.

Data-types

data Options Source #

Defines the application's options.

Instances

Instances details
Eq Options Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

(==) :: Options -> Options -> Bool #

(/=) :: Options -> Options -> Bool #

Show Options Source # 
Instance details

Defined in BishBosh.Input.Options

Default Options Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

def :: Options #

NFData Options Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

rnf :: Options -> () #

XmlPickler Options Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

xpickle :: PU Options #

ShowFloat Options Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

showsFloat :: (Double -> ShowS) -> Options -> ShowS Source #

Constants

tag :: String Source #

Used to qualify XML.

maximumPliesTag :: String Source #

Used to qualify XML.

randomSeedTag :: String Source #

Used to qualify XML.

Functions

Constructor

mkOptions Source #

Arguments

:: Maybe NPlies

The maximum number of plies before the game is terminated; required for profiling the application.

-> Maybe RandomSeed

Optionally seed the pseudo-random number-generator to produce a repeatable sequence.

-> EvaluationOptions 
-> SearchOptions 
-> IOOptions 
-> Options 

Smart constructor.

Mutators

setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation Source #

Mutator.

setMaybeRandomSeed :: Maybe RandomSeed -> Transformation Source #

Mutator.

setMaybePersistence :: Maybe (FilePath, Bool) -> Transformation Source #

Mutator.

setVerbosity :: Verbosity -> Transformation Source #

Mutator.

setMaybePrintMoveTree :: Maybe Depth -> Transformation Source #

Mutator.

swapSearchDepth :: Transformation Source #

Mutator.