#include "nusmv/core/utils/utils.h"
#include "nusmv/core/be/be.h"
#include "nusmv/core/node/node.h"
#include "nusmv/core/sat/SatSolver.h"
#include "nusmv/core/sat/SatIncSolver.h"
Go to the source code of this file.
Defines | |
#define | NUSMV_HAVE_INCREMENTAL_SAT 0 |
The public interface for the sat package. | |
Functions | |
SatIncSolver_ptr | Sat_CreateIncProofSolver (const NuSMVEnv_ptr env, const char *satSolver) |
Creates an incremental proof logging SAT solver instance of a given name. | |
SatIncSolver_ptr | Sat_CreateIncSolver (const NuSMVEnv_ptr env, const char *satSolver) |
Creates an incremental SAT solver instance of a given name. | |
SatSolver_ptr | Sat_CreateNonIncProofSolver (const NuSMVEnv_ptr env, const char *satSolver) |
Creates a SAT solver (non-incremental) of a given name. Proof-logging may be enabled if needed. | |
SatSolver_ptr | Sat_CreateNonIncSolver (const NuSMVEnv_ptr env, const char *satSolver) |
Creates a SAT solver (non-incremental) of a given name. | |
char * | Sat_GetAvailableSolversString (void) |
Retrieves a string with the sat solvers names the system currently supplies. | |
const char * | Sat_NormalizeSatSolverName (const char *solverName) |
Given a string representing the name of a sat solver, returns a normalized solver name -- just potential changes in character cases. | |
void | Sat_PrintAvailableSolvers (FILE *file) |
Prints out the sat solvers names the system currently supplies. |
#define NUSMV_HAVE_INCREMENTAL_SAT 0 |
The public interface for the sat
package.
A flag indicating that there is at least one incremental SAT solver
SatIncSolver_ptr Sat_CreateIncProofSolver | ( | const NuSMVEnv_ptr | env, | |
const char * | satSolver | |||
) |
Creates an incremental proof logging SAT solver instance of a given name.
The name of a solver is case-insensitive. Returns NULL if requested sat solver is not available.
SatIncSolver_ptr Sat_CreateIncSolver | ( | const NuSMVEnv_ptr | env, | |
const char * | satSolver | |||
) |
Creates an incremental SAT solver instance of a given name.
The name of a solver is case-insensitive. Returns NULL if requested sat solver is not available.
SatSolver_ptr Sat_CreateNonIncProofSolver | ( | const NuSMVEnv_ptr | env, | |
const char * | satSolver | |||
) |
Creates a SAT solver (non-incremental) of a given name. Proof-logging may be enabled if needed.
The name of a solver is case-insensitive. Returns NULL if requested sat solver is not available. Proof logging is currently available only with MiniSat.
SatSolver_ptr Sat_CreateNonIncSolver | ( | const NuSMVEnv_ptr | env, | |
const char * | satSolver | |||
) |
Creates a SAT solver (non-incremental) of a given name.
The name of a solver is case-insensitive. Returns NULL if requested sat solver is not available.
char* Sat_GetAvailableSolversString | ( | void | ) |
Retrieves a string with the sat solvers names the system currently supplies.
Returned string must be freed
const char* Sat_NormalizeSatSolverName | ( | const char * | solverName | ) |
Given a string representing the name of a sat solver, returns a normalized solver name -- just potential changes in character cases.
In case of an error, if an input string does not represented any solver, returns (const char*) NULL. Returned string must not be freed.
void Sat_PrintAvailableSolvers | ( | FILE * | file | ) |
Prints out the sat solvers names the system currently supplies.