bpp-popgen3  3.0.0
DataSetTools.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 _DATASETTOOLS_H_
6 #define _DATASETTOOLS_H_
7 
8 // From STL
9 #include <set>
10 #include <memory>
11 
12 #include <Bpp/Exceptions.h>
13 #include <Bpp/Text/TextTools.h>
14 
15 // From bpp-seq
17 
18 // From local bpp-popgen
19 #include "DataSet.h"
20 #include "../PolymorphismSequenceContainer.h"
21 
22 namespace bpp
23 {
30 {
31 public:
35  static std::unique_ptr<DataSet> buildDataSet(const SequenceContainerInterface& sc);
36 
40  static std::unique_ptr<DataSet> buildDataSet(const PolymorphismSequenceContainer& psc);
41 };
42 } // end of namespace bpp;
43 
44 #endif // _DATASETTOOLS_H_
A set of tools for DataSet.
Definition: DataSetTools.h:30
static std::unique_ptr< DataSet > buildDataSet(const SequenceContainerInterface &sc)
General method to build a DataSet from an OrderedSequenceContainer.
The PolymorphismSequenceContainer class.