LabeledTreeToCode

LabeledTreeToCode[g]
reduces the tree g to its Prüfer code.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »