3#include "../solvers/SolverInterface.hpp"
4#include "utils/Threading.hpp"
5#include "working/WorkingStrategy.hpp"
24 void solve(
const std::vector<int>& cube);
28 void setSolverInterrupt();
30 void unsetSolverInterrupt();
34 std::shared_ptr<SolverInterface> solver;
37 friend void* mainWorker(
void* arg);
41 std::vector<int> actualCube;
43 std::atomic<bool> force;
45 std::atomic<bool> waitJob;
47 Mutex waitInterruptLock;
49 pthread_mutex_t mutexStart;
50 pthread_cond_t mutexCondStart;
Mutex class.
Definition Threading.hpp:18
Basic Implementation of WorkingStrategy for a sequential execution.
Definition SequentialWorker.hpp:18
Thread class.
Definition Threading.hpp:46
Base Interface for Working Strategies.
Definition WorkingStrategy.hpp:18
SatResult
Enumeration for SAT solver results.
Definition SolverInterface.hpp:39