Revision cfdc7053f2bba3965c665328fc1d014f44cab16b authored by Lonca Emmanuel on 17 March 2021, 12:16:06 UTC, committed by Lonca Emmanuel on 17 March 2021, 12:16:06 UTC
1 parent 76983f8
DefaultStableSemanticsSolver.h
/*
* StableSemanticsSolver.h
*
* Created on: 22 juil. 2016
* Author: lonca
*/
#ifndef SRC_SOLVERS_STABLESEMANTICSSOLVER_H_
#define SRC_SOLVERS_STABLESEMANTICSSOLVER_H_
#include <memory>
#include "SemanticsProblemSolver.h"
#include "SatEncodingHelper.h"
#include "StableEncodingSatProblemReducer.h"
namespace CoQuiAAS {
class DefaultStableSemanticsSolver : public SemanticsProblemSolver {
public:
DefaultStableSemanticsSolver(std::shared_ptr<SatSolver> solver, Attacks &attacks, VarMap &varMap, TaskType taskType, SolverOutputFormatter &formatter);
void init();
void computeOneExtension();
void computeAllExtensions();
void isCredulouslyAccepted();
void isSkepticallyAccepted();
virtual ~DefaultStableSemanticsSolver();
private:
std::shared_ptr<SatSolver> solver;
SatEncodingHelper* helper;
std::unique_ptr<StableEncodingSatProblemReducer> problemReducer;
};
}
#endif /* SRC_SOLVERS_STABLESEMANTICSSOLVER_H_ */
Computing file changes ...