Safe Haskell | None |
---|---|
Language | Haskell2010 |
Import / export Bayesian networks and junction tress
- writeNetworkToFile :: FilePath -> SBN CPT -> IO ()
- readNetworkFromFile :: FilePath -> IO (SBN CPT)
- writeVariableMapAndJunctionTreeToFile :: FilePath -> Map String Vertex -> JunctionTree CPT -> IO ()
- readVariableMapAndJunctionTreeToFile :: FilePath -> IO (Map String Vertex, JunctionTree CPT)
Networks
Write a bayesian network to file
Junction Tree
writeVariableMapAndJunctionTreeToFile :: FilePath -> Map String Vertex -> JunctionTree CPT -> IO () Source
Write a junction tree and the variable map to a file
readVariableMapAndJunctionTreeToFile :: FilePath -> IO (Map String Vertex, JunctionTree CPT) Source
Read variable map and junction tree from file