bpp-popgen3
3.0.0
MonolocusGenotypeTools.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
// Secured inclusion of header's file
6
#ifndef _MonolocusGenotypeTools_h_
7
#define _MonolocusGenotypeTools_h_
8
9
// From STL
10
#include <vector>
11
#include <memory>
12
13
#include <
Bpp/Exceptions.h
>
14
15
// From Pop
16
#include "
MonolocusGenotype.h
"
17
18
namespace
bpp
19
{
27
class
MonolocusGenotypeTools
28
{
29
public
:
41
static
std::unique_ptr<MonolocusGenotypeInterface>
buildMonolocusGenotypeByAlleleKey
(
const
std::vector<size_t> alleleKeys);
42
};
43
}
// end of namespace bpp;
44
45
#endif
// _MonolocusGenotypeTools_h_
Exceptions.h
MonolocusGenotype.h
bpp::MonolocusGenotypeTools
The MonolocusGenotypeTools static class.
Definition:
MonolocusGenotypeTools.h:28
bpp::MonolocusGenotypeTools::buildMonolocusGenotypeByAlleleKey
static std::unique_ptr< MonolocusGenotypeInterface > buildMonolocusGenotypeByAlleleKey(const std::vector< size_t > alleleKeys)
Build a proper MonolocusGenotype accordig to the number of alleles.
Definition:
MonolocusGenotypeTools.cpp:15
bpp
Bpp
PopGen
MonolocusGenotypeTools.h
Generated on Sun Jul 21 2024 08:40:35 for bpp-popgen3 by
1.9.1