|
ADS
Algorithms and Data Structures
|
The persistent structures of ADS in the archives of cereal (https://uscilab.github.io/cereal/), beside the format of ADS. More...
Files | |
| file | ADS/interop/cereal/Cereal.h |
| The persistent structures of ADS [see Persistence.h] in the archives of cereal (https://uscilab.github.io/cereal/), beside the format of ADS: a program that includes this header writes a RankSelect, a WaveletMatrix or a BinaryFuseFilter with ar( x ) into its own archives, binary, portable binary, JSON or XML, next to its other data, and reads it back in the same way. | |
Functions | |
| template<class Ar, Persistent T> | |
| void | ADS::save (Ar &a, const T &x) |
| the structure \( x \) written to the archive \( a \) of cereal | |
| template<class Ar, Persistent T> | |
| void | ADS::load (Ar &a, T &x) |
| the structure \( x \) read from the archive \( a \) of cereal | |
| template<class Ar> | |
| void | ADS::save (Ar &a, const BitVector &b) |
| the bits \( b \) written to the archive \( a \) of cereal, as sdsl-lite writes a bit_vector | |
| template<class Ar> | |
| void | ADS::load (Ar &a, BitVector &b) |
| the bits \( b \) read from the archive \( a \) of cereal, as sdsl-lite writes a bit_vector | |
The persistent structures of ADS in the archives of cereal (https://uscilab.github.io/cereal/), beside the format of ADS.
| void ADS::load | ( | Ar & | a, |
| BitVector & | b ) |
the bits \( b \) read from the archive \( a \) of cereal, as sdsl-lite writes a bit_vector
| PersistError | if they are not a vector of bits |
| void ADS::load | ( | Ar & | a, |
| T & | x ) |
the structure \( x \) read from the archive \( a \) of cereal
| PersistError | if the members break an invariant of \( T \) |
| void ADS::save | ( | Ar & | a, |
| const BitVector & | b ) |
the bits \( b \) written to the archive \( a \) of cereal, as sdsl-lite writes a bit_vector
| void ADS::save | ( | Ar & | a, |
| const T & | x ) |
the structure \( x \) written to the archive \( a \) of cereal