klee
|
#include <MapOfSets.h>
Classes | |
class | iterator |
class | Node |
Public Member Functions | |
MapOfSets () | |
void | clear () |
void | insert (const std::set< K > &set, const V &value) |
V * | lookup (const std::set< K > &set) |
iterator | begin () |
iterator | end () |
void | subsets (const std::set< K > &set, std::vector< std::pair< std::set< K >, V > > &resultOut) |
void | supersets (const std::set< K > &set, std::vector< std::pair< std::set< K >, V > > &resultOut) |
template<class Predicate > | |
V * | findSuperset (const std::set< K > &set, const Predicate &p) |
template<class Predicate > | |
V * | findSubset (const std::set< K > &set, const Predicate &p) |
Private Member Functions | |
template<class Iterator , class Vector > | |
void | findSubsets (Node *n, const std::set< K > &accum, Iterator begin, Iterator end, Vector &resultsOut) |
template<class Iterator , class Vector > | |
void | findSupersets (Node *n, const std::set< K > &accum, Iterator begin, Iterator end, Vector &resultsOut) |
template<class Predicate > | |
V * | findSuperset (Node *n, typename std::set< K >::iterator begin, typename std::set< K >::iterator end, const Predicate &p) |
template<class Predicate > | |
V * | findSubset (Node *n, typename std::set< K >::iterator begin, typename std::set< K >::iterator end, const Predicate &p) |
Private Attributes | |
Node | root |
This implements the UBTree data structure (see Hoffmann and Koehler, "A New Method to Index and Query Sets", IJCAI 1999)
Definition at line 30 of file MapOfSets.h.
klee::MapOfSets< K, V >::MapOfSets |
Definition at line 185 of file MapOfSets.h.
MapOfSets< K, V >::iterator klee::MapOfSets< K, V >::begin |
Definition at line 218 of file MapOfSets.h.
void klee::MapOfSets< K, V >::clear |
Definition at line 376 of file MapOfSets.h.
Referenced by CexCachingSolver::~CexCachingSolver().
MapOfSets< K, V >::iterator klee::MapOfSets< K, V >::end |
Definition at line 222 of file MapOfSets.h.
V * klee::MapOfSets< K, V >::findSubset | ( | const std::set< K > & | set, |
const Predicate & | p | ||
) |
Definition at line 371 of file MapOfSets.h.
Referenced by CexCachingSolver::searchForAssignment().
|
private |
Definition at line 297 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
|
private |
Definition at line 226 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
V * klee::MapOfSets< K, V >::findSuperset | ( | const std::set< K > & | set, |
const Predicate & | p | ||
) |
Definition at line 365 of file MapOfSets.h.
Referenced by CexCachingSolver::searchForAssignment().
|
private |
Definition at line 335 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
|
private |
Definition at line 256 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
void klee::MapOfSets< K, V >::insert | ( | const std::set< K > & | set, |
const V & | value | ||
) |
Definition at line 188 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
Referenced by CexCachingSolver::getAssignment().
V * klee::MapOfSets< K, V >::lookup | ( | const std::set< K > & | set | ) |
Definition at line 198 of file MapOfSets.h.
References klee::MapOfSets< K, V >::Node::children, klee::MapOfSets< K, V >::Node::isEndOfSet, and klee::MapOfSets< K, V >::Node::value.
Referenced by CexCachingSolver::searchForAssignment().
void klee::MapOfSets< K, V >::subsets | ( | const std::set< K > & | set, |
std::vector< std::pair< std::set< K >, V > > & | resultOut | ||
) |
Definition at line 248 of file MapOfSets.h.
void klee::MapOfSets< K, V >::supersets | ( | const std::set< K > & | set, |
std::vector< std::pair< std::set< K >, V > > & | resultOut | ||
) |
Definition at line 290 of file MapOfSets.h.
|
private |
Definition at line 59 of file MapOfSets.h.
Referenced by klee::MapOfSets< K, V >::iterator::iterator(), klee::MapOfSets< K, V >::iterator::operator*(), and klee::MapOfSets< K, V >::iterator::step().