Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- type RandomSeed = Int
- data Options
- tag :: String
- maximumPliesTag :: String
- randomSeedTag :: String
- mkOptions :: Maybe NPlies -> Maybe RandomSeed -> EvaluationOptions -> SearchOptions -> IOOptions -> Options
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation
- setMaybeRandomSeed :: Maybe RandomSeed -> Transformation
- setMaybePersistence :: Maybe (FilePath, Bool) -> Transformation
- setVerbosity :: Verbosity -> Transformation
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation
- setMaybePrintMoveTree :: Maybe Depth -> Transformation
- swapSearchDepth :: Transformation
Types
Type-synonyms
type RandomSeed = Int Source #
A seed from which to construct a pseudo-random number-generator.
Data-types
Defines the application's options.
Constants
maximumPliesTag :: String Source #
Used to qualify XML.
randomSeedTag :: String Source #
Used to qualify XML.
Functions
Constructor
:: 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.
setVerbosity :: Verbosity -> Transformation Source #
Mutator.
setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation Source #
Mutator.
setMaybePrintMoveTree :: Maybe Depth -> Transformation Source #
Mutator.
swapSearchDepth :: Transformation Source #
Mutator.