comparison egglib/egglib-2.1.5/include/egglib-cpp/Mutation.hpp @ 3:345f88a8f483 draft

Uploaded
author dereeper
date Fri, 10 Jul 2015 10:38:43 -0400
parents 420b57c3c185
children
comparison
equal deleted inserted replaced
2:feb40a9a8eae 3:345f88a8f483
1 /*
2 Copyright 2009-2010 Stéphane De Mita, Mathieu Siol
3
4 This file is part of the EggLib library.
5
6 EggLib is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 EggLib is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with EggLib. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef EGGLIB_MUTATION_HPP
21 #define EGGLIB_MUTATION_HPP
22
23 #include <vector>
24 #include "Edge.hpp"
25
26 namespace egglib {
27
28 /** \brief Very simple container of some information relative to a mutation
29 *
30 * \ingroup coalesce
31 *
32 */
33 class Mutation {
34
35 public:
36
37 /// Default constructor
38 Mutation();
39
40 /// Age
41 //double age;
42
43 /// Mutation index (for finding in Edge)
44 unsigned int actualSiteIndex;
45
46 /// Position
47 double position;
48
49 /// Segment index
50 unsigned int segmentIndex;
51
52 /// Pointer to edge
53 //const Edge* edge;
54
55 private:
56
57 void init();
58
59 };
60
61 }
62
63 #endif