Search in sources :

Example 1 with IstvanOperator

use of dr.oldevomodel.indel.IstvanOperator in project beast-mcmc by beast-dev.

the class IstvanOperatorParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    TKF91Likelihood likelihood = (TKF91Likelihood) xo.getChild(TKF91Likelihood.class);
    double weight = xo.getDoubleAttribute("weight");
    double iP = xo.getDoubleAttribute("iP");
    double exponent = xo.getDoubleAttribute("exponent");
    double gapPenalty = xo.getDoubleAttribute("gapPenalty");
    return new IstvanOperator(iP, exponent, gapPenalty, weight, likelihood);
}
Also used : TKF91Likelihood(dr.oldevomodel.indel.TKF91Likelihood) IstvanOperator(dr.oldevomodel.indel.IstvanOperator)

Aggregations

IstvanOperator (dr.oldevomodel.indel.IstvanOperator)1 TKF91Likelihood (dr.oldevomodel.indel.TKF91Likelihood)1