| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
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
- type RandomSeed = Int
- data Options pieceSquareValue
- tag :: String
- maximumPliesTag :: String
- randomSeedTag :: String
- mkOptions :: Maybe NPlies -> Maybe RandomSeed -> EvaluationOptions pieceSquareValue -> SearchOptions -> IOOptions -> Options pieceSquareValue
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation pieceSquareValue
- setMaybeRandomSeed :: Maybe RandomSeed -> Transformation pieceSquareValue
- setMaybePersistence :: Maybe (FilePath, Bool) -> Transformation pieceSquareValue
- setVerbosity :: Verbosity -> Transformation pieceSquareValue
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation pieceSquareValue
- setMaybePrintMoveTree :: Maybe Depth -> Transformation pieceSquareValue
- swapSearchDepth :: Transformation pieceSquareValue
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
| Eq pieceSquareValue => Eq (Options pieceSquareValue) Source # | |
| Show pieceSquareValue => Show (Options pieceSquareValue) Source # | |
| Default (Options pieceSquareValue) Source # | |
Defined in BishBosh.Input.Options | |
| NFData pieceSquareValue => NFData (Options pieceSquareValue) Source # | |
Defined in BishBosh.Input.Options | |
| (Fractional pieceSquareValue, Ord pieceSquareValue, Real pieceSquareValue, Show pieceSquareValue) => XmlPickler (Options pieceSquareValue) Source # | |
Defined in BishBosh.Input.Options | |
| (Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (Options pieceSquareValue) Source # | |
Defined in BishBosh.Input.Options | |
Constants
maximumPliesTag :: String Source #
Used to qualify XML.
randomSeedTag :: String Source #
Used to qualify XML.
Functions
Constructor
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.
setVerbosity :: Verbosity -> Transformation pieceSquareValue Source #
Mutator.
setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation pieceSquareValue Source #
Mutator.
setMaybePrintMoveTree :: Maybe Depth -> Transformation pieceSquareValue Source #
Mutator.
swapSearchDepth :: Transformation pieceSquareValue Source #
Mutator.