P318: Enumeration of all binary trees

P318: Enumeration of all binary trees
Input:
Output:
All binary trees.
Complexity:
$O(1)$ time per tree.
Comment:
Reference:
[Xiang1997] (Bibtex)