KaryTree[n] gives a binary tree with n vertices.KaryTree[n, k] gives a k-ary tree with n vertices.
SetProperty[{obj, item}, name -> value] sets the property name -> value for item in obj.
PropertyValue[{obj, item}, name] gives the property value associated with name for item in obj.
TreeGraph[{v_1, v_2, ...}, {u_1, u_2, ...}] yields a tree where u_i is the predecessor of v_i.TreeGraph[{e_1, e_2, ...}] yields a tree with edges e_j.TreeGraph[{v_1, v_2, ...
As of Version 8, much of the functionality covered by Combinatorica has been implemented in the Mathematica kernel. BooleanAlgebra CodeToLabeledTree HasseDiagram ...
Mathematica has over 3000 built-in functions and other objects, all based on a single unified framework, and all carefully designed to work together, both in simple ...
Combinatorica extends Mathematica by over 450 functions in combinatorics and graph theory. It includes functions for constructing graphs and other combinatorial objects, ...