Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrByLogical = errors.New("logical error")
Functions ¶
This section is empty.
Types ¶
type BiTree ¶
type BiTree struct {
// contains filtered or unexported fields
}
func BiTreeMerge ¶
func (*BiTree) InsertLeft ¶
func (b *BiTree) InsertLeft(n *BiTreeNode, data interface{})
func (*BiTree) InsertRight ¶
func (b *BiTree) InsertRight(n *BiTreeNode, data interface{})
func (*BiTree) RemoveLeft ¶
func (b *BiTree) RemoveLeft(n *BiTreeNode)
func (*BiTree) RemoveRight ¶
func (b *BiTree) RemoveRight(n *BiTreeNode)
func (*BiTree) Root ¶
func (b *BiTree) Root() *BiTreeNode
type BiTreeNode ¶
type BiTreeNode struct {
// contains filtered or unexported fields
}
func (*BiTreeNode) Data ¶
func (b *BiTreeNode) Data() interface{}
func (*BiTreeNode) Left ¶
func (b *BiTreeNode) Left() *BiTreeNode
func (*BiTreeNode) Right ¶
func (b *BiTreeNode) Right() *BiTreeNode
Click to show internal directories.
Click to hide internal directories.