|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.evolution.coalescent.Coalescent
public class Coalescent
A likelihood function for the coalescent. Takes a tree and a demographic model. Parts of this class were derived from C++ code provided by Oliver Pybus.
| Constructor Summary | |
|---|---|
Coalescent(IntervalList intervals,
DemographicFunction demographicFunction)
|
|
Coalescent(RootedTree tree,
DemographicFunction demographicFunction)
|
|
| Method Summary | |
|---|---|
static double |
calculateAnalyticalLogLikelihood(IntervalList intervals)
Calculates the log likelihood of this set of coalescent intervals, using an analytical integration over theta. |
double |
calculateLogLikelihood()
Calculates the log likelihood of this set of coalescent intervals, given a demographic model. |
static double |
calculateLogLikelihood(IntervalList intervals,
DemographicFunction demographicFunction)
Calculates the log likelihood of this set of coalescent intervals, given a demographic model. |
double |
evaluate(double[] argument)
compute function value |
double |
getLowerBound(int n)
get lower bound of argument n |
int |
getNumArguments()
get number of arguments |
OrthogonalHints |
getOrthogonalHints()
|
double |
getUpperBound(int n)
get upper bound of argument n |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Coalescent(RootedTree tree,
DemographicFunction demographicFunction)
public Coalescent(IntervalList intervals,
DemographicFunction demographicFunction)
| Method Detail |
|---|
public double calculateLogLikelihood()
public static final double calculateLogLikelihood(IntervalList intervals,
DemographicFunction demographicFunction)
public static final double calculateAnalyticalLogLikelihood(IntervalList intervals)
public double evaluate(double[] argument)
MultivariateFunction
evaluate in interface MultivariateFunctionargument - function argument (vector)
public int getNumArguments()
MultivariateFunction
getNumArguments in interface MultivariateFunctionpublic double getLowerBound(int n)
MultivariateFunction
getLowerBound in interface MultivariateFunctionn - argument number
public double getUpperBound(int n)
MultivariateFunction
getUpperBound in interface MultivariateFunctionn - argument number
public OrthogonalHints getOrthogonalHints()
getOrthogonalHints in interface MultivariateFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||