如何生成复杂的非二叉树?
我想创建一个复杂的树,其中每个子树都可以有多个深入的分支。我在哪里可以找到这方面的信息?
编辑: 好吧,二叉树也符合我的需求。但我找不到 C# 的随机二叉树生成器
I want to create a complex tree, where every subtree can have several branches that go deep. Where can I find info about this?
EDIT:
OK, binary tree also suits my needs. But I can't find random binary tree generator for C#
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对于实现和来源:
http://daisley-harrison.com /blog/post/NET-Generic-BTree-Library-and-Source-Code.aspx
对于概念和解释,维基百科是您的朋友:http://en.wikipedia.org/wiki/B-tree
For an implementation and source:
http://daisley-harrison.com/blog/post/NET-Generic-BTree-Library-and-Source-Code.aspx
For concepts and explanation, Wikipedia is your friend: http://en.wikipedia.org/wiki/B-tree
你的问题中的单词复杂可能意味着你不完全理解你需要什么特定的树)你应该首先阅读有关树的一般材料,你会找到最接近的树类型......
这里有各种各样的数据结构包括数十种树类型:在此处输入链接描述
Word complex in your question might mean that you don't exactly understand, what particular tree you need ) You should read general material about trees first and you'll find the closest type of tree...
Here is wide range of data-structures including dozens of tree-types: enter link description here
也很好的解释,我目前正在研究这个并且发现这很有用
http://xlinux.nist.gov/dads//HTML/tree.html
但总的来说,yandex.com 会帮助您
also good explanation, i'm currently study this and have found this useful
http://xlinux.nist.gov/dads//HTML/tree.html
but in general,yandex.com will help you