CrystalSpace

Public API Reference

CS::Container::RedBlackTreeOrderingPartial< K, K2 > Class Template Reference

Partial ordering (http://en.wikipedia.org/wiki/Partial_order) for red-black-trees. More...

#include <csutil/redblacktree.h>

List of all members.


Detailed Description

template<typename K, typename K2>
class CS::Container::RedBlackTreeOrderingPartial< K, K2 >

Partial ordering (http://en.wikipedia.org/wiki/Partial_order) for red-black-trees.

Not that this will change the runtime characteristics. In the worst case - no key is comparable to the other - operations may take linear time instead of logarithmic as operations degenerate into an exhaustive search.

requires the key type to implement operator<() and operator==().
the following axioms shall be true: a <= a, a <= b && b <= a <=> a == b, a <= b && b <= c <=> a <= c, !(a <= b) && !(b <= a) <=> a and b are incomparable

Definition at line 195 of file redblacktree.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1