Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::pdlp::Scheduler Class Referenceabstract

Thread scheduling interface. More...

#include <scheduler.h>

Public Member Functions

virtual ~Scheduler ()=default
 
virtual int num_threads () const =0
 
virtual std::string info_string () const =0
 
virtual void ParallelFor (int start, int end, absl::AnyInvocable< void(int)> do_func)=0
 Calls do_func(i) in parallel for i from start to end-1.
 

Detailed Description

Thread scheduling interface.

Definition at line 24 of file scheduler.h.

Constructor & Destructor Documentation

◆ ~Scheduler()

virtual operations_research::pdlp::Scheduler::~Scheduler ( )
virtualdefault

Member Function Documentation

◆ 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: