bishbosh-0.1.1.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 x y Source #

Defines the application's options.

Instances

Instances details
(Enum x, Enum y, Ord x, Ord y, Eq pieceSquareValue) => Eq (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

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

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

(Enum x, Enum y, Ord x, Ord y, Show x, Show y, Show pieceSquareValue) => Show (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

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

show :: Options pieceSquareValue x y -> String #

showList :: [Options pieceSquareValue x y] -> ShowS #

Default (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

def :: Options pieceSquareValue x y #

(NFData pieceSquareValue, NFData x, NFData y) => NFData (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

rnf :: Options pieceSquareValue x y -> () #

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

Defined in BishBosh.Input.Options

Methods

xpickle :: PU (Options pieceSquareValue x y) #

(Enum x, Enum y, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (Options pieceSquareValue x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

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

Smart constructor.

Mutators

setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation pieceSquareValue x y Source #

Mutator.

setMaybeRandomSeed :: Maybe RandomSeed -> Transformation pieceSquareValue x y Source #

Mutator.

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

Mutator.

setVerbosity :: Verbosity -> Transformation pieceSquareValue x y Source #

Mutator.

setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation pieceSquareValue x y Source #

Mutator.

setMaybePrintMoveTree :: Maybe Depth -> Transformation pieceSquareValue x y Source #

Mutator.

swapSearchDepth :: Transformation pieceSquareValue x y Source #

Mutator.