38 #ifndef __GECODE_FLATZINC_REGISTRY_HH__ 39 #define __GECODE_FLATZINC_REGISTRY_HH__ 45 namespace Gecode {
namespace FlatZinc {
55 void add(
const std::string&
id, poster
p);
57 void post(FlatZincSpace& s,
const ConExpr& ce);
61 std::map<std::string,poster>
r;
Map from constraint identifier to constraint posting functions.
#define GECODE_FLATZINC_EXPORT
int p
Number of positive literals for node type.
A space that can be initialized with a FlatZinc model.
Gecode toplevel namespace
A node in a FlatZinc abstract syntax tree.
Registry & registry(void)
Return global registry object.
TFE post(PropagatorGroup g)
Only post functions (but not propagators) from g are considered.
Abstract representation of a constraint.