bishbosh-0.1.2.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 pieceSquareValue Source #

Defines the application's options.

Instances

Instances details
Eq pieceSquareValue => Eq (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

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

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

Show pieceSquareValue => Show (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

showsPrec :: Int -> Options pieceSquareValue -> ShowS #

show :: Options pieceSquareValue -> String #

showList :: [Options pieceSquareValue] -> ShowS #

Default (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

def :: Options pieceSquareValue #

NFData pieceSquareValue => NFData (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

rnf :: Options pieceSquareValue -> () #

(Fractional pieceSquareValue, Ord pieceSquareValue, Real pieceSquareValue, Show pieceSquareValue) => XmlPickler (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

xpickle :: PU (Options pieceSquareValue) #

(Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (Options pieceSquareValue) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

showsFloat :: (Double -> ShowS) -> Options pieceSquareValue -> 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 pieceSquareValue 
-> SearchOptions 
-> IOOptions 
-> Options pieceSquareValue 

Smart constructor.

Mutators

setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation pieceSquareValue Source #

Mutator.

setMaybeRandomSeed :: Maybe RandomSeed -> Transformation pieceSquareValue Source #

Mutator.

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

Mutator.

setVerbosity :: Verbosity -> Transformation pieceSquareValue Source #

Mutator.

setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation pieceSquareValue Source #

Mutator.

setMaybePrintMoveTree :: Maybe Depth -> Transformation pieceSquareValue Source #

Mutator.

swapSearchDepth :: Transformation pieceSquareValue Source #

Mutator.