<commit_before>#include "inverseIndexStorage.h"
#include "bloomierFilter/bloomierFilter.h"

#ifndef INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H
#define INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H
class InverseIndexStorageBloomierFilter : public InverseIndexStorage {
  private:
	std::vector<BloomierFilter* >* mInverseIndex;
	size_t mMaxBinSize;
	size_t mM;
	size_t mK;
	size_t mQ;
  public:
    InverseIndexStorageBloomierFilter(const size_t pSizeOfInverseIndex, const size_t pMaxBinSize, const size_t pMaximalFeatures);
	~InverseIndexStorageBloomierFilter();
  	size_t size() const;
	vsize_t* getElement(size_t pVectorId, size_t pHashValue);
	void insert(size_t pVectorId, size_t pHashValue, size_t pInstance);
};
#endif // INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H<commit_msg>Defined return type of function getElement to const<commit_after>#include "inverseIndexStorage.h"
#include "bloomierFilter/bloomierFilter.h"

#ifndef INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H
#define INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H
class InverseIndexStorageBloomierFilter : public InverseIndexStorage {
  private:
	std::vector<BloomierFilter* >* mInverseIndex;
	size_t mMaxBinSize;
	size_t mM;
	size_t mK;
	size_t mQ;
  public:
    InverseIndexStorageBloomierFilter(const size_t pSizeOfInverseIndex, const size_t pMaxBinSize, const size_t pMaximalFeatures);
	~InverseIndexStorageBloomierFilter();
  	size_t size() const;
	const vsize_t* getElement(size_t pVectorId, size_t pHashValue);
	void insert(size_t pVectorId, size_t pHashValue, size_t pInstance);
};
#endif // INVERSE_INDEX_STORAGE_BLOOMIER_FILTER_H
{'fraction_non_alphanumeric': 0.07079646017699115, 'fraction_numerical': 0.0, 'mean_word_length': 8.366863905325443, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '980985', 'n_tokens_mistral': 595, 'n_tokens_neox': 584, 'n_words': 109}