parser.hh
Go to the documentation of this file.
A space that can be initialized with a FlatZinc model.
Definition flatzinc.hh:424
bool operator()(const std::pair< std::string, AST::Node * > &x, const std::pair< std::string, AST::Node * > &y)
Return if x is less than y, based on first component.
Definition parser.hh:80
std::vector< std::array< int, 3 > > uniform_int
Definition parser.hh:226
std::vector< std::array< int, 2 > > last_val_bool
Definition parser.hh:228
ParserState(char *buf0, int length0, std::ostream &err0, Gecode::FlatZinc::FlatZincSpace *fg0)
Definition parser.hh:193
std::vector< std::array< int, 2 > > sol_bool
Definition parser.hh:227
std::vector< std::array< int, 2 > > last_val_float
Definition parser.hh:234
std::unordered_map< int, AST::SharedArray * > shared_value_arrays
One shared node per array parameter that has been referenced, by position in arrays (see shared_value...
Definition parser.hh:215
std::vector< std::array< int, 2 > > last_val_set
Definition parser.hh:231
~ParserState(void)
void output(std::string x, AST::Node *n)
Definition parser.hh:251
std::vector< std::array< int, 2 > > sol_set
Definition parser.hh:230
std::vector< ConExpr * > constraints
Definition parser.hh:218
std::vector< std::array< int, 2 > > sol_float
Definition parser.hh:235
std::vector< ConExpr * > domainConstraints
Definition parser.hh:220
int fillBuffer(char *lexBuf, unsigned int lexBufSize)
Definition parser.hh:242
std::vector< std::pair< std::string, AST::Node * > > _output
Definition parser.hh:204
std::vector< std::array< int, 2 > > last_val_int
Definition parser.hh:224
std::vector< std::tuple< FloatVal, FloatVal, int > > uniform_float
Definition parser.hh:236
std::vector< std::array< int, 2 > > sol_int
Definition parser.hh:225
ParserState(const std::string &b, std::ostream &err0, Gecode::FlatZinc::FlatZincSpace *fg0)
Definition parser.hh:188
Symbol table mapping identifiers (strings) to values.
Definition symboltable.hh:44
Interpreter for the FlatZinc language.
std::pair< std::string, Option< std::vector< int > * > > intvartype
Definition parser.hh:71
Gecode toplevel namespace
