|
Public Member Functions |
virtual | ~Implications () |
OpSet< TAG > | expand (const TAG &tag) const |
| Expand a single tag.
|
OpSet< TAG > | expand (const OpSet< TAG > &tags) const |
| Expand a full tagset.
|
OpSet< TAG > | compress (const OpSet< TAG > &tags) const |
| Compress a tagset removing implied tags.
|
void | pack () |
void | outputFull (Consumer< TAG, TAG > &consumer) const |
void | output (Consumer< TAG, TAG > &consumer) const |
Protected Types |
typedef std::map< TAG, OpSet<
TAG > > | impl_t |
Protected Member Functions |
OpSet< TAG > | getDestinations (const TAG &tag, const OpSet< TAG > &seen=OpSet< TAG >()) const |
| Get the set of all tags seen when walking through all parent lists.
|
bool | reaches (const TAG &tag1, const TAG &tag2, const OpSet< TAG > &seen=OpSet< TAG >()) const |
| Return true if tag1 can reach tag2 walking through some path in its parent list.
|
virtual void | consumeItemUntagged (const TAG &item) |
| Process an untagged item.
|
virtual void | consumeItem (const TAG &item, const OpSet< TAG > &tags) |
| Process a tagged item, with its tags.
|
Protected Attributes |
impl_t | implications |