gatb.core-API-0.0.0
|
IContainerNode implementation with a Bloom filter and a cFP set. More...
#include <ContainerNode.hpp>
Public Member Functions | |
ContainerNode (tools::collections::Container< Item > *bloom, tools::collections::Container< Item > *falsePositives) | |
~ContainerNode () | |
bool | contains (const Item &item) |
Public Member Functions inherited from IContainerNode< Item > | |
virtual | ~IContainerNode () |
Public Member Functions inherited from Container< Item > | |
virtual | ~Container () |
Public Member Functions inherited from ISmartPointer | |
virtual | ~ISmartPointer () |
Public Member Functions inherited from SmartPointer | |
void | use () |
void | forget () |
Additional Inherited Members | |
Protected Member Functions inherited from SmartPointer | |
SmartPointer () | |
virtual | ~SmartPointer () |
IContainerNode implementation with a Bloom filter and a cFP set.
In the GATB terminology, this object contains the information relative to the nodes of the dBG. It is not a set of nodes, as we don't store nodes explicitly. Only one operation is supported: contains()
In the ContainerNode implementation, this object is actually just the Bloom filter + the set of False positives.
|
inline |
Constructor
[in] | bloom | : the Bloom filter. |
[in] | falsePositives | : the cFP container. |
|
inline |
Destructor.
|
inlinevirtual |
Tells whether an item exists or not in the container
Implements IContainerNode< Item >.
Reimplemented in ContainerNodeNoCFP< Item >.