12 std::shared_ptr<PhyloLikelihoodContainer> pC,
23 std::vector<std::shared_ptr<Node_DF>> vSL;
25 for (
auto np : nPhylo)
27 vSL.push_back(alignedPhyloLikelihood(np).alignedLikelihoodCalculation().getSiteLikelihoods(
false));
32 likCal_->setSiteLikelihoods(sL);
36 likCal_->setLikelihoodNode(su);
41 std::shared_ptr<PhyloLikelihoodContainer> pC,
42 const std::vector<size_t>& nPhylo,
49 likCal_(make_shared<AlignedLikelihoodCalculation>(context))
52 std::vector<std::shared_ptr<Node_DF>> vSL;
54 for (
auto np : nPhylo)
56 vSL.push_back(alignedPhyloLikelihood(np).alignedLikelihoodCalculation().getSiteLikelihoods(
false));
61 likCal_->setSiteLikelihoods(sL);
65 likCal_->setLikelihoodNode(su);
The AlignedPhyloLikelihoodSet abstract class.
The PhyloLikelihoodSet class, to manage a subset of PhyloLikelihoods from a given PhyloLikelihoodCont...
const std::vector< size_t > & getNumbersOfPhyloLikelihoods() const override
AlignedPhyloLikelihoodProduct(Context &context, std::shared_ptr< PhyloLikelihoodContainer > pC, bool inCollection=true)
Context for dataflow node construction.
static ValueRef< DataLik > create(Context &c, NodeRefVec &&deps, const Dimension< F > &mDim)
Build a new SumOfLogarithms node with the given input matrix dimensions.
Defines the basic types of data flow nodes.