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;
void post(Home home, Term *t, int n, FloatRelType frt, FloatVal c)
Post propagator for linear constraint over floats.
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.
Abstract representation of a constraint.