mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 05:10:26 +08:00
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
// $Id: likelihoodComputation2USSRV.h 962 2006-11-07 15:13:34Z privmane $
|
|
#ifndef ___LIKELIHOOD_COMPUTATION_2_USSRV
|
|
#define ___LIKELIHOOD_COMPUTATION_2_USSRV
|
|
|
|
#include "definitions.h"
|
|
#include "computePijComponent.h"
|
|
#include "sequenceContainer.h"
|
|
#include "suffStatComponent.h"
|
|
#include "ussrvModel.h"
|
|
#include "tree.h"
|
|
#include "computeUpAlg.h"
|
|
#include "likelihoodComputation.h"
|
|
#include <cmath>
|
|
#include <cassert>
|
|
|
|
|
|
namespace likelihoodComputation2USSRV {
|
|
|
|
MDOUBLE getTreeLikelihoodAllPosAlphTheSame(const tree& et,
|
|
const sequenceContainer& sc,const sequenceContainer& baseSc,
|
|
const ussrvModel& model,const Vdouble * const weights=0);
|
|
|
|
MDOUBLE getTreeLikelihoodFromUp2(const tree& et,
|
|
const sequenceContainer& sc,
|
|
const sequenceContainer& baseSc,
|
|
const ussrvModel & model,
|
|
const suffStatGlobalGam& cupBase,
|
|
const suffStatGlobalHom& cupSSRV,
|
|
VdoubleRep& posLike, // fill this vector with each position likelihood but without the weights.
|
|
const Vdouble * weights=0);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ___LIKELIHOOD_COMPUTATION_2_USSRV
|