registry.hh
Go to the documentation of this file.
A space that can be initialized with a FlatZinc model.
Definition flatzinc.hh:424
Map from constraint identifier to constraint posting functions.
Definition registry.hh:44
void(* poster)(FlatZincSpace &, const ConExpr &, AST::Node *)
Type of constraint posting function.
Definition registry.hh:47
void add(const std::string &id, poster p)
Add posting function p with identifier id.
Definition registry.cpp:67
void post(FlatZincSpace &s, const ConExpr &ce)
Post constraint specified by ce.
Definition registry.cpp:57
Interpreter for the FlatZinc language.
Gecode toplevel namespace
