#include <gtsam_unstable/discrete/Scheduler.h>
#include <gtsam/base/debug.h>
#include <gtsam/base/timing.h>
#include <algorithm>
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) |
#define ADD_NO_CACHING |
Definition at line 9 of file schedulingExample.cpp.
#define ADD_NO_PRUNING |
Definition at line 10 of file schedulingExample.cpp.
void accomodateStudent | ( | ) |
Definition at line 280 of file schedulingExample.cpp.
Definition at line 21 of file schedulingExample.cpp.
DiscreteBayesNet::shared_ptr createSampler | ( | size_t | i, |
size_t | slot, | ||
vector< Scheduler > & | schedulers | ||
) |
Definition at line 197 of file schedulingExample.cpp.
Definition at line 48 of file schedulingExample.cpp.
int main | ( | ) |
Definition at line 331 of file schedulingExample.cpp.
bool NonZero | ( | size_t | i | ) |
Definition at line 193 of file schedulingExample.cpp.
void runLargeExample | ( | ) |
Definition at line 100 of file schedulingExample.cpp.
void sampleSolutions | ( | ) |
Definition at line 209 of file schedulingExample.cpp.
void solveStaged | ( | size_t | addMutex = 2 | ) |
Definition at line 129 of file schedulingExample.cpp.