hbayes-0.5.2: Bayesian Networks

Safe HaskellNone
LanguageHaskell2010

Bayes.ImportExport.HuginNet

Description

Parser for a subset of the Hugin Net language

Synopsis

Documentation

importBayesianGraph :: Factor f => String -> IO (Maybe (BNMonad DirectedSG f (Map String DV))) Source

Import a bayesian network form a Hugin file. Only a subset of the file format is supported. You may have to convert the line endings to be able to parse a file When it is succeeding, it is returing a bayesian network monad and a mapping from node names to discrete variables.