A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
placement_tree.cpp
Go to the documentation of this file.
1 /*
2  Genesis - A toolkit for working with phylogenetic data.
3  Copyright (C) 2014-2017 Lucas Czech
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  Contact:
19  Lucas Czech <lucas.czech@h-its.org>
20  Exelixis Lab, Heidelberg Institute for Theoretical Studies
21  Schloss-Wolfsbrunnenweg 35, D-69118 Heidelberg, Germany
22 */
23 
32 
33 #include <map>
34 
37 
38 namespace genesis {
39 namespace placement {
40 
41 // =============================================================================
42 // PlacementTreeEdgeData
43 // =============================================================================
44 
49 {
50  return edge_num_;
51 }
52 
60 {
61  edge_num_ = val;
62 }
63 
64 } // namespace placement
65 } // namespace genesis
void reset_edge_num(int val)
Force to set the edge_num to a certain value.
Provides easy and fast logging functionality.
int edge_num() const
Return the edge_num of this edge. This value is defined by the jplace standard.