Macros | Functions | Variables
schedulingQuals13.cpp File Reference
#include <gtsam_unstable/discrete/Scheduler.h>
#include <gtsam/base/debug.h>
#include <gtsam/base/timing.h>
#include <algorithm>
Include dependency graph for schedulingQuals13.cpp:

Go to the source code of this file.

Macros

#define ADD_NO_CACHING
 
#define ADD_NO_PRUNING
 
#define ENABLE_TIMING
 

Functions

void addStudent (Scheduler &s, size_t i)
 
DiscreteBayesNet::shared_ptr createSampler (size_t i, size_t slot, vector< Scheduler > &schedulers)
 
Scheduler largeExample (size_t nrStudents=NRSTUDENTS, bool addStudents=true)
 
int main ()
 
bool NonZero (size_t i)
 
void runLargeExample ()
 
void sampleSolutions ()
 
void solveStaged (size_t addMutex=2)
 

Variables

size_t NRSTUDENTS = 12
 

Macro Definition Documentation

◆ ADD_NO_CACHING

#define ADD_NO_CACHING

Definition at line 9 of file schedulingQuals13.cpp.

◆ ADD_NO_PRUNING

#define ADD_NO_PRUNING

Definition at line 10 of file schedulingQuals13.cpp.

◆ ENABLE_TIMING

#define ENABLE_TIMING

Definition at line 8 of file schedulingQuals13.cpp.

Function Documentation

◆ addStudent()

void addStudent ( Scheduler s,
size_t  i 
)

Definition at line 27 of file schedulingQuals13.cpp.

◆ createSampler()

DiscreteBayesNet::shared_ptr createSampler ( size_t  i,
size_t  slot,
vector< Scheduler > &  schedulers 
)

Definition at line 227 of file schedulingQuals13.cpp.

◆ largeExample()

Scheduler largeExample ( size_t  nrStudents = NRSTUDENTS,
bool  addStudents = true 
)

Definition at line 78 of file schedulingQuals13.cpp.

◆ main()

int main ( void  )

Definition at line 275 of file schedulingQuals13.cpp.

◆ NonZero()

bool NonZero ( size_t  i)

Definition at line 22 of file schedulingQuals13.cpp.

◆ runLargeExample()

void runLargeExample ( )

Definition at line 123 of file schedulingQuals13.cpp.

◆ sampleSolutions()

void sampleSolutions ( )

Definition at line 240 of file schedulingQuals13.cpp.

◆ solveStaged()

void solveStaged ( size_t  addMutex = 2)

Definition at line 174 of file schedulingQuals13.cpp.

Variable Documentation

◆ NRSTUDENTS

size_t NRSTUDENTS = 12

Definition at line 20 of file schedulingQuals13.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:52