gatb.core-API-0.0.0
ContainerNode< Item > Class Template Reference

IContainerNode implementation with a Bloom filter and a cFP set. More...

#include <ContainerNode.hpp>

Inheritance diagram for ContainerNode< Item >:
Inheritance graph

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 ()
 

Detailed Description

template<typename Item>
class gatb::core::debruijn::impl::ContainerNode< Item >

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.

Constructor & Destructor Documentation

ContainerNode ( tools::collections::Container< Item > *  bloom,
tools::collections::Container< Item > *  falsePositives 
)
inline

Constructor

Parameters
[in]bloom: the Bloom filter.
[in]falsePositives: the cFP container.
~ContainerNode ( )
inline

Destructor.

Member Function Documentation

bool contains ( const Item &  item)
inlinevirtual

Tells whether an item exists or not in the container

Returns
true if the item exists, false otherwise

Implements IContainerNode< Item >.

Reimplemented in ContainerNodeNoCFP< Item >.


The documentation for this class was generated from the following file: