Operations to transform ICurry graphs into XML representation.
type FingerPrint
= [(ChoiceID, Int)]
data State
Constructors:
State
:: Graph -> NodeID -> [NodeID] -> FingerPrint -> State
Fields:
graph
:: Graph
activeNode
:: NodeID
results
:: [NodeID]
fingerprint
:: FingerPrint
Known instances:
generateTextgraph
:: State -> String
compose4
:: (a -> b) -> (c -> d -> e -> f -> a) -> c -> d -> e -> f -> b
states2XmlGraphs
:: [State] -> XmlExp
generateXmlgraph
:: State -> XmlExp
generateXmlNode
:: Int -> [Int] -> (Int, Node) -> XmlExp
xmlChoiceMappings
:: [(Int, Int)] -> [XmlExp]
xmlChoiceMapping
:: (Int, Int) -> XmlExp
replaceChoiceIDs
:: [(Int, Node)] -> [(Int, Int)] -> [(Int, Int)]
lookupChoiceNodeIds
:: [(Int, Node)] -> Int -> [Int]
choiceReachableFrom
:: [(Int, Node)] -> [(Int, Int)] -> [Int] -> Int -> Int -> Bool
xmlEntry
:: String -> String -> XmlExp