combinatorial-0.1.0.1: Count, enumerate, rank and unrank combinatorial objects

Combinatorics.TreeDepth

Synopsis

# Documentation

nodeDepth :: [[Integer]] Source #

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

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

expected value of node degree