 |
OR-Tools
8.0
|
Go to the documentation of this file.
17 #ifndef OR_TOOLS_SAT_SUBSOLVER_H_
18 #define OR_TOOLS_SAT_SUBSOLVER_H_
29 #if !defined(__PORTABLE_PLATFORM__)
31 #endif // __PORTABLE_PLATFORM__
102 std::function<void()> f_;
117 const std::vector<std::unique_ptr<SubSolver>>& subsolvers,
int num_threads);
130 const std::vector<std::unique_ptr<SubSolver>>& subsolvers,
int num_threads,
137 void SequentialLoop(
const std::vector<std::unique_ptr<SubSolver>>& subsolvers);
142 #endif // OR_TOOLS_SAT_SUBSOLVER_H_
double deterministic_time_
void DeterministicLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers, int num_threads, int batch_size)
SubSolver(const std::string &name)
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
void NonDeterministicLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers, int num_threads)
bool TaskIsAvailable() final
virtual std::function< void()> GenerateTask(int64 task_id)=0
std::function< void()> GenerateTask(int64 task_id) final
void SequentialLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers)
double deterministic_time() const
virtual void Synchronize()=0
SynchronizationPoint(std::function< void()> f)
virtual bool TaskIsAvailable()=0