find-clumpiness-0.2.0.1: Find the clumpiness of labels in a tree

Safe HaskellNone
LanguageHaskell2010

TreeTransform

Synopsis

Documentation

convertToSuperTree :: Tree NodeLabel -> Tree (SuperNode NodeLabel) Source

Convert the input tree to a SuperNodeTree

getPropertyMap :: Tree (SuperNode NodeLabel) -> PropertyMap NodeLabel Label Source

Get the PropertyMap of a SuperNodeTree, ignoring nodes that have no labels

innerToLeaves :: Tree NodeLabel -> Tree NodeLabel Source

Convert inner nodes with labels to leaves

filterExclusiveTree :: Exclusivity -> Tree NodeLabel -> Tree NodeLabel Source

Change labels to be exclusive or not