Macros | Functions
schedulingExample.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 schedulingExample.cpp:

Go to the source code of this file.

Macros

#define ADD_NO_CACHING
 
#define ADD_NO_PRUNING
 

Functions

void accomodateStudent ()
 
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=7)
 
int main ()
 
bool NonZero (size_t i)
 
void runLargeExample ()
 
void sampleSolutions ()
 
void solveStaged (size_t addMutex=2)
 

Macro Definition Documentation

◆ ADD_NO_CACHING

#define ADD_NO_CACHING

Definition at line 9 of file schedulingExample.cpp.

◆ ADD_NO_PRUNING

#define ADD_NO_PRUNING

Definition at line 10 of file schedulingExample.cpp.

Function Documentation

◆ accomodateStudent()

void accomodateStudent ( )

Definition at line 279 of file schedulingExample.cpp.

◆ addStudent()

void addStudent ( Scheduler s,
size_t  i 
)

Definition at line 21 of file schedulingExample.cpp.

◆ createSampler()

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

Definition at line 196 of file schedulingExample.cpp.

◆ largeExample()

Scheduler largeExample ( size_t  nrStudents = 7)

Definition at line 48 of file schedulingExample.cpp.

◆ main()

int main ( void  )

Definition at line 330 of file schedulingExample.cpp.

◆ NonZero()

bool NonZero ( size_t  i)

Definition at line 192 of file schedulingExample.cpp.

◆ runLargeExample()

void runLargeExample ( )

Definition at line 100 of file schedulingExample.cpp.

◆ sampleSolutions()

void sampleSolutions ( )

Definition at line 208 of file schedulingExample.cpp.

◆ solveStaged()

void solveStaged ( size_t  addMutex = 2)

Definition at line 128 of file schedulingExample.cpp.



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