 |
OR-Tools
8.1
|
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_
void DeterministicLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers, int num_threads, int batch_size)
virtual std::function< void()> GenerateTask(int64 task_id)=0
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
virtual bool TaskIsAvailable()=0
double deterministic_time_
std::function< void()> GenerateTask(int64 task_id) final
SynchronizationPoint(std::function< void()> f)
virtual void Synchronize()=0
void NonDeterministicLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers, int num_threads)
SubSolver(const std::string &name)
double deterministic_time() const
void SequentialLoop(const std::vector< std::unique_ptr< SubSolver >> &subsolvers)
bool TaskIsAvailable() final