Rudiments
include
rudiments
private
treenode.h
1
// Copyright (c) 1999-2018 David Muse
2
// See the COPYING file for more information.
3
4
virtual
void
detach(
treenode<valuetype>
**
treetop
)=0;
5
6
virtual
void
adjustParentHeights(
7
treenode<valuetype>
*
node
)=0;
8
9
virtual
void
balance(
treenode<valuetype>
**
treetop
)=0;
10
11
virtual
treenode<valuetype>
*leftRightRotate(
12
treenode<valuetype>
**
treetop
)=0;
13
virtual
treenode<valuetype>
*rightLeftRotate(
14
treenode<valuetype>
**
treetop
)=0;
15
virtual
treenode<valuetype>
*leftRotate(
16
treenode<valuetype>
**
treetop
)=0;
17
virtual
treenode<valuetype>
*rightRotate(
18
treenode<valuetype>
**
treetop
)=0;
19
20
virtual
void
setParent(
treenode<valuetype>
*
node
)=0;
21
virtual
void
setLeftChild(
treenode<valuetype>
*
node
)=0;
22
virtual
void
setRightChild(
treenode<valuetype>
*
node
)=0;
23
virtual
void
setLeftHeight(uint8_t
height
)=0;
24
virtual
void
setRightHeight(uint8_t
height
)=0;
avltreenode
Definition
avltree.h:11
Generated on Tue Dec 3 2024 01:50:18 for Rudiments by
1.10.0