5 #ifndef BPP_PHYL_MAPPING_UNIFORMIZATIONSUBSTITUTIONCOUNT_H
6 #define BPP_PHYL_MAPPING_UNIFORMIZATIONSUBSTITUTIONCOUNT_H
28 std::shared_ptr<const SubstitutionModelInterface>
model_;
31 mutable std::vector< RowMatrix<double>>
power_;
32 mutable std::vector< std::vector< RowMatrix<double>>>
s_;
34 mutable std::vector< RowMatrix<double>>
counts_;
39 std::shared_ptr<const SubstitutionModelInterface> model,
40 std::shared_ptr<const SubstitutionRegisterInterface> reg,
41 std::shared_ptr<const AlphabetIndex2> weights =
nullptr,
42 std::shared_ptr<const AlphabetIndex2> distances =
nullptr);
46 std::shared_ptr<const SubstitutionRegisterInterface> reg,
47 std::shared_ptr<const AlphabetIndex2> weights =
nullptr,
48 std::shared_ptr<const AlphabetIndex2> distances =
nullptr);
66 AbstractSubstitutionCount::operator=(usc);
85 double getNumberOfSubstitutions(
size_t initialState,
size_t finalState,
double length,
size_t type = 1)
const override;
Partial implementation of the SubstitutionCount interface.
Partial implementation of the SubstitutionDistance interface.
AbstractSubstitutionDistance & operator=(const AbstractSubstitutionDistance &index)
Partial implementation of the WeightedSubstitutionCount interface.
AbstractWeightedSubstitutionCount & operator=(const AbstractWeightedSubstitutionCount &index)
Map the states of a given alphabet which have a model state.
Defines the basic types of data flow nodes.