This class represents an information collection of an algorithm. Hence, it is the central place where all statistical information for one algorithm is stored.
More...
This class represents an information collection of an algorithm. Hence, it is the central place where all statistical information for one algorithm is stored.
The algorithm and the operation the algorithm belongs to are responsible to update the statistical information. Note, that a stemod::core::AlgorithmMeasurement object is used for the execution time measurement on the user side and automatically triggers the insertion of a new MeasurementPair as soon as the measurement is stopped.
Internally, stemod::core::AlgorithmMeasurement::afterAlgorithmExecution() stops the time and adds the received data to the algorithms statistics.
- Author:
- Sebastian Breß
- Version:
- 0.1
- Date:
- 2012
- Todo:
- This class is designed to be a member for algorithm that encapsulates statistical information. It is NOT meaningful to create an AlgorithmStatistics object on the heap. Therefore, heap based objects should be forbidden by making the operators new and new[] private. Furtheremore, the AlgorithmStatistics object should not be copyable, so making the copy cosntructur and copy assignment operator private is necessary as well.
- Copyright:
- GNU LESSER GENERAL PUBLIC LICENSE - Version 3, http://www.gnu.org/licenses/lgpl-3.0.txt