Python and MATLAB implementation of algorithm 7.2.1.6.R in Knuth's volume 4, fascicle 4, on generating all trees.
fayolle / random_tree_remy Goto Github PK
View Code? Open in Web Editor NEWGenerate random trees (implementation of algorithm 7.2.1.6.R in Knuth's TAOCP)