Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines configurable options.
- type RandomSeed = Int
- data Options column criterionWeight pieceSquareValue rankValue row x y
- tag :: String
- maximumPliesTag :: String
- randomSeedTag :: String
- mkOptions :: Maybe NMoves -> Maybe RandomSeed -> EvaluationOptions criterionWeight pieceSquareValue rankValue x y -> SearchOptions -> IOOptions row column -> Options column criterionWeight pieceSquareValue rankValue row x y
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- setMaybeRandomSeed :: Maybe RandomSeed -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- setMaybePersistence :: Maybe (FilePath, Bool) -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- setVerbosity :: Verbosity -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions row column -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- setMaybePrintMoveTree :: Maybe Depth -> Transformation column criterionWeight pieceSquareValue rankValue row x y
- swapSearchDepth :: Transformation column criterionWeight pieceSquareValue rankValue row x y
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.
(Eq row, Eq column, Eq rankValue, Eq criterionWeight, Eq pieceSquareValue, Ord y, Ord x, Enum y, Enum x) => Eq (Options column criterionWeight pieceSquareValue rankValue row x y) Source # | |
(Show row, Show column, Show rankValue, Show criterionWeight, Show pieceSquareValue, Show y, Show x, Ord y, Ord x, Enum y, Enum x) => Show (Options column criterionWeight pieceSquareValue rankValue row x y) Source # | |
(NFData column, NFData criterionWeight, NFData pieceSquareValue, NFData rankValue, NFData row, NFData x, NFData y) => NFData (Options column criterionWeight pieceSquareValue rankValue row x y) Source # | |
(Fractional rankValue, Num criterionWeight, Num column, Num row, Ord rankValue, Show rankValue) => Default (Options column criterionWeight pieceSquareValue rankValue row x y) Source # | |
(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 # | |
(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 # | |
Constants
maximumPliesTag :: String Source #
Used to qualify XML.
randomSeedTag :: String Source #
Used to qualify XML.
Functions
Constructor
:: 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.