|
| pdfXY () |
|
| pdfXY (const vector< double > &xMarPdf_, const vector< vector< double > > &yxCondPdf_) |
| Construct from marginal pdf of X and the conditional pdf P(Y|X). More...
|
|
| pdfXY (const vector< vector< double > > &joPdf_) |
| Construct from joint pdf P(X,Y) More...
|
|
| pdfXY (double agreeProb, int size) |
| Q-ary symmetric correlation model. More...
|
|
| pdfXY (string pdffn, int xSize, int ySize) |
| Pdf given in a file. More...
|
|
double | getJoH () const |
|
double | getHX () const |
|
double | getHY () const |
|
double | getCondHYX () const |
|
double | getCondHXY () const |
|
double | getIXY () const |
|
const vector< vector< double > > & | getJoPdf () const |
| The returned reference to object has the same life time as the pdfXY object. More...
|
|
const vector< double > & | getXMarPdf () const |
| The returned reference to object has the same life time as the pdfXY object. More...
|
|
const vector< vector< double > > & | getYXCondPdf () const |
| The returned reference to object has the same life time as the pdfXY object. More...
|
|
void | setPdf (const vector< double > &xMarPdf_, const vector< vector< double > > &yxCondPdf_) |
| yxCondPdf should have same number of cols in each row. More...
|
|
void | setPdf (const vector< vector< double > > &joPdf_) |
|
void | setPdf (double agreeProb, int size) |
|
void | setPdf (string pdffn, int xSize, int ySize) |
|
Handles joint pmf for two sources.
Reads pmf, compute entropies. (We do not distinguish pmf and pdf here.) copy safe