Mercurial > repos > dereeper > sniplay
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/egglib/egglib-2.1.5/include/egglib-cpp/Mutation.hpp Fri Jul 10 10:38:43 2015 -0400 @@ -0,0 +1,63 @@ +/* + Copyright 2009-2010 Stéphane De Mita, Mathieu Siol + + This file is part of the EggLib library. + + EggLib is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + EggLib is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with EggLib. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef EGGLIB_MUTATION_HPP +#define EGGLIB_MUTATION_HPP + +#include <vector> +#include "Edge.hpp" + +namespace egglib { + + /** \brief Very simple container of some information relative to a mutation + * + * \ingroup coalesce + * + */ + class Mutation { + + public: + + /// Default constructor + Mutation(); + + /// Age + //double age; + + /// Mutation index (for finding in Edge) + unsigned int actualSiteIndex; + + /// Position + double position; + + /// Segment index + unsigned int segmentIndex; + + /// Pointer to edge + //const Edge* edge; + + private: + + void init(); + + }; + +} + +#endif