Timetabler
Classes | Enumerations | Functions
custom_parser.h File Reference
#include <string>
#include <vector>
#include "constraint_adder.h"
#include "time_tabler.h"
Include dependency graph for custom_parser.h:

Go to the source code of this file.

Classes

struct  Object
 Struct for the type used by actions in the parser. More...
 

Enumerations

enum  FieldValuesType {
  COURSE, INSTRUCTOR, PROGRAM, ISMINOR,
  SEGMENT, CLASSROOM, SLOT
}
 Class for field values types.
 

Functions

void parseCustomConstraints (std::string file, ConstraintEncoder *constraintEncoder, Timetabler *timetabler)
 Parses custom constraints given in a file and adds them to the solver. More...
 

Function Documentation

void parseCustomConstraints ( std::string  file,
ConstraintEncoder constraintEncoder,
Timetabler timetabler 
)

Parses custom constraints given in a file and adds them to the solver.

Parameters
[in]fileThe file containing the constraints
constraintEncoderThe ConstraintEncoder object
timetablerThe Timetabler object