Search in sources :

Example 1 with BayesianSkylinePopSizeStatistic

use of dr.evomodel.coalescent.BayesianSkylinePopSizeStatistic in project beast-mcmc by beast-dev.

the class BayesianSkylinePopSizeStatisticParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    double time = xo.getDoubleAttribute(TIME);
    BayesianSkylineLikelihood bsl = (BayesianSkylineLikelihood) xo.getChild(BayesianSkylineLikelihood.class);
    return new BayesianSkylinePopSizeStatistic(time, bsl);
}
Also used : BayesianSkylinePopSizeStatistic(dr.evomodel.coalescent.BayesianSkylinePopSizeStatistic) BayesianSkylineLikelihood(dr.evomodel.coalescent.BayesianSkylineLikelihood)

Aggregations

BayesianSkylineLikelihood (dr.evomodel.coalescent.BayesianSkylineLikelihood)1 BayesianSkylinePopSizeStatistic (dr.evomodel.coalescent.BayesianSkylinePopSizeStatistic)1