bpp-phyl3 3.0.0
SequenceSimulationTools.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: The Bio++ Development Group
2//
3// SPDX-License-Identifier: CECILL-2.1
4
5#ifndef BPP_PHYL_SIMULATION_SEQUENCESIMULATIONTOOLS_H
6#define BPP_PHYL_SIMULATION_SEQUENCESIMULATIONTOOLS_H
7
8
9#include "SequenceSimulator.h"
10
11// From Seqlib:
13
14// From the STL:
15#include <vector>
16
17namespace bpp
18{
23{
24public:
27
28public:
43 static std::unique_ptr<SiteContainerInterface> simulateSites(
44 const SequenceSimulatorInterface& simulator,
45 const std::vector<double>& rates);
46
62 static std::unique_ptr<SiteContainerInterface> simulateSites(
63 const SequenceSimulatorInterface& simulator,
64 const std::vector<double>& rates,
65 const std::vector<size_t>& states);
66
75 static std::unique_ptr<SiteContainerInterface> simulateSites(
76 const SequenceSimulatorInterface& simulator,
77 const std::vector<size_t>& states);
78};
79} // end of namespace bpp.
80#endif // BPP_PHYL_SIMULATION_SEQUENCESIMULATIONTOOLS_H
Tools for sites and sequences simulation.
static std::unique_ptr< SiteContainerInterface > simulateSites(const SequenceSimulatorInterface &simulator, const std::vector< double > &rates)
Simulate a set of sites knowing their rate.
The SequenceSimulator interface. SequenceSimulator classes can simulate whole datasets.
Defines the basic types of data flow nodes.