bpp-phyl3
3.0.0
SubstitutionRegister.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: The Bio++ Development Group
2
//
3
// SPDX-License-Identifier: CECILL-2.1
4
5
#include "
SubstitutionRegister.h
"
6
7
using namespace
bpp
;
8
using namespace
std;
9
10
void
GeneralSubstitutionRegister::updateTypes_
()
11
{
12
types_.clear();
13
for
(
size_t
i = 0; i < size_; i++)
14
{
15
for
(
size_t
j = 0; j < size_; j++)
16
{
17
size_t
type = matrix_(i, j);
18
map<size_t, vector<size_t>> reg = types_[type];
19
reg[i].push_back(j);
20
}
21
}
22
}
SubstitutionRegister.h
bpp::GeneralSubstitutionRegister::updateTypes_
void updateTypes_()
Definition:
SubstitutionRegister.cpp:10
bpp
Defines the basic types of data flow nodes.
Bpp
Phyl
Mapping
SubstitutionRegister.cpp
Generated on Fri Jul 19 2024 11:49:21 for bpp-phyl3 by
1.9.1