CBMC
|
Evaluator for checking if an expression is consistent with a given set of test cases (positive examples and negative examples). More...
#include <cegis_evaluator.h>
Public Member Functions | |
cegis_evaluatort (const exprt &expr, const std::vector< cext > &cexs) | |
bool | evaluate () |
Protected Member Functions | |
bool | evaluate_rec_bool (const exprt &expr, const cext &cex, const bool is_positive) |
mp_integer | evaluate_rec_int (const exprt &expr, const cext &cex, const bool is_positive) |
Protected Attributes | |
const exprt & | checked_expr |
The expression being evaluated. More... | |
const std::vector< cext > & | cexs |
The set of examples evaluated against. More... | |
Evaluator for checking if an expression is consistent with a given set of test cases (positive examples and negative examples).
Definition at line 19 of file cegis_evaluator.h.
Definition at line 22 of file cegis_evaluator.h.
bool cegis_evaluatort::evaluate | ( | ) |
Definition at line 17 of file cegis_evaluator.cpp.
|
protected |
Definition at line 35 of file cegis_evaluator.cpp.
|
protected |
Definition at line 149 of file cegis_evaluator.cpp.
|
protected |
The set of examples evaluated against.
Definition at line 49 of file cegis_evaluator.h.
|
protected |
The expression being evaluated.
Definition at line 47 of file cegis_evaluator.h.