#include <genesis/utils/math/twobit_vector/iterator_deletions.hpp>
Take a TwobitVector sequence and iterate over all possible deletions of its values.
Definition at line 51 of file iterator_deletions.hpp.
Public Member Functions | |
| IteratorDeletions () | |
| IteratorDeletions (IteratorDeletions &&)=default | |
| IteratorDeletions (IteratorDeletions const &)=default | |
| IteratorDeletions (TwobitVector const &vector) | |
| ~IteratorDeletions ()=default | |
| TwobitVector::WordType | hash () const |
| Get the hash value of the current vector. More... | |
| bool | operator!= (self_type const &other) const |
| value_type const & | operator* () |
| self_type & | operator++ () |
| self_type | operator++ (int) |
| value_type const * | operator-> () |
| IteratorDeletions & | operator= (IteratorDeletions &&)=default |
| IteratorDeletions & | operator= (IteratorDeletions const &)=default |
| bool | operator== (self_type const &other) const |
| size_t | position () const |
| Get the position that is currently deleted. More... | |
| TwobitVector const & | vector () const |
| Get the current vector. More... | |
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | self_type = IteratorDeletions |
| using | value_type = TwobitVector |
|
inline |
Definition at line 67 of file iterator_deletions.hpp.
|
inlineexplicit |
Definition at line 75 of file iterator_deletions.hpp.
|
default |
|
default |
|
default |
|
inline |
Get the hash value of the current vector.
Definition at line 182 of file iterator_deletions.hpp.
|
inline |
Definition at line 162 of file iterator_deletions.hpp.
|
inline |
Definition at line 100 of file iterator_deletions.hpp.
|
inline |
Definition at line 110 of file iterator_deletions.hpp.
|
inline |
Definition at line 150 of file iterator_deletions.hpp.
|
inline |
Definition at line 105 of file iterator_deletions.hpp.
|
default |
|
default |
|
inline |
Definition at line 157 of file iterator_deletions.hpp.
|
inline |
Get the position that is currently deleted.
Definition at line 174 of file iterator_deletions.hpp.
|
inline |
Get the current vector.
Definition at line 190 of file iterator_deletions.hpp.
| using iterator_category = std::forward_iterator_tag |
Definition at line 59 of file iterator_deletions.hpp.
| using self_type = IteratorDeletions |
Definition at line 60 of file iterator_deletions.hpp.
| using value_type = TwobitVector |
Definition at line 61 of file iterator_deletions.hpp.