|
| bool | verify () const |
| |
| bool | verify_dup () const |
| |
| | RankedTreap (rng_seed_t seed, Cmp &_cmp) |
| |
| | RankedTreap (Cmp &_cmp) |
| |
| | RankedTreap (Cmp &&_cmp=Cmp()) |
| |
| | RankedTreap (rng_seed_t seed, Cmp &&_cmp=Cmp()) |
| |
| | RankedTreap (const RankedTreap &t) |
| |
| | RankedTreap (RankedTreap &&t) |
| |
| | RankedTreap (const std::initializer_list< Key > &) |
| |
| | ~RankedTreap () |
| |
| RankedTreap & | operator= (const RankedTreap &t) |
| |
| RankedTreap & | operator= (RankedTreap &&t) |
| |
| void | swap (RankedTreap &t) |
| |
| bool | is_empty () const |
| |
| bool | is_sorted () const |
| |
| nat_t | size () const |
| |
| void | clear () |
| |
| Cmp & | get_cmp () |
| |
| const Cmp & | get_cmp () const |
| |
| Key * | insert (const Key &k) |
| |
| Key * | insert (Key &&k) |
| |
| Key * | insert_dup (const Key &k) |
| |
| Key * | insert_dup (Key &&k) |
| |
| Key * | append (const Key &k) |
| |
| Key * | append (Key &&k) |
| |
| Key * | append_dup (const Key &k) |
| |
| Key * | append_dup (Key &&k) |
| |
| Key * | search (const Key &k) |
| |
| const Key * | search (const Key &k) const |
| |
| Key * | search_or_insert (const Key &k) |
| |
| Key * | search_or_insert (Key &&k) |
| |
| Key & | find (const Key &k) |
| |
| const Key & | find (const Key &k) const |
| |
| bool | remove (const Key &k) |
| |
| Key | remove_pos (nat_t i) |
| |
| const Key & | min () const |
| |
| const Key & | max () const |
| |
| std::tuple< RankedTreap, RankedTreap > | split_pos (nat_t i) |
| |
| std::tuple< RankedTreap, RankedTreap > | split_key (const Key &k) |
| |
| std::tuple< RankedTreap, RankedTreap > | split_key_dup (const Key &k) |
| |
| void | exclusive_join (RankedTreap &ts, RankedTreap &tg) |
| |
| void | join_dup (RankedTreap &ts, RankedTreap &tg) |
| |
| Key & | select (nat_t i) |
| |
| const Key & | select (nat_t i) const |
| |
| lint_t | position (const Key &k) const |
| |
| Key & | operator[] (nat_t i) |
| |
| const Key & | operator[] (nat_t i) const |
| |
| template<class Op > |
| void | for_each_preorder (Op &op) |
| |
| template<class Op > |
| void | for_each_preorder (Op &&op=Op()) |
| |
| template<class Op > |
| void | for_each_inorder (Op &op) |
| |
| template<class Op > |
| void | for_each_inorder (Op &&op=Op()) |
| |
| template<class Op > |
| void | for_each_postorder (Op &op) |
| |
| template<class Op > |
| void | for_each_postorder (Op &&op=Op()) |
| |
| Iterator | begin () |
| |
| Iterator | begin () const |
| |
| Iterator | end () |
| |
| Iterator | end () const |
| |
| Key * | nth_ptr (nat_t i) |
| |
| Key & | nth (nat_t i) |
| |
| const Key & | nth (nat_t i) const |
| |
| void | for_each (Op &op) const |
| |
| void | for_each (Op &&op=Op()) const |
| |
| ContainerRet | filter (Pred &pred) const |
| |
| ContainerRet | filter (Pred &&pred=Pred()) const |
| |
| ContainerRet | map (Op &op) const |
| |
| ContainerRet | map (Op &&op=Op()) const |
| |
| ContainerRet | map_if (Op &op, Pred &pred) const |
| |
| ContainerRet | map_if (Op &op, Pred &&pred=Pred()) const |
| |
| ContainerRet | map_if (Op &&op, Pred &pred) const |
| |
| ContainerRet | map_if (Op &&op=Op(), Pred &&pred=Pred()) const |
| |
| RetT | fold (const RetT &init_val, Op &op) const |
| |
| RetT | fold (const RetT &init_val, Op &&op=Op()) const |
| |
| RetT | fold (RetT &&init_val, Op &op) const |
| |
| RetT | fold (RetT &&init_val, Op &&op=Op()) const |
| |
| bool | all (Pred &pred) const |
| |
| bool | all (Pred &&pred=Pred()) const |
| |
| bool | exists (Pred &pred) const |
| |
| bool | exists (Pred &&pred=Pred()) const |
| |
| bool | none (Pred &pred) const |
| |
| bool | none (Pred &&pred=Pred()) const |
| |
| Key * | search_ptr (Pred &pred) const |
| |
| Key * | search_ptr (Pred &&pred=Pred()) const |
| |
| bool | remove_first_if (Pred &pred) |
| |
| bool | remove_first_if (Pred &&pred=Pred()) |
| |
| void | remove_if (Pred &pred) |
| |
| void | remove_if (Pred &&pred=Pred()) |
| |
| bool | equal (const ContainerType2 &c, Eq &eq) const |
| |
| bool | equal (const ContainerType2 &c, Eq &&eq=Eq()) const |
| |
| bool | is_sorted (Cmp &cmp) const |
| |
| bool | is_sorted (Cmp &&cmp=Cmp()) const |
| |
| SLList< std::pair< Key, typename ContainerType2::KeyType > > | zip (const ContainerType2 &c) const |
| |
| SLList< std::pair< Key, typename ContainerType2::KeyType > > | zip_eq (const ContainerType2 &c) const |
| |
| SLList< std::pair< Key, typename ContainerType2::KeyType > > | zip_left (const ContainerType2 &c) const |
| |
| SLList< std::pair< Key, typename ContainerType2::KeyType > > | zip_right (const ContainerType2 &c) const |
| |
| DynArray< Key > | to_array () const |
| |
| SLList< Key > | to_list () const |
| |
| bool | contains (const Key &k) const |
| |
| bool | has (const Key &k) const |
| |
| RankedTreap< Key, Cmp > | join (const RankedTreap< Key, Cmp > &s) const |
| |
| RankedTreap< Key, Cmp > | intersect (const RankedTreap< Key, Cmp > &s) const |
| |
| RankedTreap< Key, Cmp > | difference (const RankedTreap< Key, Cmp > &s) const |
| |
| SLList< std::pair< Key, typename SetType2::KeyType > > | cartesian_product (const SetType2 &s) const |
| |