diff options
author | Hoang M. Le <hle@informatik.uni-bremen.de> | 2017-06-01 12:09:02 +0200 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-06-02 12:52:55 +0100 |
commit | e3b88631ef58ad406ac069bd3a4ba16fb4aa07cc (patch) | |
tree | 008eaafce4f1c077d5d96d2ca2a5a81c57eb44d4 /include | |
parent | 3ae967137fc715ff4ae5109895771fd1ca0724e4 (diff) | |
download | klee-e3b88631ef58ad406ac069bd3a4ba16fb4aa07cc.tar.gz |
hide backend solver declarations from public include
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Solver.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/include/klee/Solver.h b/include/klee/Solver.h index 7f12ddfb..e669c6f4 100644 --- a/include/klee/Solver.h +++ b/include/klee/Solver.h @@ -203,64 +203,6 @@ namespace klee { virtual void setCoreSolverTimeout(double timeout); }; -#ifdef ENABLE_STP - /// STPSolver - A complete solver based on STP. - class STPSolver : public Solver { - public: - /// STPSolver - Construct a new STPSolver. - /// - /// \param useForkedSTP - Whether STP should be run in a separate process - /// (required for using timeouts). - /// \param optimizeDivides - Whether constant division operations should - /// be optimized into add/shift/multiply operations. - STPSolver(bool useForkedSTP, bool optimizeDivides = true); - - /// getConstraintLog - Return the constraint log for the given state in CVC - /// format. - virtual char *getConstraintLog(const Query&); - - /// setCoreSolverTimeout - Set constraint solver timeout delay to the given value; 0 - /// is off. - virtual void setCoreSolverTimeout(double timeout); - }; -#endif // ENABLE_STP - -#ifdef ENABLE_Z3 - /// Z3Solver - A solver complete solver based on Z3 - class Z3Solver : public Solver { - public: - /// Z3Solver - Construct a new Z3Solver. - Z3Solver(); - - /// Get the query in SMT-LIBv2 format. - /// \return A C-style string. The caller is responsible for freeing this. - virtual char *getConstraintLog(const Query &); - - /// setCoreSolverTimeout - Set constraint solver timeout delay to the given - /// value; 0 - /// is off. - virtual void setCoreSolverTimeout(double timeout); - }; -#endif // ENABLE_Z3 - -#ifdef ENABLE_METASMT - - template<typename SolverContext> - class MetaSMTSolver : public Solver { - public: - MetaSMTSolver(bool useForked, bool optimizeDivides); - virtual ~MetaSMTSolver(); - - virtual char *getConstraintLog(const Query&); - virtual void setCoreSolverTimeout(double timeout); - }; - - /// createMetaSMTSolver - Create a solver using the metaSMT backend set by - /// the option MetaSMTBackend. - Solver *createMetaSMTSolver(); - -#endif /* ENABLE_METASMT */ - /* *** */ /// createValidatingSolver - Create a solver which will validate all query |