use of dr.evomodel.alloppnet.speciation.AlloppMulLabTree in project beast-mcmc by beast-dev.
the class AlloppSpeciesNetworkModelTEST method testLhoodMulLabTree.
public void testLhoodMulLabTree() {
ApSpInfo[] apspecies = new ApSpInfo[3];
apspecies[0] = new ApSpInfo("a", 2, new Individual[0]);
apspecies[1] = new ApSpInfo("b", 2, new Individual[0]);
apspecies[2] = new ApSpInfo("z", 4, new Individual[0]);
AlloppSpeciesBindings testASB = new AlloppSpeciesBindings(apspecies);
AlloppMulLabTree testamlt = new AlloppMulLabTree(testASB);
double llhood = testamlt.testGeneTreeInMULTreeLogLikelihood();
assertEquals(llhood, -13.562218135041552713, 1e-10);
System.out.println(llhood);
}
Aggregations