bpp-seq3
3.0.0
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
i
o
p
s
v
Typedefs
a
c
i
o
p
s
v
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
Typedefs
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Pages
DistanceMatrix.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 "
DistanceMatrix.h
"
6
7
using namespace
std;
8
9
using namespace
bpp
;
10
11
size_t
DistanceMatrix::getNameIndex(
const
std::string& name)
const
12
{
13
for
(
size_t
i = 0; i < names_.size(); ++i)
14
{
15
if
(names_[i] == name)
16
return
i;
17
}
18
throw
Exception
(
"DistanceMatrix::getNameIndex. Name not found: '"
+ name +
"'."
);
19
}
DistanceMatrix.h
bpp::Exception
bpp
This alphabet is used to deal NumericAlphabet.
Bpp
Seq
DistanceMatrix.cpp
Generated on Fri Jul 19 2024 12:16:01 for bpp-seq3 by
1.9.1