// -*- c++ -*- //============================================================================= // Copyright (C) 2011 by Denys Duchier // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published by the // Free Software Foundation, either version 3 of the License, or (at your // option) any later version. // // This program is distributed in the hope that it will be useful, but WITHOUT // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for // more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see . //============================================================================= static YAP_Term gecode_RM_NONE; static YAP_Term gecode_RM_CONSTANT; static YAP_Term gecode_RM_LINEAR; static YAP_Term gecode_RM_LUBY; static YAP_Term gecode_RM_GEOMETRIC; static RestartMode gecode_RestartMode_from_term(YAP_Term X) { if (X==gecode_RM_NONE) return RM_NONE; if (X==gecode_RM_CONSTANT) return RM_CONSTANT; if (X==gecode_RM_LINEAR) return RM_LINEAR; if (X==gecode_RM_LUBY) return RM_LUBY; if (X==gecode_RM_GEOMETRIC) return RM_GEOMETRIC; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_FRT_EQ; static YAP_Term gecode_FRT_NQ; static YAP_Term gecode_FRT_LQ; static YAP_Term gecode_FRT_LE; static YAP_Term gecode_FRT_GQ; static YAP_Term gecode_FRT_GR; static FloatRelType gecode_FloatRelType_from_term(YAP_Term X) { if (X==gecode_FRT_EQ) return FRT_EQ; if (X==gecode_FRT_NQ) return FRT_NQ; if (X==gecode_FRT_LQ) return FRT_LQ; if (X==gecode_FRT_LE) return FRT_LE; if (X==gecode_FRT_GQ) return FRT_GQ; if (X==gecode_FRT_GR) return FRT_GR; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_RM_EQV; static YAP_Term gecode_RM_IMP; static YAP_Term gecode_RM_PMI; static ReifyMode gecode_ReifyMode_from_term(YAP_Term X) { if (X==gecode_RM_EQV) return RM_EQV; if (X==gecode_RM_IMP) return RM_IMP; if (X==gecode_RM_PMI) return RM_PMI; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_IRT_EQ; static YAP_Term gecode_IRT_NQ; static YAP_Term gecode_IRT_LQ; static YAP_Term gecode_IRT_LE; static YAP_Term gecode_IRT_GQ; static YAP_Term gecode_IRT_GR; static IntRelType gecode_IntRelType_from_term(YAP_Term X) { if (X==gecode_IRT_EQ) return IRT_EQ; if (X==gecode_IRT_NQ) return IRT_NQ; if (X==gecode_IRT_LQ) return IRT_LQ; if (X==gecode_IRT_LE) return IRT_LE; if (X==gecode_IRT_GQ) return IRT_GQ; if (X==gecode_IRT_GR) return IRT_GR; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_BOT_AND; static YAP_Term gecode_BOT_OR; static YAP_Term gecode_BOT_IMP; static YAP_Term gecode_BOT_EQV; static YAP_Term gecode_BOT_XOR; static BoolOpType gecode_BoolOpType_from_term(YAP_Term X) { if (X==gecode_BOT_AND) return BOT_AND; if (X==gecode_BOT_OR) return BOT_OR; if (X==gecode_BOT_IMP) return BOT_IMP; if (X==gecode_BOT_EQV) return BOT_EQV; if (X==gecode_BOT_XOR) return BOT_XOR; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_ICL_VAL; static YAP_Term gecode_ICL_BND; static YAP_Term gecode_ICL_DOM; static YAP_Term gecode_ICL_DEF; static IntConLevel gecode_IntConLevel_from_term(YAP_Term X) { if (X==gecode_ICL_VAL) return ICL_VAL; if (X==gecode_ICL_BND) return ICL_BND; if (X==gecode_ICL_DOM) return ICL_DOM; if (X==gecode_ICL_DEF) return ICL_DEF; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_TT_FIXP; static YAP_Term gecode_TT_FIXS; static YAP_Term gecode_TT_FIXE; static TaskType gecode_TaskType_from_term(YAP_Term X) { if (X==gecode_TT_FIXP) return TT_FIXP; if (X==gecode_TT_FIXS) return TT_FIXS; if (X==gecode_TT_FIXE) return TT_FIXE; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_EPK_DEF; static YAP_Term gecode_EPK_SPEED; static YAP_Term gecode_EPK_MEMORY; static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term X) { if (X==gecode_EPK_DEF) return EPK_DEF; if (X==gecode_EPK_SPEED) return EPK_SPEED; if (X==gecode_EPK_MEMORY) return EPK_MEMORY; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_SRT_EQ; static YAP_Term gecode_SRT_NQ; static YAP_Term gecode_SRT_SUB; static YAP_Term gecode_SRT_SUP; static YAP_Term gecode_SRT_DISJ; static YAP_Term gecode_SRT_CMPL; static YAP_Term gecode_SRT_LQ; static YAP_Term gecode_SRT_LE; static YAP_Term gecode_SRT_GQ; static YAP_Term gecode_SRT_GR; static SetRelType gecode_SetRelType_from_term(YAP_Term X) { if (X==gecode_SRT_EQ) return SRT_EQ; if (X==gecode_SRT_NQ) return SRT_NQ; if (X==gecode_SRT_SUB) return SRT_SUB; if (X==gecode_SRT_SUP) return SRT_SUP; if (X==gecode_SRT_DISJ) return SRT_DISJ; if (X==gecode_SRT_CMPL) return SRT_CMPL; if (X==gecode_SRT_LQ) return SRT_LQ; if (X==gecode_SRT_LE) return SRT_LE; if (X==gecode_SRT_GQ) return SRT_GQ; if (X==gecode_SRT_GR) return SRT_GR; cerr << "this should never happen" << endl; exit(1); } static YAP_Term gecode_SOT_UNION; static YAP_Term gecode_SOT_DUNION; static YAP_Term gecode_SOT_INTER; static YAP_Term gecode_SOT_MINUS; static SetOpType gecode_SetOpType_from_term(YAP_Term X) { if (X==gecode_SOT_UNION) return SOT_UNION; if (X==gecode_SOT_DUNION) return SOT_DUNION; if (X==gecode_SOT_INTER) return SOT_INTER; if (X==gecode_SOT_MINUS) return SOT_MINUS; cerr << "this should never happen" << endl; exit(1); } static int gecode_constraint_unary_448(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); TaskTypeArgs X2 = gecode_TaskTypeArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); BoolVarArgs X5 = gecode_BoolVarArgs_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); unary(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_unary_444(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); BoolVarArgs X5 = gecode_BoolVarArgs_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); unary(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_nvalues_335(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); nvalues(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_nvalues_337(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); nvalues(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_nvalues_331(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); nvalues(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_nvalues_333(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); nvalues(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_max_292(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); max(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_max_290(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); max(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_max_291(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); max(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_max_295(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); max(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_200(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); dom(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_dom_209(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); dom(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_convex_91(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetVar X3 = gecode_SetVar_from_term(space,YAP_ARG3); convex(*space,X2,X3); return TRUE; } static int gecode_constraint_nooverlap_319(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); nooverlap(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_assign_15(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatAssign X3 = gecode_FloatAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_6(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatAssign X3 = gecode_FloatAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_3(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_1(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_9(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_17(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_12(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetAssign X3 = gecode_SetAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_assign_19(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetAssign X3 = gecode_SetAssign_from_term(YAP_ARG3); assign(*space,X2,X3); return TRUE; } static int gecode_constraint_element_220(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_224(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_214(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_212(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_219(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntSetArgs X2 = gecode_IntSetArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_227(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_230(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_236(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_228(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); element(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sequence_427(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); sequence(*space,X2); return TRUE; } static int gecode_constraint_notMax_325(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); notMax(*space,X2,X3); return TRUE; } static int gecode_constraint_ite_246(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); ite(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_unary_441(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); unary(*space,X2,X3); return TRUE; } static int gecode_constraint_nroot_329(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); nroot(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_85(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); circuit(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_circuit_76(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); circuit(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_199(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_198(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_202(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_194(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_185(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_181(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_187(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatNum X3 = gecode_FloatNum_from_term(YAP_ARG3); FloatNum X4 = gecode_FloatNum_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_208(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_210(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_206(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); dom(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_channel_66(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); channel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_channel_62(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); channel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_channel_60(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); channel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nooverlap_321(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); BoolVarArgs X8 = gecode_BoolVarArgs_from_term(space,YAP_ARG8); nooverlap(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_nooverlap_324(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); nooverlap(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_element_222(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_element_216(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); BoolVar X7 = gecode_BoolVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_element_218(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntSetArgs X2 = gecode_IntSetArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); SetVar X7 = gecode_SetVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_element_226(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); SetVar X7 = gecode_SetVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_element_234(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_element_232(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); BoolVar X7 = gecode_BoolVar_from_term(space,YAP_ARG7); element(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_max_288(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); max(*space,X2,X3); return TRUE; } static int gecode_constraint_max_289(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); max(*space,X2,X3); return TRUE; } static int gecode_constraint_max_294(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); max(*space,X2,X3); return TRUE; } static int gecode_constraint_unshare_453(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); unshare(*space,X2); return TRUE; } static int gecode_constraint_unshare_451(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); unshare(*space,X2); return TRUE; } static int gecode_constraint_path_348(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); path(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_path_347(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); path(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_34(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); IntBranchFilter X6 = gecode_IntBranchFilter_from_term(YAP_ARG6); IntVarValPrint X7 = gecode_IntVarValPrint_from_term(YAP_ARG7); branch(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_branch_28(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); BoolBranchFilter X6 = gecode_BoolBranchFilter_from_term(YAP_ARG6); BoolVarValPrint X7 = gecode_BoolVarValPrint_from_term(YAP_ARG7); branch(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_branch_40(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); SetBranchFilter X6 = gecode_SetBranchFilter_from_term(YAP_ARG6); SetVarValPrint X7 = gecode_SetVarValPrint_from_term(YAP_ARG7); branch(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_mult_315(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); mult(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_mult_314(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); mult(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_clause_89(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); clause(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_clause_87(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); BoolVar X5 = gecode_BoolVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); clause(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_precede_356(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); precede(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_distinct_160(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); distinct(*space,X2); return TRUE; } static int gecode_constraint_member_302(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); member(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_member_301(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); member(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_member_298(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); member(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_member_297(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); member(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_mod_313(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); mod(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_cardinality_57(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); cardinality(*space,X2,X3); return TRUE; } static int gecode_constraint_atmostOne_53(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); atmostOne(*space,X2,X3); return TRUE; } static int gecode_constraint_channelSorted_73(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); SetVar X3 = gecode_SetVar_from_term(space,YAP_ARG3); channelSorted(*space,X2,X3); return TRUE; } static int gecode_constraint_linear_262(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_260(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatNum X4 = gecode_FloatNum_from_term(YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_248(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_252(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_280(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_284(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); linear(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_circuit_82(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); circuit(*space,X2); return TRUE; } static int gecode_constraint_rel_396(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVal X4 = gecode_FloatVal_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_398(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_412(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_410(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_382(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_378(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_376(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_373(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_372(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_369(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_368(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_365(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolOpType X3 = gecode_BoolOpType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_363(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolOpType X3 = gecode_BoolOpType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); BoolVar X5 = gecode_BoolVar_from_term(space,YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_392(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_394(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_388(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_401(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_400(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_405(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_404(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_409(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_420(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_422(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_362(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_360(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); rel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_min_308(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); min(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_min_306(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); min(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_min_307(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); min(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_min_311(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); min(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_cardinality_56(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); cardinality(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_cardinality_58(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); cardinality(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_count_109(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); count(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_count_106(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); count(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_count_100(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); count(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_count_99(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); count(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_count_96(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); count(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sqrt_437(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); sqrt(*space,X2,X3); return TRUE; } static int gecode_constraint_sqrt_436(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); sqrt(*space,X2,X3); return TRUE; } static int gecode_constraint_cumulatives_157(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_155(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_153(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_151(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_149(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_147(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_145(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulatives_143(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_nvalues_334(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); nvalues(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nvalues_336(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); nvalues(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nvalues_330(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); nvalues(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nvalues_332(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); nvalues(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_binpacking_54(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); binpacking(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_linear_275(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); linear(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_linear_279(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); linear(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_linear_267(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); linear(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_linear_271(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); linear(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_abs_52(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); abs(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_convex_90(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); convex(*space,X2); return TRUE; } static int gecode_constraint_div_163(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); div(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_div_162(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); div(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_402(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_406(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_385(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntSet X2 = gecode_IntSet_from_term(YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_386(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntSet X2 = gecode_IntSet_from_term(YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); SetVar X6 = gecode_SetVar_from_term(space,YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_374(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_370(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_366(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolOpType X3 = gecode_BoolOpType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_364(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolOpType X3 = gecode_BoolOpType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); BoolVar X5 = gecode_BoolVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_415(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_416(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); SetVar X6 = gecode_SetVar_from_term(space,YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_417(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_418(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetOpType X3 = gecode_SetOpType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetRelType X5 = gecode_SetRelType_from_term(YAP_ARG5); SetVar X6 = gecode_SetVar_from_term(space,YAP_ARG6); rel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_weights_455(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); weights(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_max_293(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); max(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_path_343(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); IntVar X8 = gecode_IntVar_from_term(space,YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); path(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_unary_449(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); TaskTypeArgs X2 = gecode_TaskTypeArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); unary(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_unary_445(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); unary(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_unary_439(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); unary(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_unary_442(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); unary(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nroot_328(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); nroot(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_nroot_327(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); nroot(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sorted_430(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); sorted(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_80(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); circuit(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_77(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); circuit(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_74(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); circuit(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_dom_189(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVal X3 = gecode_FloatVal_from_term(YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_186(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatNum X3 = gecode_FloatNum_from_term(YAP_ARG3); FloatNum X4 = gecode_FloatNum_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_172(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatNum X3 = gecode_FloatNum_from_term(YAP_ARG3); FloatNum X4 = gecode_FloatNum_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_170(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_168(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_180(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_179(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_177(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_175(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_197(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_201(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_196(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_204(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_193(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_192(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_184(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_183(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_207(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_dom_205(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); IntSet X4 = gecode_IntSet_from_term(YAP_ARG4); dom(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_abs_51(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); abs(*space,X2,X3); return TRUE; } static int gecode_constraint_abs_50(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); abs(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_68(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); channel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_channel_63(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); channel(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_assign_8(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatAssign X3 = gecode_FloatAssign_from_term(YAP_ARG3); FloatBranchFilter X4 = gecode_FloatBranchFilter_from_term(YAP_ARG4); FloatVarValPrint X5 = gecode_FloatVarValPrint_from_term(YAP_ARG5); assign(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_assign_5(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); BoolBranchFilter X4 = gecode_BoolBranchFilter_from_term(YAP_ARG4); BoolVarValPrint X5 = gecode_BoolVarValPrint_from_term(YAP_ARG5); assign(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_assign_11(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); IntBranchFilter X4 = gecode_IntBranchFilter_from_term(YAP_ARG4); IntVarValPrint X5 = gecode_IntVarValPrint_from_term(YAP_ARG5); assign(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_assign_14(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetAssign X3 = gecode_SetAssign_from_term(YAP_ARG3); SetBranchFilter X4 = gecode_SetBranchFilter_from_term(YAP_ARG4); SetVarValPrint X5 = gecode_SetVarValPrint_from_term(YAP_ARG5); assign(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_rel_389(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); rel(*space,X2,X3); return TRUE; } static int gecode_constraint_rel_379(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); rel(*space,X2,X3); return TRUE; } static int gecode_constraint_path_346(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); path(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_45(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatValBranch X3 = gecode_FloatValBranch_from_term(YAP_ARG3); FloatVarValPrint X4 = gecode_FloatVarValPrint_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_29(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVarBranch X3 = gecode_FloatVarBranch_from_term(YAP_ARG3); FloatValBranch X4 = gecode_FloatValBranch_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_23(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_22(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntValBranch X3 = gecode_IntValBranch_from_term(YAP_ARG3); BoolVarValPrint X4 = gecode_BoolVarValPrint_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_35(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_47(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntValBranch X3 = gecode_IntValBranch_from_term(YAP_ARG3); IntVarValPrint X4 = gecode_IntVarValPrint_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_41(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_branch_49(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetValBranch X3 = gecode_SetValBranch_from_term(YAP_ARG3); SetVarValPrint X4 = gecode_SetVarValPrint_from_term(YAP_ARG4); branch(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_mult_316(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); mult(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_81(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); circuit(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_circuit_78(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); circuit(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_circuit_75(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); circuit(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_clause_88(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); clause(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_clause_86(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); BoolVar X5 = gecode_BoolVar_from_term(space,YAP_ARG5); clause(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_precede_358(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); precede(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_precede_355(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); precede(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_precede_354(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); precede(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_channel_69(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); channel(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_126(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_129(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_122(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_125(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_119(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_138(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_141(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_134(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_137(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_cumulative_131(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); cumulative(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_distinct_161(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntConLevel X3 = gecode_IntConLevel_from_term(YAP_ARG3); distinct(*space,X2,X3); return TRUE; } static int gecode_constraint_distinct_158(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); distinct(*space,X2,X3); return TRUE; } static int gecode_constraint_member_303(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); member(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_member_299(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); Reify X4 = gecode_Reify_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); member(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_mod_312(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); mod(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sqr_434(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); sqr(*space,X2,X3); return TRUE; } static int gecode_constraint_sqr_433(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); sqr(*space,X2,X3); return TRUE; } static int gecode_constraint_sequence_426(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); sequence(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_sequence_424(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); sequence(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_path_344(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); path(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_path_341(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); path(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_path_338(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); path(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_divmod_166(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); divmod(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_sorted_431(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); sorted(*space,X2,X3); return TRUE; } static int gecode_constraint_circuit_84(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); circuit(*space,X2,X3); return TRUE; } static int gecode_constraint_circuit_83(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntConLevel X3 = gecode_IntConLevel_from_term(YAP_ARG3); circuit(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_71(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_61(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_64(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); SetVar X3 = gecode_SetVar_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_59(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_67(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_65(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_72(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_channel_70(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); channel(*space,X2,X3); return TRUE; } static int gecode_constraint_count_92(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_94(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_110(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_112(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_102(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_104(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_101(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_97(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_107(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_114(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_116(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); count(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_cumulatives_156(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_154(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_152(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_150(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_148(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_146(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_144(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulatives_142(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); IntArgs X7 = gecode_IntArgs_from_term(YAP_ARG7); bool X8 = gecode_bool_from_term(YAP_ARG8); cumulatives(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_binpacking_55(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); binpacking(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_283(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_287(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_251(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_255(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_259(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatValArgs X2 = gecode_FloatValArgs_from_term(YAP_ARG2); FloatVarArgs X3 = gecode_FloatVarArgs_from_term(space,YAP_ARG3); FloatRelType X4 = gecode_FloatRelType_from_term(YAP_ARG4); FloatVar X5 = gecode_FloatVar_from_term(space,YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_257(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatValArgs X2 = gecode_FloatValArgs_from_term(YAP_ARG2); FloatVarArgs X3 = gecode_FloatVarArgs_from_term(space,YAP_ARG3); FloatRelType X4 = gecode_FloatRelType_from_term(YAP_ARG4); FloatNum X5 = gecode_FloatNum_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_274(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_273(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_278(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_277(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_266(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_265(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_270(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); Reify X6 = gecode_Reify_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_linear_269(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); linear(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_nooverlap_323(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); nooverlap(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_nooverlap_318(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); nooverlap(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_div_164(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); div(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_sqr_435(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); sqr(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_path_345(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); path(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_path_342(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); IntVar X8 = gecode_IntVar_from_term(space,YAP_ARG8); path(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_path_339(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); path(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_unary_447(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); TaskTypeArgs X2 = gecode_TaskTypeArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); BoolVarArgs X5 = gecode_BoolVarArgs_from_term(space,YAP_ARG5); unary(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_unary_450(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); TaskTypeArgs X2 = gecode_TaskTypeArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); unary(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_unary_443(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); BoolVarArgs X5 = gecode_BoolVarArgs_from_term(space,YAP_ARG5); unary(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_unary_446(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); unary(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_unary_440(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); unary(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_sorted_429(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); sorted(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sorted_432(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); sorted(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_223(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); element(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_element_217(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); BoolVar X7 = gecode_BoolVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); element(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_element_235(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); IntVar X7 = gecode_IntVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); element(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_element_233(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); BoolVar X7 = gecode_BoolVar_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); element(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_assign_16(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatAssign X3 = gecode_FloatAssign_from_term(YAP_ARG3); FloatVarValPrint X4 = gecode_FloatVarValPrint_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_7(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatAssign X3 = gecode_FloatAssign_from_term(YAP_ARG3); FloatBranchFilter X4 = gecode_FloatBranchFilter_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_4(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); BoolBranchFilter X4 = gecode_BoolBranchFilter_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_2(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); BoolVarValPrint X4 = gecode_BoolVarValPrint_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_10(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); IntBranchFilter X4 = gecode_IntBranchFilter_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_18(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntAssign X3 = gecode_IntAssign_from_term(YAP_ARG3); IntVarValPrint X4 = gecode_IntVarValPrint_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_13(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetAssign X3 = gecode_SetAssign_from_term(YAP_ARG3); SetBranchFilter X4 = gecode_SetBranchFilter_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_assign_20(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetAssign X3 = gecode_SetAssign_from_term(YAP_ARG3); SetVarValPrint X4 = gecode_SetVarValPrint_from_term(YAP_ARG4); assign(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_element_221(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_225(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_215(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_213(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_244(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_242(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_240(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_238(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_231(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_237(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_element_229(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); element(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_sequence_428(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVar X3 = gecode_SetVar_from_term(space,YAP_ARG3); sequence(*space,X2,X3); return TRUE; } static int gecode_constraint_branch_30(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVarBranch X3 = gecode_FloatVarBranch_from_term(YAP_ARG3); FloatValBranch X4 = gecode_FloatValBranch_from_term(YAP_ARG4); FloatBranchFilter X5 = gecode_FloatBranchFilter_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_26(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_24(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); BoolBranchFilter X5 = gecode_BoolBranchFilter_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_32(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_36(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); IntBranchFilter X5 = gecode_IntBranchFilter_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_42(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); SetBranchFilter X5 = gecode_SetBranchFilter_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_38(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); branch(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_circuit_79(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); IntConLevel X7 = gecode_IntConLevel_from_term(YAP_ARG7); circuit(*space,X2,X3,X4,X5,X6,X7); return TRUE; } static int gecode_constraint_pow_351(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); pow(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_pow_350(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); pow(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_precede_357(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); precede(*space,X2,X3); return TRUE; } static int gecode_constraint_precede_353(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); precede(*space,X2,X3); return TRUE; } static int gecode_constraint_cumulative_128(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_124(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_118(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_121(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_140(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_136(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_130(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_cumulative_133(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); cumulative(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_distinct_159(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); distinct(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_min_304(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); min(*space,X2,X3); return TRUE; } static int gecode_constraint_min_305(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); min(*space,X2,X3); return TRUE; } static int gecode_constraint_min_310(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); min(*space,X2,X3); return TRUE; } static int gecode_constraint_sqrt_438(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); sqrt(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_sequence_425(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); sequence(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_sequence_423(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); int X6 = gecode_int_from_term(YAP_ARG6); sequence(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_unshare_454(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntConLevel X3 = gecode_IntConLevel_from_term(YAP_ARG3); unshare(*space,X2,X3); return TRUE; } static int gecode_constraint_unshare_452(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntConLevel X3 = gecode_IntConLevel_from_term(YAP_ARG3); unshare(*space,X2,X3); return TRUE; } static int gecode_constraint_path_349(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); path(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_path_340(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntVar X6 = gecode_IntVar_from_term(space,YAP_ARG6); path(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_divmod_165(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); divmod(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_branch_31(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVarBranch X3 = gecode_FloatVarBranch_from_term(YAP_ARG3); FloatValBranch X4 = gecode_FloatValBranch_from_term(YAP_ARG4); FloatBranchFilter X5 = gecode_FloatBranchFilter_from_term(YAP_ARG5); FloatVarValPrint X6 = gecode_FloatVarValPrint_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_27(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); BoolBranchFilter X6 = gecode_BoolBranchFilter_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_25(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); BoolBranchFilter X5 = gecode_BoolBranchFilter_from_term(YAP_ARG5); BoolVarValPrint X6 = gecode_BoolVarValPrint_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_33(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); IntBranchFilter X6 = gecode_IntBranchFilter_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_37(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarBranch X3 = gecode_IntVarBranch_from_term(YAP_ARG3); IntValBranch X4 = gecode_IntValBranch_from_term(YAP_ARG4); IntBranchFilter X5 = gecode_IntBranchFilter_from_term(YAP_ARG5); IntVarValPrint X6 = gecode_IntVarValPrint_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_43(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); SetBranchFilter X5 = gecode_SetBranchFilter_from_term(YAP_ARG5); SetVarValPrint X6 = gecode_SetVarValPrint_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_branch_39(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarBranch X3 = gecode_SetVarBranch_from_term(YAP_ARG3); SetValBranch X4 = gecode_SetValBranch_from_term(YAP_ARG4); Symmetries X5 = gecode_Symmetries_from_term(YAP_ARG5); SetBranchFilter X6 = gecode_SetBranchFilter_from_term(YAP_ARG6); branch(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_nooverlap_322(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntVarArgs X6 = gecode_IntVarArgs_from_term(space,YAP_ARG6); IntVarArgs X7 = gecode_IntVarArgs_from_term(space,YAP_ARG7); BoolVarArgs X8 = gecode_BoolVarArgs_from_term(space,YAP_ARG8); IntConLevel X9 = gecode_IntConLevel_from_term(YAP_ARG9); nooverlap(*space,X2,X3,X4,X5,X6,X7,X8,X9); return TRUE; } static int gecode_constraint_cumulative_120(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); cumulative(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_cumulative_132(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntArgs X4 = gecode_IntArgs_from_term(YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); cumulative(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_member_300(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); member(*space,X2,X3); return TRUE; } static int gecode_constraint_member_296(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); member(*space,X2,X3); return TRUE; } static int gecode_constraint_count_111(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_113(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_115(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_117(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_103(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_105(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_93(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_count_95(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); count(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_pow_352(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); pow(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_notMin_326(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); notMin(*space,X2,X3); return TRUE; } static int gecode_constraint_cumulative_127(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); cumulative(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulative_123(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); int X2 = gecode_int_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); cumulative(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulative_139(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); TaskTypeArgs X3 = gecode_TaskTypeArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); cumulative(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_cumulative_135(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntVarArgs X5 = gecode_IntVarArgs_from_term(space,YAP_ARG5); IntArgs X6 = gecode_IntArgs_from_term(YAP_ARG6); BoolVarArgs X7 = gecode_BoolVarArgs_from_term(space,YAP_ARG7); IntConLevel X8 = gecode_IntConLevel_from_term(YAP_ARG8); cumulative(*space,X2,X3,X4,X5,X6,X7,X8); return TRUE; } static int gecode_constraint_branch_46(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntValBranch X3 = gecode_IntValBranch_from_term(YAP_ARG3); branch(*space,X2,X3); return TRUE; } static int gecode_constraint_branch_21(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntValBranch X3 = gecode_IntValBranch_from_term(YAP_ARG3); branch(*space,X2,X3); return TRUE; } static int gecode_constraint_branch_44(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatValBranch X3 = gecode_FloatValBranch_from_term(YAP_ARG3); branch(*space,X2,X3); return TRUE; } static int gecode_constraint_branch_48(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetValBranch X3 = gecode_SetValBranch_from_term(YAP_ARG3); branch(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_188(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVal X3 = gecode_FloatVal_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_190(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatVar X3 = gecode_FloatVar_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_171(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVarArgs X3 = gecode_FloatVarArgs_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_173(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatVal X3 = gecode_FloatVal_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_169(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_167(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); BoolVar X3 = gecode_BoolVar_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_178(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_176(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_174(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_195(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); int X3 = gecode_int_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_203(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_191(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntSet X3 = gecode_IntSet_from_term(YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_182(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVarArgs X2 = gecode_SetVarArgs_from_term(space,YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_dom_211(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetVar X3 = gecode_SetVar_from_term(space,YAP_ARG3); dom(*space,X2,X3); return TRUE; } static int gecode_constraint_linear_263(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_261(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatNum X4 = gecode_FloatNum_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_250(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_249(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_254(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_253(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_258(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatValArgs X2 = gecode_FloatValArgs_from_term(YAP_ARG2); FloatVarArgs X3 = gecode_FloatVarArgs_from_term(space,YAP_ARG3); FloatRelType X4 = gecode_FloatRelType_from_term(YAP_ARG4); FloatVar X5 = gecode_FloatVar_from_term(space,YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_256(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatValArgs X2 = gecode_FloatValArgs_from_term(YAP_ARG2); FloatVarArgs X3 = gecode_FloatVarArgs_from_term(space,YAP_ARG3); FloatRelType X4 = gecode_FloatRelType_from_term(YAP_ARG4); FloatNum X5 = gecode_FloatNum_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_282(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_281(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_286(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); Reify X5 = gecode_Reify_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_285(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_272(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_276(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_264(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); int X5 = gecode_int_from_term(YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_linear_268(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntArgs X2 = gecode_IntArgs_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); IntRelType X4 = gecode_IntRelType_from_term(YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); linear(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_nooverlap_317(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); BoolVarArgs X6 = gecode_BoolVarArgs_from_term(space,YAP_ARG6); nooverlap(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_nooverlap_320(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); IntArgs X5 = gecode_IntArgs_from_term(YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); nooverlap(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_element_245(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); element(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_element_243(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); element(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_element_241(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); element(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_element_239(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntArgs X3 = gecode_IntArgs_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); SetVar X5 = gecode_SetVar_from_term(space,YAP_ARG5); IntSet X6 = gecode_IntSet_from_term(YAP_ARG6); element(*space,X2,X3,X4,X5,X6); return TRUE; } static int gecode_constraint_rel_395(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVal X4 = gecode_FloatVal_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_397(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVar X2 = gecode_FloatVar_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_413(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); SetVarArgs X3 = gecode_SetVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_411(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetOpType X2 = gecode_SetOpType_from_term(YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_383(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVal X4 = gecode_FloatVal_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_384(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); FloatVarArgs X2 = gecode_FloatVarArgs_from_term(space,YAP_ARG2); FloatRelType X3 = gecode_FloatRelType_from_term(YAP_ARG3); FloatVar X4 = gecode_FloatVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_381(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_377(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVarArgs X4 = gecode_BoolVarArgs_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_375(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_380(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVarArgs X2 = gecode_BoolVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_371(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_367(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_391(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_393(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_387(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVarArgs X4 = gecode_IntVarArgs_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_390(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntConLevel X4 = gecode_IntConLevel_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_399(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_403(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_407(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_408(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_414(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); IntRelType X3 = gecode_IntRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_419(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_421(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); SetVar X2 = gecode_SetVar_from_term(space,YAP_ARG2); SetRelType X3 = gecode_SetRelType_from_term(YAP_ARG3); SetVar X4 = gecode_SetVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_361(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); int X4 = gecode_int_from_term(YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_rel_359(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolOpType X2 = gecode_BoolOpType_from_term(YAP_ARG2); BoolVarArgs X3 = gecode_BoolVarArgs_from_term(space,YAP_ARG3); BoolVar X4 = gecode_BoolVar_from_term(space,YAP_ARG4); rel(*space,X2,X3,X4); return TRUE; } static int gecode_constraint_min_309(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVar X2 = gecode_IntVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntConLevel X5 = gecode_IntConLevel_from_term(YAP_ARG5); min(*space,X2,X3,X4,X5); return TRUE; } static int gecode_constraint_count_108(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntVarArgs X3 = gecode_IntVarArgs_from_term(space,YAP_ARG3); count(*space,X2,X3); return TRUE; } static int gecode_constraint_count_98(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); IntVarArgs X2 = gecode_IntVarArgs_from_term(space,YAP_ARG2); IntSetArgs X3 = gecode_IntSetArgs_from_term(YAP_ARG3); count(*space,X2,X3); return TRUE; } static int gecode_constraint_ite_247(void) { GenericSpace* space = gecode_Space_from_term(YAP_ARG1); BoolVar X2 = gecode_BoolVar_from_term(space,YAP_ARG2); IntVar X3 = gecode_IntVar_from_term(space,YAP_ARG3); IntVar X4 = gecode_IntVar_from_term(space,YAP_ARG4); IntVar X5 = gecode_IntVar_from_term(space,YAP_ARG5); IntConLevel X6 = gecode_IntConLevel_from_term(YAP_ARG6); ite(*space,X2,X3,X4,X5,X6); return TRUE; }