@ -9,13 +9,6 @@ import (
*/
type BpMap BpTree
func (self *BpMap) getRoot() *BpNode {
return self.root
}
func (self *BpMap) setRoot(root *BpNode) {
self.root = root
func NewBpMap(node_size int) *BpMap {
return &BpMap{
root: NewLeaf(node_size),
@ -10,13 +10,6 @@ type BpTree struct {
root *BpNode
func (self *BpTree) getRoot() *BpNode {
func (self *BpTree) setRoot(root *BpNode) {
type loc_iterator func() (i int, leaf *BpNode, li loc_iterator)
func NewBpTree(node_size int) *BpTree {
@ -0,0 +1,15 @@
package bptree