next up previous
Next: make-special-tree Up: Commands Previous: generate-trees-of-order

print-trees-of-order

(print-trees-of-order n) prints the same trees that (generate-trees-of-order n) would generate, in the format that one would manually enter them. This can be useful in visualizing the graphs.

CL-USER 6 > (print-trees-of-order 4)

4
0 1 0 0 
1 0 1 1 
0 1 0 0 
0 1 0 0 

4
0 1 0 0 
1 0 1 0 
0 1 0 1 
0 0 1 0 
Nil

CL-USER 7 > (print-trees-of-order 7)

7
0 1 0 0 0 0 0 
1 0 1 1 1 1 1 
0 1 0 0 0 0 0 
0 1 0 0 0 0 0 
0 1 0 0 0 0 0 
0 1 0 0 0 0 0 
0 1 0 0 0 0 0 

...

7
0 1 0 0 0 0 0 
1 0 1 0 0 0 0 
0 1 0 1 0 0 0 
0 0 1 0 1 0 0 
0 0 0 1 0 1 0 
0 0 0 0 1 0 1 
0 0 0 0 0 1 0 
Nil



Joshua Taylor 2005-04-27