3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00
z3/lib/sat_integrity_checker.h
Leonardo de Moura e9eab22e5c Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 11:35:25 -07:00

43 lines
913 B
C++

/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
sat_integrity_checker.h
Abstract:
Checker whether the SAT solver internal datastructures
are consistent or not.
Author:
Leonardo de Moura (leonardo) 2011-05-21.
Revision History:
--*/
#ifndef _SAT_INTEGRITY_CHECKER_H_
#define _SAT_INTEGRITY_CHECKER_H_
#include"sat_types.h"
namespace sat {
class integrity_checker {
solver const & s;
public:
integrity_checker(solver const & s);
bool check_clause(clause const & c) const;
bool check_clauses(clause * const * begin, clause * const * end) const;
bool check_clauses() const;
bool check_learned_clauses() const;
bool check_assignment() const;
bool check_bool_vars() const;
bool check_watches() const;
bool check_reinit_stack() const;
bool operator()() const;
};
};
#endif