LabeledTreeToCode

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

LabeledTreeToCode[g]

reduces the tree g to its Prüfer code.

Details

See Also

CodeToLabeledTree  Strings

Tutorials