public static class PFMComparator.SymmetricKullbackLeiblerDivergence extends PFMComparator.PFMDistance
| Constructor and Description |
|---|
SymmetricKullbackLeiblerDivergence(double ess)
This constructor creates a new instance with a given value for the equivalent sample size.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getDistance(double[][] pfm1,
double[][] pfm2,
int l1,
int l2)
Computes the mean distance between the overlapping parts of
pfm1 and pfm2 starting at the offsets
l1 and l2, respectively. |
compare, getDistancepublic SymmetricKullbackLeiblerDivergence(double ess)
throws IllegalArgumentException
ess - the equivalent sample sizeIllegalArgumentException - if the ess < 0protected double getDistance(double[][] pfm1,
double[][] pfm2,
int l1,
int l2)
PFMComparator.PFMDistancepfm1 and pfm2 starting at the offsets
l1 and l2, respectively.getDistance in class PFMComparator.PFMDistancepfm1 - the first PFMpfm2 - the second PFMl1 - the offset for the first PFMl2 - the offset for the second PFM