Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Unlike Matrix
, Recomp
, etc., the Best
monad only keeps the best set of results.
This makes the analytical synthesis like IgorII, and the exhaustive synthesis like Djinn,
i.e., the resulting algorithms are more efficient, but cannot be used for (analytically-)generate-and-test.
Instances
Monad Best Source # | |
Functor Best Source # | |
Applicative Best Source # | |
Alternative Best Source # | |
MonadPlus Best Source # | |
Search Best Source # | |
Defined in Control.Monad.Search.Best fromRc :: Recomp a -> Best a Source # toRc :: Best a -> Recomp a Source # fromMx :: Matrix a -> Best a Source # toMx :: Best a -> Matrix a Source # fromDB :: DBound a -> Best a Source # fromDF :: [a] -> Best a Source # toDF :: Best a -> [a] Source # mapDepth :: (Bag a -> Bag b) -> Best a -> Best b Source # catBags :: Best (Bag a) -> Best a Source # mergesortDepthWithBy :: (k -> k -> k) -> (k -> k -> Ordering) -> Best k -> Best k Source # ifDepth :: (Int -> Bool) -> Best a -> Best a -> Best a Source # | |
Delay Best Source # | |
Memoable Best Best Source # | |
Read a => Read (Best a) Source # | |
Show a => Show (Best a) Source # | |