Egglib 2.1.11
C++ library reference manual
Mutation.hpp
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 
33  class Mutation {
34 
35  public:
36 
38  Mutation();
39 
41  //double age;
42 
44  unsigned int actualSiteIndex;
45 
47  double position;
48 
50  unsigned int segmentIndex;
51 
53  //const Edge* edge;
54 
55  private:
56 
57  void init();
58 
59  };
60 
61 }
62 
63 #endif
unsigned int segmentIndex
Segment index.
Definition: Mutation.hpp:50
double position
Position.
Definition: Mutation.hpp:47
unsigned int actualSiteIndex
Age.
Definition: Mutation.hpp:44
Definition: ABC.cpp:37
Mutation()
Default constructor.
Definition: Mutation.cpp:28
Very simple container of some information relative to a mutation.
Definition: Mutation.hpp:33

Hosted by 
Get EggLib at SourceForge.net. Fast, secure and Free Open Source software downloads