Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data MCMCData a = MCMCData {
- numSteps :: Int
- numSuccesses :: Int
- samples :: [a]
- lk :: [Double]
- totalSteps :: Int
- drawUI :: ([a] -> Widget n) -> MCMCData a -> [Widget n]
- noVisual :: b -> Widget n
- showEmpirical :: (Show a, Ord a) => [a] -> Widget n
- showVal :: Show a => [a] -> Widget n
- appEvent :: BrickEvent n s -> EventM n s ()
- doneAttr :: AttrName
- toDoAttr :: AttrName
- theMap :: AttrMap
- tui :: Show a => Int -> Traced (Weighted SamplerIO) a -> ([a] -> Widget ()) -> IO ()
Documentation
MCMCData | |
|
drawUI :: ([a] -> Widget n) -> MCMCData a -> [Widget n] Source #
Brick is a terminal user interface (TUI) which we use to display inference algorithms in progress
draw the brick app
appEvent :: BrickEvent n s -> EventM n s () Source #
handler for events received by the TUI