A recursive algorithm for trees and forests
详细信息    查看全文
文摘
Trees or rooted trees have been generously studied in the literature. A forest is a set of trees or rooted trees. Here we give recurrence relations between the number of some kind of rooted forest with kk roots and that with k+1k+1 roots on {1,2,…,n}{1,2,…,n}. Classical formulas for counting various trees such as rooted trees, bipartite trees, tripartite trees, plane trees, kk-ary plane trees, kk-edge colored trees follow immediately from our recursive relations.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700