commandline.Distributions
Class NormalIndicesDistribution

java.lang.Object
  extended by 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


Constructor Summary
NormalIndicesDistribution()
           
 
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
 

Constructor Detail

NormalIndicesDistribution

public NormalIndicesDistribution()
Method Detail

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 - TODO
x=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 edge
length -
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: