5 #ifndef BPP_PHYL_LIKELIHOOD_MODELSCENARIO_H
6 #define BPP_PHYL_LIKELIHOOD_MODELSCENARIO_H
130 void changeModel(std::shared_ptr<MixedTransitionModelInterface> m1,
131 std::shared_ptr<MixedTransitionModelInterface> m2);
166 std::vector<std::shared_ptr<MixedTransitionModelInterface>>
getModels()
const;
Organization of submodels in mixed substitution models as paths.
std::shared_ptr< ModelPath > getModelPath(size_t i)
ModelScenario(std::vector< std::shared_ptr< ModelPath >> vModelPaths)
void clear()
Resets the list of the ModelPaths.
std::shared_ptr< const ModelPath > getModelPath(size_t i) const
void computeModelPathsProbabilities()
compute the probabilities in all the ModelPaths
std::vector< std::shared_ptr< MixedTransitionModelInterface > > getModels() const
return models found in several paths
void changeModel(std::shared_ptr< MixedTransitionModelInterface > m1, std::shared_ptr< MixedTransitionModelInterface > m2)
bool hasExclusivePaths() const
Checks if all the path (ie hypernodes) are exclusive.
std::string toString() const
string description
void addModelPath(std::shared_ptr< ModelPath > hn)
ModelScenario & operator=(const ModelScenario &set)
std::vector< std::shared_ptr< ModelPath > > vModelPaths_
size_t getNumberOfModelPaths() const
ModelScenario(const ModelScenario &set)
Defines the basic types of data flow nodes.