SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
|
A class to support range minimum or range maximum queries on a random access container. More...
#include <rmq_succinct_sct.hpp>
Public Types | |
typedef bit_vector::size_type | size_type |
typedef bit_vector::size_type | value_type |
Public Member Functions | |
rmq_succinct_sct () | |
Default constructor. | |
template<class RandomAccessContainer > | |
rmq_succinct_sct (const RandomAccessContainer *v=NULL) | |
Constructor. | |
rmq_succinct_sct (const rmq_succinct_sct &rm) | |
Copy constructor. | |
~rmq_succinct_sct () | |
Destructor. | |
rmq_succinct_sct & | operator= (const rmq_succinct_sct &rm) |
void | swap (const rmq_succinct_sct &rm) |
size_type | operator() (const size_type l, const size_type r) const |
Range minimum/maximum query for the supported random access container v. | |
size_type | size () const |
size_type | serialize (std::ostream &out, structure_tree_node *v=NULL, std::string name="") const |
void | load (std::istream &in) |
Public Attributes | |
const bit_vector & | sct_bp |
const Bp_support & | sct_bp_support |
A class to support range minimum or range maximum queries on a random access container.
This class takes three template parameters:
size_type sdsl::rmq_succinct_sct< Minimum, Bp_support >::operator() | ( | const size_type | l, |
const size_type | r | ||
) | const [inline] |
Range minimum/maximum query for the supported random access container v.
l | Leftmost position of the interval . |
r | Rightmost position of the interval . |