Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines distinct types for various mass (uncountable) quantities.
- These prevent accidental conflation between conceptually different quantities.
Synopsis
- type CriterionWeight = Double
- type CriterionValue = CriterionWeight
- type WeightedMean = CriterionValue
- type RankValue = CriterionValue
- type PieceSquareValue = CriterionValue
Types
Type-synonyms
type CriterionWeight = Double Source #
The preferred type by which to weight criteria.
type CriterionValue = CriterionWeight Source #
The preferred type by which to value criteria.
type WeightedMean = CriterionValue Source #
The preferred type by which to represent fitness.
type RankValue = CriterionValue Source #
The preferred type by which to represent the value of a rank.
type PieceSquareValue = CriterionValue Source #
- The preferred type by which to represent a piece-square value.
- CAVEAT: performance of
interpolatePieceSquareValues
suffers from use ofRational
.