mirror of
https://github.com/Z3Prover/z3
synced 2025-05-09 00:35:47 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
42
lib/sat_integrity_checker.h
Normal file
42
lib/sat_integrity_checker.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*++
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue