#ifndef _PairDistribution_h_
#define _PairDistribution_h_
/* PairDistribution.h; Paul Boersma, May 8, 2001 */

#ifndef _Vector_h_
	#include "Vector.h"
#endif
#ifndef _Strings_h_
	#include "Strings.h"
#endif
#ifndef _Collection_h_
	#include "Collection.h"
#endif
#ifndef _Graphics_h_
	#include "Graphics.h"
#endif

#include "PairDistribution_def.h"

#define PairProbability_methods Data_methods
oo_CLASS_CREATE (PairProbability, Data)

#define PairDistribution_methods Data_methods
oo_CLASS_CREATE (PairDistribution, Data)

PairProbability PairProbability_create (const char *string1, const char *string2, double weight);
PairDistribution PairDistribution_create (void);
int PairDistribution_add (PairDistribution me, const char *string1, const char *string2, double weight);
int PairDistribution_to_Stringses (PairDistribution me, long nout, Strings *strings1, Strings *strings2);
int PairDistribution_peekPair (PairDistribution me, char **string1, char **string2);

double PairDistribution_getFractionCorrect_maximumLikelihood (PairDistribution me);
double PairDistribution_getFractionCorrect_probabilityMatching (PairDistribution me);

Vector PairDistribution_to_Vector (PairDistribution me);
int PairDistribution_formula (PairDistribution me, const char *formula);
void PairDistribution_drawAsNumbers (PairDistribution me, Graphics g, int iformat, int precision);
void PairDistribution_drawAsNumbers_if (PairDistribution me, Graphics g, int iformat, int precision, const char *conditionFormula);
PairDistribution PairDistribution_append (PairDistribution me, PairDistribution thee);

#endif

/* End of file PairDistribution.h */
