This struct is defined as follows:
typedef struct _rsplay_tree
{
RSplayComparator compare;
RSplayComparator comparek;
int size;
float probability; /* Chance of rotating up on access [0 - 1] */
struct rsplaynode *root;
}
RSplayTree;
To use this struct, include the file rsplay.h
.
Was this page helpful?