https://cocoa.dima.unige.it/redmine/https://cocoa.dima.unige.it/redmine/redmine/favicon.ico?15088260392015-06-10T09:24:54ZCoCoA ProjectCoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=36832015-06-10T09:24:54ZJohn Abbott
<ul></ul><p>Mario asked about gathering stats for his involutive basis code.</p>
<p>I suggested using a <code>struct</code> to keep all the stats stuff together.</p>
<p>Why a <code>struct</code> rather than a <code>class</code>? Not entirely sure; a <code>struct</code> seems simpler: by having all data members public any code can increment counters etc.. With a <code>class</code> it would probably be necessary to have lots of one line functions (at least one to increment a counter, and another to read the counter), yet without any obvious gain.</p>
<p>Anyway, we can try first with a <code>struct</code>; if that proves not to be as easy/clean as hoped then it should be easy to switch to a <code>class</code>.</p> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=36842015-06-10T09:30:01ZJohn Abbott
<ul></ul><p>I suppose Mario ought to write about this. He has followed my design suggestion, and seems to be happy with it. If it continues to work well, perhaps we should consider adapting the GBMill stats gatherer to work in a similar way.</p>
<p>After speaking to Mario we felt that it was appropriate to have separate mechanisms for gathering stats and for producing progress/logging info. The GBMill implementation seems to have both combined (see <code>TmpGRStats.H</code>). I also note that the counters in the GBMill impl are <code>unsigned int</code>; it would probably be better to replace them with <code>long</code> (or possibly <code>unsigned long</code>) since <code>unsigned int</code> may be limited to <code>2^32</code>.</p> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=58052017-04-14T12:51:46ZAnna Maria Bigatti
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/redmine/issues/931">Feature #931</a>: GBasis verbose mode</i> added</li></ul> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=58072017-04-14T12:56:57ZAnna Maria Bigatti
<ul><li><strong>Subject</strong> changed from <i>Stats in GBMill</i> to <i>Stats in GBMill (GReductor)</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>20</i></li><li><strong>Estimated time</strong> set to <i>6.00 h</i></li></ul><p>This issue is about "Stats", i.e. gathering info about number of pairs, timings, etc.<br />This is strictly related with "verbosity", which prints them out, but without recording data.</p>
<p>I'm now resurrecting the GRStats code, making it compatible/complementary with the new verbosity mechanism.</p> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=58092017-04-18T10:09:54ZAnna Maria Bigatti
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Anna Maria Bigatti</i></li><li><strong>% Done</strong> changed from <i>20</i> to <i>30</i></li></ul><p>Studying and organizing the old <code>GRStats</code> code by Max Caboara.<br />Now adapting it to <code>VerbosityLevel</code>.</p> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=58852017-04-26T12:57:54ZAnna Maria Bigatti
<ul><li><strong>Target version</strong> changed from <i>CoCoALib-1.0</i> to <i>CoCoALib-0.99550 spring 2017</i></li></ul><p>Current version is OK, probably not final but acceptable for version 99550/5.2.0</p> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=58872017-04-26T13:07:01ZAnna Maria Bigatti
<ul><li><strong>Target version</strong> changed from <i>CoCoALib-0.99550 spring 2017</i> to <i>CoCoALib-0.99560</i></li></ul> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=64492017-11-06T13:06:48ZJohn Abbott
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>30</i> to <i>90</i></li></ul> CoCoALib - Feature #730: Stats in GBMill (GReductor)https://cocoa.dima.unige.it/redmine/issues/730?journal_id=66102017-11-20T15:12:28ZAnna Maria Bigatti
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li><li><strong>Estimated time</strong> changed from <i>6.00 h</i> to <i>4.00 h</i></li></ul><p>Closing this issue.<br />May be improved, but it is acceptable for the general requirement.<br />I needed make a more specific issue.</p>