[英]Does anyone know where I might find a file based multi-way B-Tree Class for c#?
I need to implement a file based multi-way B-Tree Class for c#. 我需要为c#实现一个基于文件的多路B-Tree类。 There is similar functionality available for C++ and C but I want to use it in C#. C ++和C有类似的功能,但我想在C#中使用它。 It also need to be available as source code as I wish to use with some alternative .NET implementations like MonoTouch. 它也需要作为源代码提供,因为我希望与MonoTouch等一些替代.NET实现一起使用。
If anyone knows of a non file based Multiway b-Tree then this could adapted faily easily to be file based. 如果有人知道基于非文件的Multiway b-Tree那么这可以很容易地适应基于文件。 You make each Multiway page/array of nodes a record/sector in the file. 您将每个Multiway页面/节点数组作为文件中的记录/扇区。 And save them when they change. 并在他们改变时保存它们。
Anyone? 任何人?
From what I've seen the B-Tree isn't widely implemented in C#, but I could be wrong. 从我所看到的B-Tree并没有在C#中广泛实现,但我可能是错的。
However a quick search , turned up this implementation and the comments look positive. 然而, 快速搜索 ,发现这个实现和评论看起来是积极的。
I scrounged up some stuff of CodePlex: 我找到了CodePlex的一些东西:
创建一个调用C / C ++代码的C#包装器 ?
这似乎是您正在寻找的: 用于SCM,Java,C#和C的WB B树数据库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.