commandline.Distributions
Class NormalIndicesDistribution
java.lang.Object
commandline.Distributions.NormalIndicesDistribution
- Direct Known Subclasses:
- NormalIndicesDistribution_1A, NormalIndicesDistribution_1A_discr, NormalIndicesDistribution_1A_paper, NormalIndicesDistribution_1B, NormalIndicesDistribution_1B_paper, NormalIndicesDistribution_2A, NormalIndicesDistribution_2A_paper, NormalIndicesDistribution_2B, NormalIndicesDistribution_2B_paper
public abstract class NormalIndicesDistribution
- extends java.lang.Object
|
Method Summary |
protected abstract double |
evaluatePDF(double x,
double lambda_streep,
double A_0,
double A_1,
GenericEdge edge)
Evaluates a particular continuous PDF at a certain point |
double[] |
getPMF_disc(GenericEdge e)
|
double[] |
getPMF(float H,
float length,
int L,
double lambda_streep,
float n_0,
float n_1)
returns the PMF such that its sum equals 1 |
static double |
scaleLambaEstimator(double lambda_streep,
double n)
if v was scaled by a factor n the lambda will be scaled appropriately |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormalIndicesDistribution
public NormalIndicesDistribution()
evaluatePDF
protected abstract double evaluatePDF(double x,
double lambda_streep,
double A_0,
double A_1,
GenericEdge edge)
- Evaluates a particular continuous PDF at a certain point
- Parameters:
lambda_streep - edge - TODOx=0...length - A_0, - A_1: weight of lambda_streep
- Returns:
getPMF
public double[] getPMF(float H,
float length,
int L,
double lambda_streep,
float n_0,
float n_1)
- returns the PMF such that its sum equals 1
- Parameters:
H: - heigt of an edgelength - L - lambda_streep - n_0 - n_1 -
- Returns:
getPMF_disc
public double[] getPMF_disc(GenericEdge e)
scaleLambaEstimator
public static double scaleLambaEstimator(double lambda_streep,
double n)
- if v was scaled by a factor n the lambda will be scaled appropriately
- Parameters:
lambda_streep - n -
- Returns: