#include <ug_tsa_bitset_cache.h>

Public Types | |
| typedef boost::dynamic_bitset < uint64_t > | BitSet |
| typedef boost::shared_ptr< BitSet > | bsptr |
| typedef std::map< std::pair < char const *, ushort > , bsptr > | myMap |
| typedef myMap::iterator | myMapIter |
Public Member Functions | |
| BitSetCache () | |
| BitSetCache (TSA const *t, size_t th=4194304) | |
| void | init (TSA const *t, size_t th=4194304) |
| bsptr | get (typename TSA::Token const *keyStart, size_t keyLen) |
| bsptr | get2 (typename TSA::Token const *keyStart, size_t keyLen, bool onlyEndpoint=true) |
| void | clear () |
Definition at line 23 of file ug_tsa_bitset_cache.h.
| typedef boost::dynamic_bitset<uint64_t> sapt::BitSetCache< TSA >::BitSet |
Definition at line 27 of file ug_tsa_bitset_cache.h.
| typedef boost::shared_ptr<BitSet> sapt::BitSetCache< TSA >::bsptr |
Definition at line 28 of file ug_tsa_bitset_cache.h.
| typedef std::map<std::pair<char const*,ushort>,bsptr> sapt::BitSetCache< TSA >::myMap |
Definition at line 29 of file ug_tsa_bitset_cache.h.
| typedef myMap::iterator sapt::BitSetCache< TSA >::myMapIter |
Definition at line 30 of file ug_tsa_bitset_cache.h.
| sapt::BitSetCache< TSA >::BitSetCache | ( | ) | [inline] |
Definition at line 37 of file ug_tsa_bitset_cache.h.
| sapt::BitSetCache< TSA >::BitSetCache | ( | TSA const * | t, | |
| size_t | th = 4194304 | |||
| ) | [inline] |
Definition at line 38 of file ug_tsa_bitset_cache.h.
References init().

| void sapt::BitSetCache< TSA >::clear | ( | ) | [inline] |
Definition at line 110 of file ug_tsa_bitset_cache.h.
| bsptr sapt::BitSetCache< TSA >::get | ( | typename TSA::Token const * | keyStart, | |
| size_t | keyLen | |||
| ) | [inline] |
Definition at line 51 of file ug_tsa_bitset_cache.h.
References sapt::TSA< TKN >::getCorpus(), k, sapt::TSA< TKN >::lower_bound(), m, sapt::Ttrack< TKN >::size(), sapt::up(), and sapt::TSA< TKN >::upper_bound().

| bsptr sapt::BitSetCache< TSA >::get2 | ( | typename TSA::Token const * | keyStart, | |
| size_t | keyLen, | |||
| bool | onlyEndpoint = true | |||
| ) | [inline] |
Definition at line 78 of file ug_tsa_bitset_cache.h.
References sapt::TSA< TKN >::getCorpus(), k, sapt::TSA< TKN >::lower_bound(), m, sapt::Ttrack< TKN >::numTokens(), sapt::up(), and sapt::TSA< TKN >::upper_bound().

| void sapt::BitSetCache< TSA >::init | ( | TSA const * | t, | |
| size_t | th = 4194304 | |||
| ) | [inline] |
Definition at line 44 of file ug_tsa_bitset_cache.h.
1.5.9