3 #ifdef SMTRAT_DEVOPTION_Statistics
9 std::map<unsigned,GBCalculationStats*> GBCalculationStats::instances = std::map<unsigned,GBCalculationStats*>();
11 GBCalculationStats& GBCalculationStats::getInstance(
unsigned key)
13 if( instances[key] == 0 )
14 instances[key] =
new GBCalculationStats();
15 return *instances[key];
18 void GBCalculationStats::printAll(std::ostream& os) {
19 for(
auto stats = instances.begin(); stats != instances.end(); ++stats ) {
20 stats->second->print(os);
28 void GBCalculationStats::collect() {
29 Statistics::addKeyValuePair(
"TSQ with constant", mBuchbergerStats->getNrTSQWithConstant());
30 Statistics::addKeyValuePair(
"TSQ without constant", mBuchbergerStats->getNrTSQWithoutConstant());
31 Statistics::addKeyValuePair(
"Single term seperable", mBuchbergerStats->getSingleTermSFP());
32 Statistics::addKeyValuePair(
"RRI-VO identity", mBuchbergerStats->getNrReducibleIdentities());
Class to create the formulas for axioms.