carl  24.04
Computer ARithmetic Library
BuchbergerStats.cpp
Go to the documentation of this file.
1 
2 
3 
4 /*
5  * @file BuchbergerStats.cpp
6  * @author Sebastian Junges
7  *
8  */
9 
10 #include "BuchbergerStats.h"
11 
12 namespace carl
13 {
14 BuchbergerStats* BuchbergerStats::instance = nullptr;
15 
17 {
18  if( instance == nullptr )
19  instance = new BuchbergerStats( );
20  return instance;
21 }
22 }
carl is the main namespace for the library.
A little class for gathering statistics about the Buchberger algorithm calls.
static BuchbergerStats * instance
static BuchbergerStats * getInstance()