#include <experiments.h>
Inheritance diagram for Tagcoll::Normalizer< ITEM, TAG >:
Public Member Functions | |
Normalizer (float mmd=1.0) | |
void | buildGraph (const Scores< TAG > &scores) |
void | normalize () |
Protected Types | |
typedef CardinalityStore< ITEM, TAG > | tagsets_t |
typedef std::map< OpSet< TAG >, std::vector< OpSet< TAG > > > | distgraph_t |
Protected Member Functions | |
bool | addToGraph (const Scores< TAG > &scores, const OpSet< TAG > &ts1, const OpSet< TAG > &ts2) |
bool | mergeTagsets (const OpSet< TAG > &ts1, const OpSet< TAG > &ts2) |
void | removeAfterMerge (const OpSet< TAG > &ts, const OpSet< TAG > &merged) |
Protected Attributes | |
unsigned int | max_threshold |
unsigned int | merge_threshold |
unsigned int | min_threshold |
float | maxMergeDist |
distgraph_t | distGraph |
typedef std::map< OpSet<TAG>, std::vector< OpSet<TAG> > > Tagcoll::Normalizer< ITEM, TAG >::distgraph_t [protected] |
typedef CardinalityStore<ITEM, TAG> Tagcoll::Normalizer< ITEM, TAG >::tagsets_t [protected] |
Reimplemented from Tagcoll::CardinalityStore< ITEM, TAG >.
Tagcoll::Normalizer< ITEM, TAG >::Normalizer | ( | float | mmd = 1.0 |
) | [inline] |
bool Tagcoll::Normalizer< ITEM, TAG >::addToGraph | ( | const Scores< TAG > & | scores, | |
const OpSet< TAG > & | ts1, | |||
const OpSet< TAG > & | ts2 | |||
) | [protected] |
void Tagcoll::Normalizer< ITEM, TAG >::buildGraph | ( | const Scores< TAG > & | scores | ) |
bool Tagcoll::Normalizer< ITEM, TAG >::mergeTagsets | ( | const OpSet< TAG > & | ts1, | |
const OpSet< TAG > & | ts2 | |||
) | [protected] |
void Tagcoll::Normalizer< ITEM, TAG >::normalize | ( | ) |
void Tagcoll::Normalizer< ITEM, TAG >::removeAfterMerge | ( | const OpSet< TAG > & | ts, | |
const OpSet< TAG > & | merged | |||
) | [protected] |
distgraph_t Tagcoll::Normalizer< ITEM, TAG >::distGraph [protected] |
unsigned int Tagcoll::Normalizer< ITEM, TAG >::max_threshold [protected] |
float Tagcoll::Normalizer< ITEM, TAG >::maxMergeDist [protected] |
unsigned int Tagcoll::Normalizer< ITEM, TAG >::merge_threshold [protected] |
unsigned int Tagcoll::Normalizer< ITEM, TAG >::min_threshold [protected] |