bpp-phyl3 3.0.0
BppOBranchModelFormat.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_IO_BPPOBRANCHMODELFORMAT_H
6#define BPP_PHYL_IO_BPPOBRANCHMODELFORMAT_H
7
8
10
11namespace bpp
12{
23{
24public:
35 BppOBranchModelFormat(unsigned char alphabetCode, bool allowCovarions, bool allowMixed, bool allowGaps, bool verbose, int warn) :
36 BppOTransitionModelFormat(alphabetCode, allowCovarions, allowMixed, allowGaps, verbose, warn)
37 {}
38
41 {}
42
44 {
46 return *this;
47 }
48
49public:
50 std::unique_ptr<BranchModelInterface> readBranchModel(
51 std::shared_ptr<const Alphabet> alphabet,
52 const std::string& modelDescription,
53 const std::map<size_t, std::shared_ptr<const AlignmentDataInterface>>& mData,
54 size_t nData,
55 bool parseArguments = true);
56};
57} // end of namespace bpp.
58#endif // BPP_PHYL_IO_BPPOBRANCHMODELFORMAT_H
Branch model I/O in BppO format.
BppOBranchModelFormat & operator=(const BppOBranchModelFormat &format)
BppOBranchModelFormat(const BppOTransitionModelFormat &format)
std::unique_ptr< BranchModelInterface > readBranchModel(std::shared_ptr< const Alphabet > alphabet, const std::string &modelDescription, const std::map< size_t, std::shared_ptr< const AlignmentDataInterface > > &mData, size_t nData, bool parseArguments=true)
BppOBranchModelFormat(unsigned char alphabetCode, bool allowCovarions, bool allowMixed, bool allowGaps, bool verbose, int warn)
Create a new BppOBranchModelFormat object.
Transition model I/O in BppO format.
BppOTransitionModelFormat & operator=(const BppOTransitionModelFormat &format)
Defines the basic types of data flow nodes.