3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-04 15:56:30 -07:00
parent 10d0404175
commit d0e20e44ff
714 changed files with 714 additions and 2142 deletions

View file

@ -18,8 +18,7 @@ Author:
Revision History:
--*/
#ifndef BA_SOLVER_H_
#define BA_SOLVER_H_
#pragma once
#include "sat/sat_extension.h"
#include "sat/sat_solver.h"
@ -582,4 +581,3 @@ namespace sat {
};
#endif

View file

@ -16,12 +16,10 @@ Author:
Revision History:
--*/
#ifndef DIMACS_H_
#define DIMACS_H_
#pragma once
#include "sat/sat_types.h"
bool parse_dimacs(std::istream & s, std::ostream& err, sat::solver & solver);
#endif /* DIMACS_PARSER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_ALLOCATOR_H_
#define SAT_ALLOCATOR_H_
#pragma once
#include "util/vector.h"
#include "util/machine.h"
@ -99,5 +98,4 @@ inline void * operator new[](size_t s, sat_allocator & r) { return r.allocate(s)
inline void operator delete(void * p, sat_allocator & r) { UNREACHABLE(); }
inline void operator delete[](void * p, sat_allocator & r) { UNREACHABLE(); }
#endif /* SAT_ALLOCATOR_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_ASYMM_BRANCH_H_
#define SAT_ASYMM_BRANCH_H_
#pragma once
#include "sat/sat_types.h"
#include "sat/sat_big.h"
@ -109,4 +108,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_BIG_H_
#define SAT_BIG_H_
#pragma once
#include "sat/sat_types.h"
#include "util/statistics.h"
@ -90,4 +89,3 @@ namespace sat {
};
};
#endif

View file

@ -17,8 +17,7 @@
--*/
#ifndef _SAT_BINSPR_
#define _SAT_BINSPR_
#pragma once
#include "util/params.h"
#include "util/statistics.h"
@ -106,4 +105,3 @@ namespace sat {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_CLAUSE_H_
#define SAT_CLAUSE_H_
#pragma once
#include "util/small_object_allocator.h"
#include "util/id_gen.h"
@ -197,4 +196,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_CLAUSE_SET_H_
#define SAT_CLAUSE_SET_H_
#pragma once
#include "sat/sat_clause.h"
@ -53,4 +52,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_CLAUSE_USE_LIST_H_
#define SAT_CLAUSE_USE_LIST_H_
#pragma once
#include "sat/sat_types.h"
#include "util/trace.h"
@ -137,4 +136,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_CLEANER_H_
#define SAT_CLEANER_H_
#pragma once
#include "sat/sat_types.h"
#include "util/statistics.h"
@ -51,4 +50,3 @@ namespace sat {
};
#endif

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef SAT_CONFIG_H_
#define SAT_CONFIG_H_
#pragma once
#include "util/params.h"
@ -205,4 +204,3 @@ namespace sat {
};
};
#endif

View file

