Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
moved_from_structures_test.cc File Reference

The moved-from tests (moved_from.H) of the data structures and the sketches. More...

#include "moved_from.H"
#include <DP_Optimizations.H>
#include <bitArray.H>
#include <compact-cuckoo-filter.H>
#include <compact-quotient-filter.H>
#include <count-min-sketch.H>
#include <cuckoo-filter.H>
#include <hyperloglog.H>
#include <minhash.H>
#include <modular_combinatorics.H>
#include <pointer_table.H>
#include <quotient-filter.H>
#include <reservoir-sampling.H>
#include <tpl_b_tree.H>
#include <tpl_bplus_tree.H>
#include <tpl_cartesian_tree.H>
#include <tpl_disjoint_sparse_table.H>
#include <tpl_dynArrayHeap.H>
#include <tpl_dynSkipList.H>
#include <tpl_fenwick_tree.H>
#include <tpl_persistent_hash_map.H>
#include <tpl_persistent_vector.H>
#include <tpl_rand_tree.H>
#include <tpl_random_queue.H>
#include <tpl_treap.H>
#include <tpl_treapRk.H>
#include <tpl_segment_tree.H>
#include <tpl_sparse_table.H>
#include <tpl_skipList.H>
#include <algorithm>
#include <cstdint>
#include <limits>
#include <new>
#include <optional>
#include <stdexcept>
Include dependency graph for moved_from_structures_test.cc:

Go to the source code of this file.

Classes

struct  Moved_From_Case< HyperLogLog< int > >
 
struct  Moved_From_Case< Count_Min_Sketch< int > >
 
struct  Moved_From_Case< MinHash< int > >
 
struct  Moved_From_Case< Reservoir_Sampler< int > >
 
struct  Moved_From_Case< Fenwick_Tree< int > >
 
struct  Moved_From_Case< Range_Fenwick_Tree< int > >
 
struct  Point_Segment_Tree_Case< Tree >
 
struct  Moved_From_Case< Sum_Segment_Tree< int > >
 
struct  Moved_From_Case< Min_Segment_Tree< int > >
 
struct  Moved_From_Case< Max_Segment_Tree< int > >
 
struct  Lazy_Segment_Tree_Case< Tree >
 
struct  Moved_From_Case< Lazy_Sum_Segment_Tree< int > >
 
struct  Moved_From_Case< Lazy_Min_Segment_Tree< int > >
 
struct  Moved_From_Case< Lazy_Max_Segment_Tree< int > >
 
struct  Moved_From_Case< Segment_Tree_Beats< int > >
 
struct  Sparse_Table_Case< Table >
 
struct  Moved_From_Case< Sparse_Table< int > >
 
struct  Moved_From_Case< Max_Sparse_Table< int > >
 
struct  Moved_From_Case< Sum_Disjoint_Sparse_Table< int > >
 
struct  Moved_From_Case< Cartesian_Tree< int > >
 
struct  Moved_From_Case< Euler_Tour_LCA< int > >
 
struct  Moved_From_Case< Cartesian_Tree_RMQ< int > >
 
struct  Cuckoo_Filter_Case< Filter >
 
struct  Moved_From_Case< Cuckoo_Filter< int > >
 
struct  Moved_From_Case< Compact_Cuckoo_Filter< int > >
 
struct  Quotient_Filter_Case< Filter >
 
struct  Moved_From_Case< Quotient_Filter< int > >
 
struct  Moved_From_Case< Compact_Quotient_Filter< int > >
 
struct  Moved_From_Case< BitArray >
 
struct  Moved_From_Case< DynArrayHeap< int > >
 
struct  Ordered_Tree_Case< Tree >
 
struct  Moved_From_Case< B_Tree< int > >
 
struct  Moved_From_Case< BPlus_Tree< int > >
 
struct  Moved_From_Case< PersistentVector< int > >
 
struct  Moved_From_Case< PersistentHashMap< int, int > >
 
struct  Moved_From_Case< DynSkipList< int > >
 
struct  Moved_From_Case< Rand_Tree< int > >
 
struct  Moved_From_Treap< Tree >
 
struct  Moved_From_Case< Treap< int > >
 
struct  Moved_From_Case< Treap_Rk< int > >
 
struct  Moved_From_Case< Random_Set< int > >
 
struct  Moved_From_Case< Pointer_Table >
 
struct  Moved_From_Case< Li_Chao_Tree< long > >
 
struct  Moved_From_Case< Convex_Hull_Trick< long > >
 
struct  Moved_From_Case< ModularCombinatorics >
 
struct  Moved_From_Case< Skip_List >
 

Macros

#define MOVED_FROM_SKIP_LIST   1
 

Typedefs

using Structures = ::testing::Types< HyperLogLog< int >, Count_Min_Sketch< int >, MinHash< int >, Reservoir_Sampler< int >, Fenwick_Tree< int >, Range_Fenwick_Tree< int >, Sum_Segment_Tree< int >, Min_Segment_Tree< int >, Max_Segment_Tree< int >, Lazy_Sum_Segment_Tree< int >, Lazy_Min_Segment_Tree< int >, Lazy_Max_Segment_Tree< int >, Segment_Tree_Beats< int >, Sparse_Table< int >, Max_Sparse_Table< int >, Sum_Disjoint_Sparse_Table< int >, Cartesian_Tree< int >, Euler_Tour_LCA< int >, Cartesian_Tree_RMQ< int >, Cuckoo_Filter< int >, Compact_Cuckoo_Filter< int >, Quotient_Filter< int >, Compact_Quotient_Filter< int >, BitArray, DynArrayHeap< int >, B_Tree< int >, BPlus_Tree< int >, PersistentVector< int >, PersistentHashMap< int, int >, DynSkipList< int >, Rand_Tree< int >, Random_Set< int >, Treap< int >, Treap_Rk< int >, Pointer_Table, Li_Chao_Tree< long >, Convex_Hull_Trick< long >, ModularCombinatorics >
 

Functions

template<class Tree >
void fill_or_free (Tree &t, const size_t n)
 
template<class Tree >
void insert_find_and_remove (Tree &t)
 
 INSTANTIATE_TYPED_TEST_SUITE_P (Structures, MovedFrom, Structures)
 
 INSTANTIATE_TYPED_TEST_SUITE_P (Skip_List, MovedFrom, ::testing::Types< Skip_List >)
 

Detailed Description

The moved-from tests (moved_from.H) of the data structures and the sketches.

Definition in file moved_from_structures_test.cc.

Macro Definition Documentation

◆ MOVED_FROM_SKIP_LIST

#define MOVED_FROM_SKIP_LIST   1

Definition at line 72 of file moved_from_structures_test.cc.

Typedef Documentation

◆ Structures

Function Documentation

◆ fill_or_free()

template<class Tree >
void fill_or_free ( Tree &  t,
const size_t  n 
)

◆ insert_find_and_remove()

template<class Tree >
void insert_find_and_remove ( Tree &  t)

◆ INSTANTIATE_TYPED_TEST_SUITE_P() [1/2]

INSTANTIATE_TYPED_TEST_SUITE_P ( Skip_List  ,
MovedFrom  ,
::testing::Types< Skip_List >   
)

◆ INSTANTIATE_TYPED_TEST_SUITE_P() [2/2]

INSTANTIATE_TYPED_TEST_SUITE_P ( Structures  ,
MovedFrom  ,
Structures   
)