Expand description
Contains structures related to the statistic logging of the [Solver]
Structs§
- Statistic
Logger - Responsible for logging the statistics with the provided prefix; currently used when logging the statistics of propagators.
- Statistic
Options - The options for statistic logging containing the statistic prefix, the (optional) line which is printed after the statistics, and the (optional) casing of the statistics.
Traits§
- Statistic
- A simple trait for defining a loggable statistic.
Functions§
- configure_
statistic_ logging - Configures the logging of the statistics.
- log_
statistic - Logs the provided statistic with name
nameand valuevalue. At the moment it will log in the formatSTATISTIC_PREFIX NAME=VALUE. - log_
statistic_ postfix - Logs the postfix of the statistics (if it has been set).
- should_
log_ statistics - Returns whether or not statistics should be logged by determining whether the
StatisticOptionshave been configured.