@ -18,8 +18,7 @@
http://www.ict.griffith.edu.au/~johnt/publications/CP2006raouf.pdf
--*/
#ifndef _SAT_DDFW_
#define _SAT_DDFW_
#pragma once
#include "util/uint_set.h"
#include "util/rlimit.h"
@ -224,4 +223,3 @@ namespace sat {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SAT_DRAT_H_
#define SAT_DRAT_H_
#pragma once
namespace sat {
class drat {
@ -117,4 +116,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_ELIM_EQS_H_
#define SAT_ELIM_EQS_H_
#pragma once
#include "sat/sat_types.h"
#include "util/union_find.h"
@ -50,4 +49,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_ELIM_VARS_H_
#define SAT_ELIM_VARS_H_
#pragma once
#include "sat/sat_types.h"
#include "math/dd/dd_bdd.h"
@ -71,4 +70,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_EXTENSION_H_
#define SAT_EXTENSION_H_
#pragma once
#include "sat/sat_types.h"
#include "util/params.h"
@ -86,4 +85,3 @@ namespace sat {
};
#endif

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef SAT_INTEGRITY_CHECKER_H_
#define SAT_INTEGRITY_CHECKER_H_
#pragma once
#include "sat/sat_types.h"
#include "sat/sat_watched.h"
@ -43,4 +42,3 @@ namespace sat {
bool operator()() const;
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_JUSTIFICATIONS_H_
#define SAT_JUSTIFICATIONS_H_
#pragma once
namespace sat {
@ -80,4 +79,3 @@ namespace sat {
}
};
#endif

View file

@ -16,8 +16,7 @@
Notes:
--*/
#ifndef _SAT_LOCAL_SEARCH_H_
#define _SAT_LOCAL_SEARCH_H_
#pragma once
#include "util/vector.h"
#include "sat/sat_types.h"
@ -282,4 +281,3 @@ namespace sat {
};
}
#endif

View file

@ -17,8 +17,7 @@ Author:
Notes:
--*/
#ifndef _SAT_LOOKAHEAD_H_
#define _SAT_LOOKAHEAD_H_
#pragma once
#include "util/small_object_allocator.h"
@ -632,5 +631,4 @@ namespace sat {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SAT_MUS_H_
#define SAT_MUS_H_
#pragma once
namespace sat {
class mus {
@ -65,4 +64,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_PARALLEL_H_
#define SAT_PARALLEL_H_
#pragma once
#include "sat/sat_types.h"
#include "util/hashtable.h"
@ -114,4 +113,3 @@ namespace sat {
};
#endif

View file

@ -18,8 +18,7 @@
http://www.ict.griffith.edu.au/~johnt/publications/CP2006raouf.pdf
--*/
#ifndef _SAT_PROB_
#define _SAT_PROB_
#pragma once
#include "util/uint_set.h"
#include "util/rlimit.h"
@ -157,4 +156,3 @@ namespace sat {
};
}
#endif

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef SAT_PROBING_H_
#define SAT_PROBING_H_
#pragma once
#include "sat/sat_types.h"
#include "sat/sat_big.h"
@ -95,4 +94,3 @@ namespace sat {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_SCC_H_
#define SAT_SCC_H_
#pragma once
#include "util/statistics.h"
#include "util/params.h"
@ -64,4 +63,3 @@ namespace sat {
};
};
#endif

View file

@ -18,8 +18,7 @@ Author:
Revision History:
--*/
#ifndef SAT_SIMPLIFIER_H_
#define SAT_SIMPLIFIER_H_
#pragma once
#include "sat/sat_types.h"
#include "sat/sat_clause.h"
@ -243,4 +242,3 @@ namespace sat {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_SOLVER_H_
#define SAT_SOLVER_H_
#pragma once
#include <cmath>
#include "sat/sat_types.h"
@ -794,4 +793,3 @@ namespace sat {
std::ostream & operator<<(std::ostream & out, mk_stat const & stat);
};
#endif

View file

@ -17,8 +17,7 @@ Notes:
--*/
#ifndef HS_INC_SAT_SOLVER_H_
#define HS_INC_SAT_SOLVER_H_
#pragma once
#include "solver/solver.h"
@ -34,4 +33,3 @@ tactic* mk_psat_tactic(ast_manager& m, params_ref const& p);
void inc_sat_display(std::ostream& out, solver& s, unsigned sz, expr*const* soft, rational const* _weights);
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_SOLVER_CORE_H_
#define SAT_SOLVER_CORE_H_
#pragma once
#include "sat/sat_types.h"
@ -120,4 +119,3 @@ namespace sat {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_TYPES_H_
#define SAT_TYPES_H_
#pragma once
#include "util/debug.h"
#include "util/approx_set.h"
@ -269,4 +268,3 @@ namespace sat {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_VAR_QUEUE_H_
#define SAT_VAR_QUEUE_H_
#pragma once
#include "util/heap.h"
#include "sat/sat_types.h"
@ -77,4 +76,3 @@ namespace sat {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SAT_WATCHED_H_
#define SAT_WATCHED_H_
#pragma once
#include "sat/sat_types.h"
#include "util/vector.h"
@ -146,4 +145,3 @@ namespace sat {
void conflict_cleanup(watch_list::iterator it, watch_list::iterator it2, watch_list& wlist);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef ATOM2BOOL_VAR_H_
#define ATOM2BOOL_VAR_H_
#pragma once
#include "ast/expr2var.h"
#include "sat/sat_types.h"
@ -41,4 +40,3 @@ class goal;
void collect_boolean_interface(goal const & g, obj_hashtable<expr> & r);
void collect_boolean_interface(ast_manager & m, unsigned num, expr * const * fs, obj_hashtable<expr> & r);
#endif

View file

@ -26,8 +26,7 @@ Author:
Notes:
--*/
#ifndef GOAL2SAT_H_
#define GOAL2SAT_H_
#pragma once
#include "tactic/goal.h"
#include "sat/sat_solver.h"
@ -118,4 +117,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SAT_TACTIC_H_
#define SAT_TACTIC_H_
#pragma once
#include "util/params.h"
class ast_manager;
@ -32,4 +31,3 @@ tactic * mk_sat_preprocessor_tactic(ast_manager & m, params_ref const & p = para
ADD_TACTIC('sat-preprocess', 'Apply SAT solver preprocessing procedures (bounded resolution, Boolean constant propagation, 2-SAT, subsumption, subsumption resolution).', 'mk_sat_preprocessor_tactic(m, p)')
*/
#endif