PairDistanceSimilarityTest Class Reference

Implements a hypothesis testing that two words a similar according to some given criteria. More...

#include <PairDistanceTest.h>

List of all members.

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
StringSimilarityMeasuretheSimilarity
int sampleSize
PairGeneratortheGenerator

Detailed Description

Implements a hypothesis testing that two words a similar according to some given criteria.

Definition at line 97 of file PairDistanceTest.h.


Constructor & Destructor Documentation

PairDistanceSimilarityTest::PairDistanceSimilarityTest ( int  n,
PairGenerator g,
StringSimilarityMeasure sm 
) [inline]

Constructor.

Definition at line 101 of file PairDistanceTest.h.


Member Function Documentation

void PairDistanceSimilarityTest::estimateTrueDistribution (  ) 
double PairDistanceSimilarityTest::testFalsePair (  ) 
double PairDistanceSimilarityTest::testPair ( const pair< Word, Word > &  p  ) 
double PairDistanceSimilarityTest::testTruePair (  ) 

Member Data Documentation

vector<double> PairDistanceSimilarityTest::measureDistr [private]

Definition at line 115 of file PairDistanceTest.h.

Definition at line 118 of file PairDistanceTest.h.

Definition at line 119 of file PairDistanceTest.h.

Definition at line 116 of file PairDistanceTest.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:48 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1