34 #ifndef __GECODE_FLATZINC_REGISTRY_HH__
35 #define __GECODE_FLATZINC_REGISTRY_HH__
41 namespace Gecode {
namespace FlatZinc {
51 void add(
const std::string&
id, poster
p);
57 std::map<std::string,poster>
r;
int p
Number of positive literals for node type.
A node in a FlatZinc abstract syntax tree.
Abstract representation of a constraint.
A space that can be initialized with a FlatZinc model.
Map from constraint identifier to constraint posting functions.
#define GECODE_FLATZINC_EXPORT
void post(Home home, Term *t, int n, FloatRelType frt, FloatVal c)
Post propagator for linear constraint over floats.
Registry & registry(void)
Return global registry object.