toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.trees.avl
/
AVLNode
AVLNode
class
AVLNode
<
T
:
Comparable
<
T
>
>
(
var
value
:
T
)
Members
Constructors
AVLNode
Link copied to clipboard
constructor
(
value
:
T
)
Properties
balance
Factor
Link copied to clipboard
val
balanceFactor
:
Int
height
Link copied to clipboard
var
height
:
Int
left
Child
Link copied to clipboard
var
leftChild
:
AVLNode
<
T
>
?
left
Height
Link copied to clipboard
val
leftHeight
:
Int
min
Link copied to clipboard
val
min
:
AVLNode
<
T
>
?
right
Child
Link copied to clipboard
var
rightChild
:
AVLNode
<
T
>
?
right
Height
Link copied to clipboard
val
rightHeight
:
Int
value
Link copied to clipboard
var
value
:
T
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
traverse
In
Order
Link copied to clipboard
fun
traverseInOrder
(
visit
:
Visitor
<
T
>
)
traverse
Post
Order
Link copied to clipboard
fun
traversePostOrder
(
visit
:
Visitor
<
T
>
)
traverse
Pre
Order
Link copied to clipboard
fun
traversePreOrder
(
visit
:
Visitor
<
T
>
)