souffle
2.0.2-371-g6315b36
|
#include <EquivalenceRelation.h>
Public Types | |
using | difference_type = ptrdiff_t |
typedef std::forward_iterator_tag | iterator_category |
using | pointer = value_type * |
using | reference = value_type & |
using | value_type = TupleType |
Public Member Functions | |
iterator (const EquivalenceRelation *br) | |
iterator (const EquivalenceRelation *br, bool) | |
iterator (const EquivalenceRelation *br, const StatesBucket within) | |
iterator (const EquivalenceRelation *br, const typename TupleType::value_type former, const StatesBucket within) | |
iterator (const EquivalenceRelation *br, const typename TupleType::value_type former, typename TupleType::value_type latter, const StatesBucket within) | |
iterator (const iterator &other)=default | |
iterator (iterator &&other)=default | |
bool | operator!= (const iterator &other) const |
const TupleType & | operator* () const |
iterator & | operator++ () |
const TupleType * | operator-> () const |
iterator & | operator= (const iterator &other)=default |
bool | operator== (const iterator &other) const |
void | setAnterior (const typename TupleType::value_type a) |
explicit set first half of cPair More... | |
void | setPosterior (const typename TupleType::value_type b) |
explicit set second half of cPair More... | |
void | updateAnterior () |
quick update to whatever the current index is pointing to More... | |
void | updatePosterior () |
quick update to whatever the current index is pointing to More... | |
Private Types | |
enum | IterType { ALL, ANTERIOR, ANTPOST, WITHIN } |
Private Attributes | |
const EquivalenceRelation * | br = nullptr |
size_t | cAnteriorIndex = 0 |
TupleType | cPair |
size_t | cPosteriorIndex = 0 |
StatesBucket | djSetList |
StatesMap::iterator | djSetMapListEnd |
StatesMap::iterator | djSetMapListIt |
bool | isEndVal = false |
IterType | ityp |
Definition at line 261 of file EquivalenceRelation.h.
using souffle::EquivalenceRelation< TupleType >::iterator::difference_type = ptrdiff_t |
Definition at line 265 of file EquivalenceRelation.h.
typedef std::forward_iterator_tag souffle::EquivalenceRelation< TupleType >::iterator::iterator_category |
Definition at line 263 of file EquivalenceRelation.h.
using souffle::EquivalenceRelation< TupleType >::iterator::pointer = value_type* |
Definition at line 266 of file EquivalenceRelation.h.
using souffle::EquivalenceRelation< TupleType >::iterator::reference = value_type& |
Definition at line 267 of file EquivalenceRelation.h.
using souffle::EquivalenceRelation< TupleType >::iterator::value_type = TupleType |
Definition at line 264 of file EquivalenceRelation.h.
|
private |
Enumerator | |
---|---|
ALL | |
ANTERIOR | |
ANTPOST | |
WITHIN |
Definition at line 459 of file EquivalenceRelation.h.
|
inlineexplicit |
Definition at line 270 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< Arity >::size().
|
inlineexplicit |
Definition at line 273 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::djSetList, souffle::EquivalenceRelation< TupleType >::iterator::isEndVal, souffle::PiggyList< T >::size(), souffle::EquivalenceRelation< TupleType >::iterator::updateAnterior(), and souffle::EquivalenceRelation< TupleType >::iterator::updatePosterior().
|
inlineexplicit |
Definition at line 290 of file EquivalenceRelation.h.
|
inlineexplicit |
Definition at line 302 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::isEndVal.
|
inlineexplicit |
Definition at line 315 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::cAnteriorIndex, souffle::EquivalenceRelation< TupleType >::iterator::cPair, souffle::EquivalenceRelation< TupleType >::iterator::djSetList, and souffle::PiggyList< T >::get().
|
default |
|
default |
|
inline |
Definition at line 358 of file EquivalenceRelation.h.
|
inline |
Definition at line 362 of file EquivalenceRelation.h.
|
inline |
Definition at line 371 of file EquivalenceRelation.h.
|
inline |
Definition at line 366 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::djSetMapListEnd, and souffle::EquivalenceRelation< TupleType >::iterator::djSetMapListIt.
|
default |
|
inline |
Definition at line 353 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::isEndVal.
|
inline |
|
inline |
explicit set second half of cPair
Definition at line 337 of file EquivalenceRelation.h.
References souffle::EquivalenceRelation< TupleType >::iterator::br, souffle::EquivalenceRelation< TupleType >::iterator::cPair, and souffle::EquivalenceRelation< TupleType >::iterator::isEndVal.
|
inline |
quick update to whatever the current index is pointing to
Definition at line 332 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator().
|
inline |
quick update to whatever the current index is pointing to
Definition at line 342 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator().
|
private |
Definition at line 454 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::setPosterior(), and souffle::EquivalenceRelation< Arity >::size().
|
private |
Definition at line 470 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator().
|
private |
Definition at line 462 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator(), and souffle::EquivalenceRelation< TupleType >::iterator::setPosterior().
|
private |
Definition at line 472 of file EquivalenceRelation.h.
|
private |
Definition at line 465 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator().
|
private |
Definition at line 467 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::operator->(), and souffle::EquivalenceRelation< Arity >::size().
|
private |
Definition at line 466 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::operator->(), and souffle::EquivalenceRelation< Arity >::size().
|
private |
Definition at line 456 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< TupleType >::iterator::iterator(), souffle::EquivalenceRelation< TupleType >::iterator::operator==(), souffle::EquivalenceRelation< TupleType >::iterator::setPosterior(), and souffle::EquivalenceRelation< Arity >::size().
|
private |
Definition at line 460 of file EquivalenceRelation.h.
Referenced by souffle::EquivalenceRelation< Arity >::size().