Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- The unweighted values of each criterion used to assess the fitness of a position, & the resulting weighted mean.
Synopsis
- data WeightedMeanAndCriterionValues weightedMean criterionValue
- criterionValuesTag :: String
- weightedMeanTag :: String
- negateWeightedMean :: Num weightedMean => WeightedMeanAndCriterionValues weightedMean criterionValue -> WeightedMeanAndCriterionValues weightedMean criterionValue
- mkWeightedMeanAndCriterionValues :: weightedMean -> [criterionValue] -> WeightedMeanAndCriterionValues weightedMean criterionValue
Types
Data-types
data WeightedMeanAndCriterionValues weightedMean criterionValue Source #
A weighted mean & the individual unweighted criterion-value from which it was composed.
Instances
Constants
criterionValuesTag :: String Source #
Qualifies output.
weightedMeanTag :: String Source #
Qualifies output.
Functions
negateWeightedMean :: Num weightedMean => WeightedMeanAndCriterionValues weightedMean criterionValue -> WeightedMeanAndCriterionValues weightedMean criterionValue Source #
- Negate the weightedMean, but leave the criterion-values unaltered.
- This can be used to assess the fitness of a position from the perspective of one's opponent.
Constructor
mkWeightedMeanAndCriterionValues :: weightedMean -> [criterionValue] -> WeightedMeanAndCriterionValues weightedMean criterionValue Source #
Constructor