CBitSetCollection Class

# CBitSetCollection Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

A class which is supposed to contain the results of a comparison in the PicHunter sense of the word More...

`#include <../libInvertedFile/include/CBitSetCollection.h>`

Inherits: list

## Public Members

- int addResult (const CBitVector& inResult)
- int consistify ()
- CBitVector const& getPresentlyConsistentSet ()
- void setPresentlyConsistentSet (const list<long>& inIDList)

## Detailed Description

A class which is supposed to contain the results of a comparison in the PicHunter sense of the word.

In the present implementation each comparison result is represented by a bit vector. Each of these bitvectors contains the IDs of the documents which are consistent with a comparison, i.e. which are after this comparison still considered to be a possible target.

This class is now considered to

## int addResult(const CBitVector& inResult)

Adding a comparison results: push_back and consistify()

## CBitVector const& getPresentlyConsistentSet()

giving back the set of all images presently consistent with the comparisons

## void setPresentlyConsistentSet(const list<long>& inIDList)

giving back the set of all images presently consistent with the comparisons

| Kdoc