Commit 485c6f9b authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/germline.{h,cpp}: 'clone_stats', storing statistics on clones

parent 9c64d4ca
...@@ -21,6 +21,7 @@ void Germline::init(string _code, char _shortcut, ...@@ -21,6 +21,7 @@ void Germline::init(string _code, char _shortcut,
delta_max = _delta_max ; delta_max = _delta_max ;
stats.setLabel(code); stats.setLabel(code);
stats_clones.setLabel(code + "-clones");
} }
Germline::Germline(string _code, char _shortcut, Germline::Germline(string _code, char _shortcut,
...@@ -261,6 +262,7 @@ void MultiGermline::out_stats(ostream &out) ...@@ -261,6 +262,7 @@ void MultiGermline::out_stats(ostream &out)
{ {
Germline *germline = *it ; Germline *germline = *it ;
out << germline->stats ; out << germline->stats ;
out << germline->stats_clones ;
} }
} }
......
...@@ -68,6 +68,7 @@ class Germline { ...@@ -68,6 +68,7 @@ class Germline {
int delta_max; int delta_max;
Stats stats; Stats stats;
Stats stats_clones;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment