int parent
The rank of the parent.
void Binary_Tree_init(struct Binary_Tree *bt, int rank, int size)
Initialization of a binary tree.
int rank
The rank of the element.
static int Binary_Tree_right_child(struct Binary_Tree *bt)
Getter on the right child.
Struct defining a binary tree.
static int Binary_Tree_parent(struct Binary_Tree *bt)
Getter on the parent.
static int Binary_Tree_left_child(struct Binary_Tree *bt)
Getter on the left child.
static int Binary_Tree_child_count(struct Binary_Tree *bt)
int right_child
The rank of the right child.
void Binary_Tree_release(struct Binary_Tree *bt)
releases a binary tree
int size
The size of the element.
int left_child
The rank of the left child.