Module
DecisionTheory
- Package
- purescript-decision-theory
- Repository
- colehaus/purescript-decision-theory
#Row Source
type Row = NonEmptyList
#dominatesWeakly Source
dominatesWeakly :: forall cell. PartialOrd cell => Row cell -> Row cell -> Boolean
#dominatesStrongly Source
dominatesStrongly :: forall cell. PartialOrd cell => Row cell -> Row cell -> Boolean
#dominatesStrongly' Source
dominatesStrongly' :: forall cell. PartialOrd cell => Row cell -> Row cell -> Boolean
A functionally identical variant of dominatesStrongly
which emphasizes that it is the asymmetric version of dominatesWeakly
#ximin Source
ximin :: forall cell. Ord cell => (forall a. NonEmptyList a -> NonEmptyList a) -> Row cell -> Row cell -> Boolean
Helper function which is used to implement both leximin'
and maximin
'
#optimismPessimism Source
optimismPessimism :: forall n. Ord n => Ring n => Proportion n -> Row n -> Row n -> Boolean
#maximax'' Source
maximax'' :: forall n. Ord n => Ring n => NonEmptyList n -> NonEmptyList n -> Boolean
#maximin'' Source
maximin'' :: forall n. Ord n => Ring n => NonEmptyList n -> NonEmptyList n -> Boolean
- Modules
- DecisionTheory