Thread scheduling interface.
More...
#include <scheduler.h>
Thread scheduling interface.
Definition at line 24 of file scheduler.h.
◆ ~Scheduler()
virtual operations_research::pdlp::Scheduler::~Scheduler |
( |
| ) |
|
|
virtualdefault |
◆ info_string()
virtual std::string operations_research::pdlp::Scheduler::info_string |
( |
| ) |
const |
|
pure virtual |
◆ num_threads()
virtual int operations_research::pdlp::Scheduler::num_threads |
( |
| ) |
const |
|
pure virtual |
◆ ParallelFor()
virtual void operations_research::pdlp::Scheduler::ParallelFor |
( |
int | start, |
|
|
int | end, |
|
|
absl::AnyInvocable< void(int)> | do_func ) |
|
pure virtual |
Calls do_func(i)
in parallel for i
from start
to end-1
.
The documentation for this class was generated from the following file: