|
SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
|
A stack class which contains ... More...
#include <sorted_multi_stack_support.hpp>
Public Types | |
| typedef int_vector< 64 >::size_type | size_type |
Public Member Functions | |
| sorted_multi_stack_support (size_type n) | |
| Constructor. | |
| sorted_multi_stack_support (const sorted_multi_stack_support &sis) | |
| bool | empty () const |
| const size_type | top () const |
| bool | pop () |
| bool | push (size_type x) |
| size_type | size () const |
| size_type | serialize (std::ostream &out) const |
| void | load (std::istream &in) |
| sorted_multi_stack_support & | operator= (const sorted_multi_stack_support &sis) |
| Assign Operator. | |
| bool | operator== (const sorted_multi_stack_support &sis) const |
| Equality Operator. | |
| bool | operator!= (const sorted_multi_stack_support &sis) const |
| Unequality Operator. | |
A stack class which contains ...
bits | sdsl::sorted_multi_stack_support::sorted_multi_stack_support | ( | size_type | n | ) | [inline] |
Constructor.
| n | Miximum that can be pushed onto the stack |
| bool sdsl::sorted_multi_stack_support::empty | ( | ) | const [inline] |
Returns if the stack is empty.
| bool sdsl::sorted_multi_stack_support::operator!= | ( | const sorted_multi_stack_support & | sis | ) | const [inline] |
Unequality Operator.
Two sorted_multi_stack_supports are not equal if any member variable are not equal.
Required for the Equality Comparable Concept of the STL.
| sorted_multi_stack_support & sdsl::sorted_multi_stack_support::operator= | ( | const sorted_multi_stack_support & | sis | ) | [inline] |
Assign Operator.
Required for the Assignable Concept of the STL.
| bool sdsl::sorted_multi_stack_support::operator== | ( | const sorted_multi_stack_support & | sis | ) | const [inline] |
Equality Operator.
Two sorted_multi_stack_supports are equal if all member variables are equal.
Required for the Equality Comparable Concept of the STL.
| bool sdsl::sorted_multi_stack_support::pop | ( | ) | [inline] |
| bool sdsl::sorted_multi_stack_support::push | ( | size_type | x | ) | [inline] |
Push the index x of vector vec onto the stack.
| size_type sdsl::sorted_multi_stack_support::size | ( | ) | const [inline] |
Returns the number of element is the stack.
| const sorted_multi_stack_support::size_type sdsl::sorted_multi_stack_support::top | ( | ) | const [inline] |
Returns the topmost index on the stack.
1.8.0