Bayes

Graph

Graph classes

class Graph g

class UndirectedGraph g

class DirectedGraph g

class FoldableWithVertex g

class FunctorWithVertex g

class NamedGraph g

Graph Monad

data GraphMonad g e f a

type GMState g e f

graphNode

runGraph

execGraph

evalGraph

emptyAuxiliaryState

getNewEmptyVariable

isRoot

rootNode

parentNodes

childrenNodes

markovBlanket

Support functions for Graph constructions

data Vertex

data Edge

edge

newEdge

getVertex

edgeEndPoints

connectedGraph

dag

printGraphValues

SimpleGraph implementation

The SimpleGraph type

type DirectedSG

type UndirectedSG

type SBN f

varMap

displaySimpleGraph

Bayesian network

type BayesianNetwork g f

Testing

testEdgeRemoval_prop

testVertexRemoval_prop