Skip to main content

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.

See Also

Was this page helpful?