vg
tools for working with variation graphs
Public Member Functions | Private Attributes | List of all members
vg::JobSchedule Class Reference

#include <job_schedule.hpp>

Public Member Functions

 JobSchedule (const vector< pair< int64_t, int64_t >> &job_requirements, const function< void(int64_t)> &job_func)
 
 ~JobSchedule ()=default
 
void execute (int64_t target_memory_usage)
 

Private Attributes

function< void(int64_t)> job_func
 
list< pair< int64_t, int64_t > > queue
 

Constructor & Destructor Documentation

◆ JobSchedule()

vg::JobSchedule::JobSchedule ( const vector< pair< int64_t, int64_t >> &  job_requirements,
const function< void(int64_t)> &  job_func 
)

◆ ~JobSchedule()

vg::JobSchedule::~JobSchedule ( )
default

Member Function Documentation

◆ execute()

void vg::JobSchedule::execute ( int64_t  target_memory_usage)

Member Data Documentation

◆ job_func

function<void(int64_t)> vg::JobSchedule::job_func
private

◆ queue

list<pair<int64_t, int64_t> > vg::JobSchedule::queue
private

The documentation for this class was generated from the following files: