| 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 x y
- tag :: String
- maximumPliesTag :: String
- randomSeedTag :: String
- mkOptions :: Maybe NPlies -> Maybe RandomSeed -> EvaluationOptions pieceSquareValue x y -> SearchOptions -> IOOptions -> Options pieceSquareValue x y
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation pieceSquareValue x y
- setMaybeRandomSeed :: Maybe RandomSeed -> Transformation pieceSquareValue x y
- setMaybePersistence :: Maybe (FilePath, Bool) -> Transformation pieceSquareValue x y
- setVerbosity :: Verbosity -> Transformation pieceSquareValue x y
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation pieceSquareValue x y
- setMaybePrintMoveTree :: Maybe Depth -> Transformation pieceSquareValue x y
- swapSearchDepth :: Transformation pieceSquareValue x y
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
| (Enum x, Enum y, Ord x, Ord y, Eq pieceSquareValue) => Eq (Options pieceSquareValue x y) Source # | |
| (Enum x, Enum y, Ord x, Ord y, Show x, Show y, Show pieceSquareValue) => Show (Options pieceSquareValue x y) Source # | |
| Default (Options pieceSquareValue x y) Source # | |
Defined in BishBosh.Input.Options | |
| (NFData pieceSquareValue, NFData x, NFData y) => NFData (Options pieceSquareValue x y) Source # | |
Defined in BishBosh.Input.Options | |
| (Enum x, Enum y, Fractional pieceSquareValue, Ord pieceSquareValue, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => XmlPickler (Options pieceSquareValue x y) Source # | |
Defined in BishBosh.Input.Options | |
| (Enum x, Enum y, Ord x, Ord y, Real pieceSquareValue, Show pieceSquareValue) => ShowFloat (Options pieceSquareValue x y) 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 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.