Bentley-Otmann Algorithm 2.0
An implementation of Bentley-Ottmann algorithm in order to count the m,n-cubes
|
Basic structure for a priority queue. More...
#include <structures.hpp>
Public Types | |
typedef std::map< T, std::vector< A > > | Type |
Basic structure for a priority queue.
This is the ground of our priority queue's definition. Type 'map' of the STL uses a red-black tree assuring a logarithmic time complexity. We use that kind of tree (binary search tree) instead of the traditional heap to be able to search for a element in a logarithmic way (heaps make it linear).
Definition at line 86 of file structures.hpp.