epistemic-group-gossip-0.1.0.0
Copyright(c) Jesper Kuiper 2021
Leander van Boven 2021
Ramon Meffert 2021
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Util

Description

 
Synopsis

Coloured printing

putStrFgc :: Color -> String -> IO () Source #

Prints the given message in a given colour.

putStrLnFgc :: Color -> String -> IO () Source #

Prints the given mesage with a new line in a given colour.

Messaging

printInvalidAction :: Char -> IO () Source #

Prints a message that an action is invalid for the current context.

printGraphComplete :: IO () Source #

Prints a message that the current graph is complete, i.e. every agent is an expert.

Pretty BDD to graph saving

writeToSvgGraph :: String -> Bdd -> IO () Source #

Save a Bdd in its graph structure as an SVG file. Uses the dot language, for which Graphviz needs to be installed.