License | MIT |
---|---|
Maintainer | Joe Leslie-Hurd <joe@gilith.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Documentation
applyStrategy :: Strategy p -> [p] -> [(p, Weight)] Source #
weightlessStrategy :: [p] -> [(p, Weight)] Source #
idStrategy :: Strategy p Source #
noStrategy :: Strategy p Source #
tryStrategy :: Strategy p -> Strategy p Source #
filterStrategy :: (p -> Bool) -> Strategy p Source #
maxStrategy :: Ord v => (p -> v) -> Strategy p Source #
validateStrategy :: Ord p => Game p -> Solve p -> Player -> Strategy p -> Player -> p -> StrategyFail p Source #
type Adversaries p = PlayerState [(Strategy p, ProbWin p)] Source #
probWinWith :: Ord p => Game p -> Player -> Strategy p -> ProbWin p -> Player -> p -> (Prob, ProbWin p) Source #
moveDist :: Ord p => Game p -> Solve p -> Adversaries p -> Player -> p -> ([(Prob, p)], Adversaries p) Source #