bishbosh-0.0.0.4: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Input.Options

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines configurable options.
Synopsis

Types

Type-synonyms

type RandomSeed = Int Source #

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

Data-types

data Options column criterionWeight pieceSquareValue rankValue row x y Source #

Defines the application's options.

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

Defined in BishBosh.Input.Options

Methods

(==) :: Options column criterionWeight pieceSquareValue rankValue row x y -> Options column criterionWeight pieceSquareValue rankValue row x y -> Bool #

(/=) :: Options column criterionWeight pieceSquareValue rankValue row x y -> Options column criterionWeight pieceSquareValue rankValue row x y -> Bool #

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

Defined in BishBosh.Input.Options

Methods

showsPrec :: Int -> Options column criterionWeight pieceSquareValue rankValue row x y -> ShowS #

show :: Options column criterionWeight pieceSquareValue rankValue row x y -> String #

showList :: [Options column criterionWeight pieceSquareValue rankValue row x y] -> ShowS #

(NFData column, NFData criterionWeight, NFData pieceSquareValue, NFData rankValue, NFData row, NFData x, NFData y) => NFData (Options column criterionWeight pieceSquareValue rankValue row x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

rnf :: Options column criterionWeight pieceSquareValue rankValue row x y -> () #

(Fractional rankValue, Num criterionWeight, Num column, Num row, Ord rankValue, Show rankValue) => Default (Options column criterionWeight pieceSquareValue rankValue row x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

def :: Options column criterionWeight pieceSquareValue rankValue row x y #

(Enum x, Enum y, Fractional pieceSquareValue, Fractional rankValue, XmlPickler column, XmlPickler criterionWeight, XmlPickler rankValue, XmlPickler row, Integral column, Integral row, Num criterionWeight, Ord pieceSquareValue, Ord rankValue, Ord x, Ord y, Real criterionWeight, Real pieceSquareValue, Show column, Show criterionWeight, Show pieceSquareValue, Show rankValue, Show row) => XmlPickler (Options column criterionWeight pieceSquareValue rankValue row x y) Source # 
Instance details

Defined in BishBosh.Input.Options

Methods

xpickle :: PU (Options column criterionWeight pieceSquareValue rankValue row x y) #

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

Defined in BishBosh.Input.Options

Methods

showsFloat :: (Double -> ShowS) -> Options column criterionWeight pieceSquareValue rankValue row 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 NMoves

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 criterionWeight pieceSquareValue rankValue x y 
-> SearchOptions 
-> IOOptions row column 
-> Options column criterionWeight pieceSquareValue rankValue row x y 

Smart constructor.

Mutators

setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.

setMaybeRandomSeed :: Maybe RandomSeed -> Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.

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

Mutator.

setVerbosity :: Verbosity -> Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.

setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions row column -> Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.

setMaybePrintMoveTree :: Maybe Depth -> Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.

swapSearchDepth :: Transformation column criterionWeight pieceSquareValue rankValue row x y Source #

Mutator.