CBMC
solver_progress.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Solver Progress Reporting
4
5
Author: Daniel Kroening, dkr@amazon.com
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_CPROVER_SOLVER_PROGRESS_H
13
#define CPROVER_CPROVER_SOLVER_PROGRESS_H
14
15
#include <cstddef>
16
17
class
solver_progresst
18
{
19
public
:
20
solver_progresst
(std::size_t __total,
bool
__verbose)
21
:
total
(__total),
verbose
(__verbose)
22
{
23
}
24
25
void
operator()
(std::size_t current);
26
void
finished
();
27
28
private
:
29
bool
first
=
true
;
30
std::size_t
total
= 0;
31
bool
verbose
;
32
};
33
34
#endif
// CPROVER_CPROVER_SOLVER_PROGRESS_H
solver_progresst
Definition:
solver_progress.h:18
solver_progresst::operator()
void operator()(std::size_t current)
Definition:
solver_progress.cpp:18
solver_progresst::total
std::size_t total
Definition:
solver_progress.h:30
solver_progresst::finished
void finished()
Definition:
solver_progress.cpp:47
solver_progresst::first
bool first
Definition:
solver_progress.h:29
solver_progresst::verbose
bool verbose
Definition:
solver_progress.h:31
solver_progresst::solver_progresst
solver_progresst(std::size_t __total, bool __verbose)
Definition:
solver_progress.h:20
src
cprover
solver_progress.h
Generated by
1.9.1