Safe Haskell | Safe |
---|---|

Language | Haskell98 |

- treeDepth :: [Rational]
- treeDepthSeq :: [[Integer]]
- nodeDepth :: [[Integer]]
- nodeDegreeProb :: [[Rational]]
- nodeDegreeExpect :: [Rational]

# Documentation

treeDepthSeq :: [[Integer]] Source #

nodeDepth :: [[Integer]] Source #

`nodeDepth !! n !! k`

is the absolute frequency
of nodes with depth k in trees with n nodes.

nodeDegreeProb :: [[Rational]] Source #

`nodeDegree !! n !! k`

is the number of nodes
with outdegree k in a n-node tree.

nodeDegreeExpect :: [Rational] Source #

expected value of node degree