Implements a hypothesis testing that two words a similar according to some given criteria. More...
#include <PairDistanceTest.h>
Public Member Functions | |
PairDistanceSimilarityTest (int n, PairGenerator *g, StringSimilarityMeasure *sm) | |
Constructor. | |
void | estimateTrueDistribution () |
double | testTruePair () |
double | testFalsePair () |
double | testPair (const pair< Word, Word > &p) |
Private Attributes | |
vector< double > | measureDistr |
StringSimilarityMeasure * | theSimilarity |
int | sampleSize |
PairGenerator * | theGenerator |
Implements a hypothesis testing that two words a similar according to some given criteria.
Definition at line 97 of file PairDistanceTest.h.
PairDistanceSimilarityTest::PairDistanceSimilarityTest | ( | int | n, | |
PairGenerator * | g, | |||
StringSimilarityMeasure * | sm | |||
) | [inline] |
Constructor.
Definition at line 101 of file PairDistanceTest.h.
void PairDistanceSimilarityTest::estimateTrueDistribution | ( | ) |
double PairDistanceSimilarityTest::testFalsePair | ( | ) |
double PairDistanceSimilarityTest::testTruePair | ( | ) |
vector<double> PairDistanceSimilarityTest::measureDistr [private] |
Definition at line 115 of file PairDistanceTest.h.
int PairDistanceSimilarityTest::sampleSize [private] |
Definition at line 118 of file PairDistanceTest.h.
Definition at line 119 of file PairDistanceTest.h.
Definition at line 116 of file PairDistanceTest.h.