Search in sources :

Example 1 with SiteLogLikelihoodLogger

use of dr.app.beagle.tools.SiteLogLikelihoodLogger in project beast-mcmc by beast-dev.

the class SiteLogLikelihoodLoggerParser method parseXMLObject.

@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    SiteLogLikelihoodLogger siteLogLikelihoodLogger;
    BeagleTreeLikelihood beagleTreeLikelihood = null;
    for (int i = 0; i < xo.getChildCount(); i++) {
        beagleTreeLikelihood = (BeagleTreeLikelihood) xo.getChild(i);
    }
    siteLogLikelihoodLogger = new SiteLogLikelihoodLogger(beagleTreeLikelihood);
    return siteLogLikelihoodLogger;
}
Also used : BeagleTreeLikelihood(dr.evomodel.treelikelihood.BeagleTreeLikelihood) SiteLogLikelihoodLogger(dr.app.beagle.tools.SiteLogLikelihoodLogger)

Aggregations

SiteLogLikelihoodLogger (dr.app.beagle.tools.SiteLogLikelihoodLogger)1 BeagleTreeLikelihood (dr.evomodel.treelikelihood.BeagleTreeLikelihood)1