Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration BalanceState

Represents how balanced an AvlNode's left and right children are.

Index

Enumeration members

BALANCED

BALANCED: = 0

The children are balanced.

SLIGHTLY_UNBALANCED_LEFT

SLIGHTLY_UNBALANCED_LEFT: = 1

Has a height difference of 1 to the left.

SLIGHTLY_UNBALANCED_RIGHT

SLIGHTLY_UNBALANCED_RIGHT: = -1

Has a height difference of 1 to the right.

UNBALANCED_LEFT

UNBALANCED_LEFT: = 2

Has a height difference of 2 to the left.

UNBALANCED_RIGHT

UNBALANCED_RIGHT: = -2

Has a height difference of 2 to the right.

Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM