From 05bd59a2fbb2ac9ac8b6c904f1a419320605c310 Mon Sep 17 00:00:00 2001 From: Denys Duchier Date: Thu, 22 Mar 2012 20:49:24 +0100 Subject: [PATCH] better error messages. regenerated for all versions of gecode --- .../3.6.0/gecode_yap_auto_generated.yap | 1776 ++++++++-------- .../3.7.0/gecode_yap_auto_generated.yap | 1874 ++++++++-------- .../3.7.1/gecode_yap_auto_generated.yap | 1874 ++++++++-------- .../3.7.2/gecode_yap_auto_generated.yap | 1874 ++++++++-------- .../4.0.0/gecode_yap_auto_generated.yap | 1876 ++++++++--------- library/gecode/dev/code-generator.py | 6 +- 6 files changed, 4640 insertions(+), 4640 deletions(-) diff --git a/library/gecode/3.6.0/gecode_yap_auto_generated.yap b/library/gecode/3.6.0/gecode_yap_auto_generated.yap index e12c7dd3e..0b514c66f 100644 --- a/library/gecode/3.6.0/gecode_yap_auto_generated.yap +++ b/library/gecode/3.6.0/gecode_yap_auto_generated.yap @@ -283,22 +283,22 @@ unary(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_333(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_329(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1))). sqr(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -306,10 +306,10 @@ sqr(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqr_321(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -319,31 +319,31 @@ dom(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_dom_135(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_dom_145(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1))). convex(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_convex_51(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=1))). nooverlap(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -352,40 +352,40 @@ nooverlap(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_nooverlap_226(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1))). assign(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_BoolVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_4(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_3(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_5(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_7(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_6(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_8(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=2)))))))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=1))). element(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -395,28 +395,28 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_154(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_element_158(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_element_148(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_146(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_153(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_161(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -425,35 +425,35 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_170(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_162(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=1))). sequence(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> gecode_constraint_sequence_314(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1),arg=1))). notMax(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMax_232(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=1))). unary(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_unary_326(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -461,16 +461,16 @@ circuit(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_circuit_45(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_circuit_36(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -481,27 +481,27 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_134(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_139(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_133(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_129(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_127(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) @@ -509,15 +509,15 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_144(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_dom_143(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntSet(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_dom_141(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1))). channel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -525,28 +525,28 @@ channel(X0,X1,X2,X3) :- -> (is_BoolVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_32(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_27(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_channel_23(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_21(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -560,14 +560,14 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- -> gecode_constraint_nooverlap_228(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) ; (is_IntConLevel(X7,Y7) -> gecode_constraint_nooverlap_231(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -578,11 +578,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_element_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -590,11 +590,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_BoolVar(X6,Y6) -> gecode_constraint_element_150(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -602,11 +602,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_152(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -614,11 +614,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_160(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -628,26 +628,26 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_element_168(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_BoolVar(X6,Y6) -> gecode_constraint_element_166(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1))). max(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_208(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_212(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=1))). unshare(X0,X1) :- (is_Space_or_Clause(X0,Y0) @@ -655,8 +655,8 @@ unshare(X0,X1) :- -> gecode_constraint_unshare_338(Y0,Y1) ; (is_BoolVarArgs(X1,Y1) -> gecode_constraint_unshare_336(Y0,Y1) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1),arg=1))). path(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -665,19 +665,19 @@ path(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_path_244(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_path_243(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1))). mult(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -685,10 +685,10 @@ mult(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mult_222(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=1))). clause(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -698,16 +698,16 @@ clause(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_49(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_47(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1))). precede(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -716,18 +716,18 @@ precede(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_precede_249(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1))). distinct(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_distinct_116(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1),arg=1))). mod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -736,38 +736,38 @@ mod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mod_221(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1))). cardinality(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_cardinality_18(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=1))). atmostOne(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_atmostOne_9(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=1))). channelSorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_channelSorted_33(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -777,25 +777,25 @@ linear(X0,X1,X2,X3) :- -> gecode_constraint_linear_202(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_206(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_linear_178(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_182(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=1))). circuit(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_circuit_42(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1),arg=1))). rel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -806,69 +806,69 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_264(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_267(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_260(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_263(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_rel_258(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_rel_256(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_275(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_271(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_269(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_299(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_297(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_283(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_285(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_279(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -876,47 +876,47 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_286(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_289(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_290(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_293(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_296(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_307(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_309(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_255(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_253(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1))). min(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -924,22 +924,22 @@ min(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_min_216(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_min_215(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_min_219(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=1))). cardinality(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -947,10 +947,10 @@ cardinality(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_cardinality_19(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1))). count(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -960,29 +960,29 @@ count(X0,X1,X2,X3) :- -> gecode_constraint_count_65(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_62(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_count_60(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_count_59(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_56(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=1))). sqrt(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqrt_322(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -995,19 +995,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_113(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1015,21 +1015,21 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_109(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_107(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1039,19 +1039,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_105(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_103(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1059,23 +1059,23 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_101(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_99(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). binpacking(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1083,10 +1083,10 @@ binpacking(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_binpacking_10(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1))). linear(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1097,35 +1097,35 @@ linear(X0,X1,X2,X3,X4,X5,X6) :- -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_193(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_197(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_185(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_189(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1))). abs(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1133,17 +1133,17 @@ abs(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_abs_2(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=1))). convex(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> gecode_constraint_convex_50(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1),arg=1))). div(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1151,10 +1151,10 @@ div(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_div_118(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=1))). rel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1164,16 +1164,16 @@ rel(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_287(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_291(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntSet(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_SetVar(X3,Y3) @@ -1182,38 +1182,38 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_276(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_277(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_265(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_261(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_259(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_257(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_IntSet(X3,Y3) @@ -1222,20 +1222,20 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_302(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_303(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_SetVar(X3,Y3) -> (is_SetRelType(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_rel_304(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_305(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1))). weights(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1244,11 +1244,11 @@ weights(X0,X1,X2,X3,X4) :- -> (is_SetVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_weights_340(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1257,11 +1257,11 @@ max(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_max_211(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1274,15 +1274,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_IntVar(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_path_239(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). unary(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1290,22 +1290,22 @@ unary(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_unary_334(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> gecode_constraint_unary_330(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> gecode_constraint_unary_324(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_unary_327(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=1))). sorted(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1314,11 +1314,11 @@ sorted(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_sorted_317(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1327,21 +1327,21 @@ circuit(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_40(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_circuit_37(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_34(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1))). dom(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1353,45 +1353,45 @@ dom(X0,X1,X2,X3) :- -> gecode_constraint_dom_132(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_137(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_dom_128(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_131(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_126(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_125(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_123(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_142(Y0,Y1,Y2,Y3) ; (is_IntSet(X3,Y3) -> gecode_constraint_dom_140(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=1))). abs(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_abs_1(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=1))). channel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1400,32 +1400,32 @@ channel(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_channel_29(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_channel_24(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1))). rel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_280(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_272(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=1))). path(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1433,10 +1433,10 @@ path(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_path_242(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=1))). branch(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1444,22 +1444,22 @@ branch(X0,X1,X2,X3) :- -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_14(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_13(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarBranch(X2,Y2) -> (is_SetValBranch(X3,Y3) -> gecode_constraint_branch_15(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=1))). mult(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1468,11 +1468,11 @@ mult(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mult_223(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1482,24 +1482,24 @@ circuit(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_41(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVarArgs(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_circuit_38(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_35(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1))). clause(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1510,11 +1510,11 @@ clause(X0,X1,X2,X3,X4) :- -> gecode_constraint_clause_48(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_clause_46(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1))). precede(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1522,20 +1522,20 @@ precede(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_251(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_248(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_precede_247(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=1))). channel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1545,12 +1545,12 @@ channel(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_channel_30(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1563,10 +1563,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_82(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_85(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1575,19 +1575,19 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_78(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_81(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_75(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1597,10 +1597,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_94(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_97(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1609,34 +1609,34 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_90(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_93(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_87(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1))). distinct(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_distinct_117(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_distinct_114(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=1))). mod(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1644,19 +1644,19 @@ mod(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mod_220(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=1))). sqr(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqr_320(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=1))). sequence(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1667,11 +1667,11 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_313(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) @@ -1679,13 +1679,13 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_311(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1))). path(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1696,27 +1696,27 @@ path(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_240(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_path_237(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) ; (is_IntVarArgs(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_234(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1))). divmod(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1726,59 +1726,59 @@ divmod(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_divmod_121(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1))). sorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_sorted_318(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=1))). circuit(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_int(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_circuit_44(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_circuit_43(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=1))). channel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_channel_31(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_28(Y0,Y1,Y2) ; (is_IntVarArgs(X2,Y2) -> gecode_constraint_channel_26(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_22(Y0,Y1,Y2) ; (is_SetVar(X2,Y2) -> gecode_constraint_channel_25(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_20(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1789,45 +1789,45 @@ count(X0,X1,X2,X3,X4) :- -> gecode_constraint_count_52(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_54(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_int(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_66(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_68(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_61(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_57(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_63(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_70(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_72(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -1839,34 +1839,34 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_112(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_110(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_108(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_106(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1875,36 +1875,36 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_104(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_102(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_100(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_98(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). binpacking(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1913,11 +1913,11 @@ binpacking(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_binpacking_11(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1))). linear(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1927,32 +1927,32 @@ linear(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_201(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_205(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_177(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_181(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -1961,15 +1961,15 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_192(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_195(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_196(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_199(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) @@ -1977,18 +1977,18 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_184(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_187(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_188(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_191(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1999,23 +1999,23 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVarArgs(X5,Y5) -> (is_IntVarArgs(X6,Y6) -> gecode_constraint_nooverlap_230(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_nooverlap_225(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1))). div(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2024,11 +2024,11 @@ div(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_div_119(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2036,22 +2036,22 @@ max(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_max_210(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_max_209(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_max_213(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2063,15 +2063,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_241(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_IntVarArgs(X6,Y6) -> (is_IntVar(X7,Y7) -> gecode_constraint_path_238(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) @@ -2079,14 +2079,14 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_235(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). unary(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2097,9 +2097,9 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_332(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_335(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2107,17 +2107,17 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_328(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_331(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_325(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1))). sorted(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2127,10 +2127,10 @@ sorted(X0,X1,X2,X3) :- -> gecode_constraint_sorted_316(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_sorted_319(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=1))). element(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2142,12 +2142,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_157(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2156,12 +2156,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_151(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2170,18 +2170,18 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_169(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_167(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2190,66 +2190,66 @@ element(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_155(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_159(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_149(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_147(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_174(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_172(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_165(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_171(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_163(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1))). sequence(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_sequence_315(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2260,26 +2260,26 @@ circuit(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_circuit_39(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1))). precede(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_250(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_246(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2289,54 +2289,54 @@ cumulative(X0,X1,X2,X3,X4,X5) :- -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_84(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_80(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_74(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_77(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_96(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_92(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_86(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_89(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1))). distinct(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2344,23 +2344,23 @@ distinct(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_distinct_115(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=1))). min(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_214(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_218(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=1))). sqrt(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2368,10 +2368,10 @@ sqrt(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqrt_323(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1))). sequence(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2381,35 +2381,35 @@ sequence(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_312(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_310(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1))). unshare(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_339(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_337(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=1))). path(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2419,22 +2419,22 @@ path(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_path_245(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_path_236(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1))). divmod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2443,11 +2443,11 @@ divmod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_divmod_120(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -2460,15 +2460,15 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_BoolVarArgs(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_nooverlap_229(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). cumulative(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2477,19 +2477,19 @@ cumulative(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_76(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_88(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2499,49 +2499,49 @@ count(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_67(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_69(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_71(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_73(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_53(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_55(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1))). notMin(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMin_233(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2553,11 +2553,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_83(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2565,12 +2565,12 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_79(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2579,11 +2579,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_95(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2591,31 +2591,31 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_91(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). branch(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_16(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_12(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetValBranch(X2,Y2) -> gecode_constraint_branch_17(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=1))). dom(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2624,15 +2624,15 @@ dom(X0,X1,X2) :- -> gecode_constraint_dom_136(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_130(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_dom_124(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_122(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2643,15 +2643,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_200(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_203(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_204(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_207(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2659,15 +2659,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_176(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_179(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_180(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_183(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2675,19 +2675,19 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_194(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_198(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_linear_186(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_190(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2699,12 +2699,12 @@ nooverlap(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_nooverlap_224(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_nooverlap_227(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1))). element(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2714,20 +2714,20 @@ element(X0,X1,X2,X3,X4,X5) :- -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_175(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_173(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=1))). rel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2737,8 +2737,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_266(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_262(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2749,18 +2749,18 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_268(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_273(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_300(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_298(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2771,8 +2771,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_278(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_281(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2781,34 +2781,34 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_292(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_294(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_295(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_301(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_306(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_308(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_rel_254(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_252(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=1))). min(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2817,11 +2817,11 @@ min(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_min_217(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2830,7 +2830,7 @@ count(X0,X1,X2) :- -> gecode_constraint_count_64(Y0,Y1,Y2) ; (is_IntSetArgs(X2,Y2) -> gecode_constraint_count_58(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=1))). diff --git a/library/gecode/3.7.0/gecode_yap_auto_generated.yap b/library/gecode/3.7.0/gecode_yap_auto_generated.yap index b0913cdd5..1b519c648 100644 --- a/library/gecode/3.7.0/gecode_yap_auto_generated.yap +++ b/library/gecode/3.7.0/gecode_yap_auto_generated.yap @@ -291,22 +291,22 @@ unary(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_357(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_353(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1))). nvalues(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -315,27 +315,27 @@ nvalues(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_255(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_257(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_251(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_253(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -343,22 +343,22 @@ max(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_max_218(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_max_217(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_max_221(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -368,31 +368,31 @@ dom(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_dom_139(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_dom_149(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1))). convex(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_convex_51(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=1))). nooverlap(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -401,40 +401,40 @@ nooverlap(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_nooverlap_242(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1))). assign(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_BoolVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_4(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_3(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_5(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_7(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_6(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_8(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=2)))))))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=1))). element(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -444,28 +444,28 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_158(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_element_162(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_element_152(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_150(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_157(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_165(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -474,35 +474,35 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_174(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_166(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=1))). sequence(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> gecode_constraint_sequence_338(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1),arg=1))). notMax(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMax_248(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=1))). unary(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_unary_350(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -510,16 +510,16 @@ circuit(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_circuit_45(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_circuit_36(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -530,27 +530,27 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_138(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_143(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_137(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_133(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_131(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) @@ -558,15 +558,15 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_148(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_dom_147(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntSet(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_dom_145(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1))). channel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -574,28 +574,28 @@ channel(X0,X1,X2,X3) :- -> (is_BoolVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_32(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_27(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_channel_23(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_21(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -609,14 +609,14 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- -> gecode_constraint_nooverlap_244(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) ; (is_IntConLevel(X7,Y7) -> gecode_constraint_nooverlap_247(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -627,11 +627,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_element_160(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -639,11 +639,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_BoolVar(X6,Y6) -> gecode_constraint_element_154(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -651,11 +651,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -663,11 +663,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_164(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -677,26 +677,26 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_element_172(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_BoolVar(X6,Y6) -> gecode_constraint_element_170(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1))). max(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_216(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_220(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=1))). unshare(X0,X1) :- (is_Space_or_Clause(X0,Y0) @@ -704,8 +704,8 @@ unshare(X0,X1) :- -> gecode_constraint_unshare_362(Y0,Y1) ; (is_BoolVarArgs(X1,Y1) -> gecode_constraint_unshare_360(Y0,Y1) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1),arg=1))). path(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -714,19 +714,19 @@ path(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_path_268(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_path_267(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1))). mult(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -734,10 +734,10 @@ mult(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mult_238(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=1))). clause(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -747,16 +747,16 @@ clause(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_49(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_47(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1))). precede(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -765,18 +765,18 @@ precede(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_precede_273(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1))). distinct(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_distinct_120(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1),arg=1))). member(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -786,18 +786,18 @@ member(X0,X1,X2,X3) :- -> gecode_constraint_member_226(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_229(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_member_222(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_225(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=1))). mod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -806,38 +806,38 @@ mod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mod_237(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1))). cardinality(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_cardinality_18(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=1))). atmostOne(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_atmostOne_9(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=1))). channelSorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_channelSorted_33(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -847,25 +847,25 @@ linear(X0,X1,X2,X3) :- -> gecode_constraint_linear_210(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_214(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_linear_186(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_190(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=1))). circuit(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_circuit_42(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1),arg=1))). rel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -876,69 +876,69 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_288(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_291(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_284(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_287(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_rel_282(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_rel_280(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_299(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_295(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_293(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_323(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_321(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_307(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_309(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_303(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -946,47 +946,47 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_310(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_313(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_314(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_317(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_320(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_331(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_333(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_279(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_277(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1))). min(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -994,22 +994,22 @@ min(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_min_232(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_min_231(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_min_235(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=1))). cardinality(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1017,10 +1017,10 @@ cardinality(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_cardinality_19(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1))). count(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1030,29 +1030,29 @@ count(X0,X1,X2,X3) :- -> gecode_constraint_count_69(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_66(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_count_60(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_count_59(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_56(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=1))). sqrt(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqrt_346(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1065,19 +1065,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_117(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_115(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1085,21 +1085,21 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_113(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1109,19 +1109,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_109(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_107(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1129,23 +1129,23 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_105(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_103(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). nvalues(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1155,18 +1155,18 @@ nvalues(X0,X1,X2,X3) :- -> gecode_constraint_nvalues_254(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_256(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_nvalues_250(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_252(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=1))). binpacking(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1174,10 +1174,10 @@ binpacking(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_binpacking_10(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1))). linear(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1188,35 +1188,35 @@ linear(X0,X1,X2,X3,X4,X5,X6) :- -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_201(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_205(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_193(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_197(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1))). abs(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1224,17 +1224,17 @@ abs(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_abs_2(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=1))). convex(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> gecode_constraint_convex_50(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1),arg=1))). div(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1242,10 +1242,10 @@ div(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_div_122(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=1))). rel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1255,16 +1255,16 @@ rel(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_311(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_315(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntSet(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_SetVar(X3,Y3) @@ -1273,38 +1273,38 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_300(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_301(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_289(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_285(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_283(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_281(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_IntSet(X3,Y3) @@ -1313,20 +1313,20 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_326(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_327(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_SetVar(X3,Y3) -> (is_SetRelType(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_rel_328(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_329(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1))). weights(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1335,11 +1335,11 @@ weights(X0,X1,X2,X3,X4) :- -> (is_SetVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_weights_364(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1348,11 +1348,11 @@ max(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_max_219(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1365,15 +1365,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_IntVar(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_path_263(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). unary(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1381,22 +1381,22 @@ unary(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_unary_358(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> gecode_constraint_unary_354(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> gecode_constraint_unary_348(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_unary_351(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=1))). sorted(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1405,11 +1405,11 @@ sorted(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_sorted_341(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1418,21 +1418,21 @@ circuit(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_40(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_circuit_37(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_34(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1))). dom(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1444,45 +1444,45 @@ dom(X0,X1,X2,X3) :- -> gecode_constraint_dom_136(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_141(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_dom_132(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_135(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_130(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_129(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_127(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_146(Y0,Y1,Y2,Y3) ; (is_IntSet(X3,Y3) -> gecode_constraint_dom_144(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=1))). abs(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_abs_1(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=1))). channel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1491,32 +1491,32 @@ channel(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_channel_29(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_channel_24(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1))). rel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_304(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_296(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=1))). path(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1524,10 +1524,10 @@ path(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_path_266(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=1))). branch(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1535,22 +1535,22 @@ branch(X0,X1,X2,X3) :- -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_14(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_13(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarBranch(X2,Y2) -> (is_SetValBranch(X3,Y3) -> gecode_constraint_branch_15(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=1))). mult(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1559,11 +1559,11 @@ mult(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mult_239(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1573,24 +1573,24 @@ circuit(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_41(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVarArgs(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_circuit_38(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_35(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1))). clause(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1601,11 +1601,11 @@ clause(X0,X1,X2,X3,X4) :- -> gecode_constraint_clause_48(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_clause_46(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1))). precede(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1613,20 +1613,20 @@ precede(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_275(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_272(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_precede_271(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=1))). channel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1636,12 +1636,12 @@ channel(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_channel_30(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1654,10 +1654,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_86(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_89(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1666,19 +1666,19 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_82(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_85(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_79(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1688,10 +1688,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_98(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_101(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1700,34 +1700,34 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_94(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_97(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_91(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1))). distinct(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_distinct_121(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_distinct_118(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=1))). member(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1736,19 +1736,19 @@ member(X0,X1,X2,X3,X4) :- -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_227(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_223(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=1))). mod(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1756,19 +1756,19 @@ mod(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mod_236(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=1))). sqr(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqr_344(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=1))). sequence(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1779,11 +1779,11 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_337(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) @@ -1791,13 +1791,13 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_335(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1))). path(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1808,27 +1808,27 @@ path(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_264(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_path_261(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) ; (is_IntVarArgs(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_258(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1))). divmod(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1838,59 +1838,59 @@ divmod(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_divmod_125(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1))). sorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_sorted_342(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=1))). circuit(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_int(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_circuit_44(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_circuit_43(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=1))). channel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_channel_31(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_28(Y0,Y1,Y2) ; (is_IntVarArgs(X2,Y2) -> gecode_constraint_channel_26(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_22(Y0,Y1,Y2) ; (is_SetVar(X2,Y2) -> gecode_constraint_channel_25(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_20(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1901,51 +1901,51 @@ count(X0,X1,X2,X3,X4) :- -> gecode_constraint_count_52(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_54(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_int(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_70(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_72(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_62(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_64(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_61(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSetArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_57(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_67(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_74(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_76(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -1957,34 +1957,34 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_116(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_114(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_112(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_110(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1993,36 +1993,36 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_108(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_106(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_104(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_102(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). binpacking(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2031,11 +2031,11 @@ binpacking(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_binpacking_11(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1))). linear(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2045,32 +2045,32 @@ linear(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_209(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_213(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_185(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_189(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2079,15 +2079,15 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_200(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_203(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_204(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_207(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) @@ -2095,18 +2095,18 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_192(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_195(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_196(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_199(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2117,23 +2117,23 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVarArgs(X5,Y5) -> (is_IntVarArgs(X6,Y6) -> gecode_constraint_nooverlap_246(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_nooverlap_241(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1))). div(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2142,11 +2142,11 @@ div(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_div_123(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1))). sqr(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2154,10 +2154,10 @@ sqr(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqr_345(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2169,15 +2169,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_265(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_IntVarArgs(X6,Y6) -> (is_IntVar(X7,Y7) -> gecode_constraint_path_262(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) @@ -2185,14 +2185,14 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_259(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). unary(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2203,9 +2203,9 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_356(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_359(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2213,17 +2213,17 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_352(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_355(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_349(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1))). sorted(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2233,10 +2233,10 @@ sorted(X0,X1,X2,X3) :- -> gecode_constraint_sorted_340(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_sorted_343(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=1))). element(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2248,12 +2248,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_161(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2262,12 +2262,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_155(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2276,18 +2276,18 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_173(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_171(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2296,78 +2296,78 @@ element(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_159(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_163(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_153(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_151(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_182(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_180(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_178(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_176(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3)))))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_169(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_175(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_167(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1))). sequence(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_sequence_339(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2378,26 +2378,26 @@ circuit(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_circuit_39(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1))). precede(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_274(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_270(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2407,54 +2407,54 @@ cumulative(X0,X1,X2,X3,X4,X5) :- -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_88(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_84(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_78(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_81(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_100(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_96(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_90(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_93(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1))). distinct(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2462,23 +2462,23 @@ distinct(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_distinct_119(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=1))). min(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_230(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_234(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=1))). sqrt(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2486,10 +2486,10 @@ sqrt(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqrt_347(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1))). sequence(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2499,35 +2499,35 @@ sequence(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_336(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_334(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1))). unshare(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_363(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_361(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=1))). path(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2537,22 +2537,22 @@ path(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_path_269(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_path_260(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1))). divmod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2561,11 +2561,11 @@ divmod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_divmod_124(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -2578,15 +2578,15 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_BoolVarArgs(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_nooverlap_245(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). cumulative(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2595,32 +2595,32 @@ cumulative(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_80(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_92(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1))). member(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_member_228(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_member_224(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2630,61 +2630,61 @@ count(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_71(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_73(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_75(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_77(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_63(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_65(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_53(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_55(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1))). notMin(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMin_249(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2696,11 +2696,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_87(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2708,12 +2708,12 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_83(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2722,11 +2722,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_99(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2734,31 +2734,31 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_95(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). branch(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_16(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_12(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetValBranch(X2,Y2) -> gecode_constraint_branch_17(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=1))). dom(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2767,15 +2767,15 @@ dom(X0,X1,X2) :- -> gecode_constraint_dom_140(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_134(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_dom_128(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_126(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2786,15 +2786,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_208(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_211(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_212(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_215(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2802,15 +2802,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_184(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_187(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_188(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_191(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2818,19 +2818,19 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_202(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_206(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_linear_194(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_198(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2842,12 +2842,12 @@ nooverlap(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_nooverlap_240(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_nooverlap_243(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1))). element(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2857,36 +2857,36 @@ element(X0,X1,X2,X3,X4,X5) :- -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_183(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_181(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_179(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_177(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=1))). rel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2896,8 +2896,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_290(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_286(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2908,18 +2908,18 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_292(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_297(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_324(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_322(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2930,8 +2930,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_302(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_305(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2940,34 +2940,34 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_316(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_318(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_319(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_325(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_330(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_332(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_rel_278(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_276(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=1))). min(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2976,11 +2976,11 @@ min(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_min_233(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2989,7 +2989,7 @@ count(X0,X1,X2) :- -> gecode_constraint_count_68(Y0,Y1,Y2) ; (is_IntSetArgs(X2,Y2) -> gecode_constraint_count_58(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=1))). diff --git a/library/gecode/3.7.1/gecode_yap_auto_generated.yap b/library/gecode/3.7.1/gecode_yap_auto_generated.yap index b0913cdd5..1b519c648 100644 --- a/library/gecode/3.7.1/gecode_yap_auto_generated.yap +++ b/library/gecode/3.7.1/gecode_yap_auto_generated.yap @@ -291,22 +291,22 @@ unary(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_357(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_353(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1))). nvalues(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -315,27 +315,27 @@ nvalues(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_255(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_257(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_251(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_253(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -343,22 +343,22 @@ max(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_max_218(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_max_217(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_max_221(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -368,31 +368,31 @@ dom(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_dom_139(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_dom_149(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1))). convex(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_convex_51(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=1))). nooverlap(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -401,40 +401,40 @@ nooverlap(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_nooverlap_242(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1))). assign(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_BoolVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_4(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_3(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_5(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_7(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_6(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_8(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=2)))))))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=1))). element(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -444,28 +444,28 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_158(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_element_162(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_element_152(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_150(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_157(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_165(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -474,35 +474,35 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_174(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_166(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=1))). sequence(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> gecode_constraint_sequence_338(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1),arg=1))). notMax(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMax_248(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=1))). unary(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_unary_350(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -510,16 +510,16 @@ circuit(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_circuit_45(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_circuit_36(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -530,27 +530,27 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_138(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_143(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_137(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_133(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_131(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) @@ -558,15 +558,15 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_148(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_dom_147(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntSet(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_dom_145(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1))). channel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -574,28 +574,28 @@ channel(X0,X1,X2,X3) :- -> (is_BoolVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_32(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_27(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_channel_23(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_21(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -609,14 +609,14 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- -> gecode_constraint_nooverlap_244(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) ; (is_IntConLevel(X7,Y7) -> gecode_constraint_nooverlap_247(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -627,11 +627,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_element_160(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -639,11 +639,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_BoolVar(X6,Y6) -> gecode_constraint_element_154(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -651,11 +651,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -663,11 +663,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_164(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -677,26 +677,26 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_element_172(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_BoolVar(X6,Y6) -> gecode_constraint_element_170(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1))). max(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_216(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_220(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=1))). unshare(X0,X1) :- (is_Space_or_Clause(X0,Y0) @@ -704,8 +704,8 @@ unshare(X0,X1) :- -> gecode_constraint_unshare_362(Y0,Y1) ; (is_BoolVarArgs(X1,Y1) -> gecode_constraint_unshare_360(Y0,Y1) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1),arg=1))). path(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -714,19 +714,19 @@ path(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_path_268(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_path_267(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1))). mult(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -734,10 +734,10 @@ mult(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mult_238(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=1))). clause(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -747,16 +747,16 @@ clause(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_49(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_47(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1))). precede(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -765,18 +765,18 @@ precede(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_precede_273(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1))). distinct(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_distinct_120(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1),arg=1))). member(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -786,18 +786,18 @@ member(X0,X1,X2,X3) :- -> gecode_constraint_member_226(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_229(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_member_222(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_225(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=1))). mod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -806,38 +806,38 @@ mod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mod_237(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1))). cardinality(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_cardinality_18(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=1))). atmostOne(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_atmostOne_9(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=1))). channelSorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_channelSorted_33(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -847,25 +847,25 @@ linear(X0,X1,X2,X3) :- -> gecode_constraint_linear_210(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_214(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_linear_186(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_190(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=1))). circuit(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_circuit_42(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1),arg=1))). rel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -876,69 +876,69 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_288(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_291(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_284(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_287(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_rel_282(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_rel_280(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_299(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_295(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_293(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_323(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_321(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_307(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_309(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_303(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -946,47 +946,47 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_310(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_313(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_314(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_317(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_320(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_331(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_333(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_279(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_277(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1))). min(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -994,22 +994,22 @@ min(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_min_232(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_min_231(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_min_235(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=1))). cardinality(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1017,10 +1017,10 @@ cardinality(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_cardinality_19(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1))). count(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1030,29 +1030,29 @@ count(X0,X1,X2,X3) :- -> gecode_constraint_count_69(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_66(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_count_60(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_count_59(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_56(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=1))). sqrt(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqrt_346(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1065,19 +1065,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_117(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_115(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1085,21 +1085,21 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_113(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1109,19 +1109,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_109(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_107(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1129,23 +1129,23 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_105(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_103(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). nvalues(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1155,18 +1155,18 @@ nvalues(X0,X1,X2,X3) :- -> gecode_constraint_nvalues_254(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_256(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_nvalues_250(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_252(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=1))). binpacking(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1174,10 +1174,10 @@ binpacking(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_binpacking_10(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1))). linear(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1188,35 +1188,35 @@ linear(X0,X1,X2,X3,X4,X5,X6) :- -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_201(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_205(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_193(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_197(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1))). abs(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1224,17 +1224,17 @@ abs(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_abs_2(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=1))). convex(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> gecode_constraint_convex_50(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1),arg=1))). div(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1242,10 +1242,10 @@ div(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_div_122(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=1))). rel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1255,16 +1255,16 @@ rel(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_311(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_315(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntSet(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_SetVar(X3,Y3) @@ -1273,38 +1273,38 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_300(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_301(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_289(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_285(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_283(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_281(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_IntSet(X3,Y3) @@ -1313,20 +1313,20 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_326(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_327(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_SetVar(X3,Y3) -> (is_SetRelType(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_rel_328(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_329(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1))). weights(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1335,11 +1335,11 @@ weights(X0,X1,X2,X3,X4) :- -> (is_SetVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_weights_364(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1348,11 +1348,11 @@ max(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_max_219(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1365,15 +1365,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_IntVar(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_path_263(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). unary(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1381,22 +1381,22 @@ unary(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_unary_358(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> gecode_constraint_unary_354(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> gecode_constraint_unary_348(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_unary_351(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=1))). sorted(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1405,11 +1405,11 @@ sorted(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_sorted_341(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1418,21 +1418,21 @@ circuit(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_40(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_circuit_37(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_34(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1))). dom(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1444,45 +1444,45 @@ dom(X0,X1,X2,X3) :- -> gecode_constraint_dom_136(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_141(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_dom_132(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_135(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_130(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_129(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_127(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_146(Y0,Y1,Y2,Y3) ; (is_IntSet(X3,Y3) -> gecode_constraint_dom_144(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=1))). abs(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_abs_1(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=1))). channel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1491,32 +1491,32 @@ channel(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_channel_29(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_channel_24(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1))). rel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_304(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_296(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=1))). path(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1524,10 +1524,10 @@ path(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_path_266(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=1))). branch(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1535,22 +1535,22 @@ branch(X0,X1,X2,X3) :- -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_14(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_13(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarBranch(X2,Y2) -> (is_SetValBranch(X3,Y3) -> gecode_constraint_branch_15(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=1))). mult(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1559,11 +1559,11 @@ mult(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mult_239(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1573,24 +1573,24 @@ circuit(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_41(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVarArgs(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_circuit_38(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_35(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1))). clause(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1601,11 +1601,11 @@ clause(X0,X1,X2,X3,X4) :- -> gecode_constraint_clause_48(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_clause_46(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1))). precede(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1613,20 +1613,20 @@ precede(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_275(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_272(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_precede_271(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=1))). channel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1636,12 +1636,12 @@ channel(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_channel_30(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1654,10 +1654,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_86(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_89(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1666,19 +1666,19 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_82(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_85(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_79(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1688,10 +1688,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_98(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_101(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1700,34 +1700,34 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_94(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_97(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_91(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1))). distinct(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_distinct_121(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_distinct_118(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=1))). member(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1736,19 +1736,19 @@ member(X0,X1,X2,X3,X4) :- -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_227(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_223(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=1))). mod(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1756,19 +1756,19 @@ mod(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mod_236(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=1))). sqr(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqr_344(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=1))). sequence(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1779,11 +1779,11 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_337(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) @@ -1791,13 +1791,13 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_335(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1))). path(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1808,27 +1808,27 @@ path(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_264(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_path_261(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) ; (is_IntVarArgs(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_258(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1))). divmod(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1838,59 +1838,59 @@ divmod(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_divmod_125(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1))). sorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_sorted_342(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=1))). circuit(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_int(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_circuit_44(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_circuit_43(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=1))). channel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_channel_31(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_28(Y0,Y1,Y2) ; (is_IntVarArgs(X2,Y2) -> gecode_constraint_channel_26(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_22(Y0,Y1,Y2) ; (is_SetVar(X2,Y2) -> gecode_constraint_channel_25(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_20(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1901,51 +1901,51 @@ count(X0,X1,X2,X3,X4) :- -> gecode_constraint_count_52(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_54(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_int(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_70(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_72(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_62(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_64(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_61(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSetArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_57(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_67(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_74(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_76(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -1957,34 +1957,34 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_116(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_114(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_112(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_110(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1993,36 +1993,36 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_108(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_106(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_104(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_102(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). binpacking(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2031,11 +2031,11 @@ binpacking(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_binpacking_11(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1))). linear(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2045,32 +2045,32 @@ linear(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_209(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_213(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_185(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_189(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2079,15 +2079,15 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_200(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_203(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_204(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_207(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) @@ -2095,18 +2095,18 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_192(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_195(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_196(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_199(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2117,23 +2117,23 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVarArgs(X5,Y5) -> (is_IntVarArgs(X6,Y6) -> gecode_constraint_nooverlap_246(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_nooverlap_241(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1))). div(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2142,11 +2142,11 @@ div(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_div_123(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1))). sqr(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2154,10 +2154,10 @@ sqr(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqr_345(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2169,15 +2169,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_265(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_IntVarArgs(X6,Y6) -> (is_IntVar(X7,Y7) -> gecode_constraint_path_262(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) @@ -2185,14 +2185,14 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_259(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). unary(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2203,9 +2203,9 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_356(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_359(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2213,17 +2213,17 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_352(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_355(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_349(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1))). sorted(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2233,10 +2233,10 @@ sorted(X0,X1,X2,X3) :- -> gecode_constraint_sorted_340(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_sorted_343(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=1))). element(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2248,12 +2248,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_161(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2262,12 +2262,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_155(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2276,18 +2276,18 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_173(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_171(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2296,78 +2296,78 @@ element(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_159(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_163(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_153(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_151(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_182(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_180(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_178(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_176(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3)))))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_169(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_175(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_167(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1))). sequence(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_sequence_339(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2378,26 +2378,26 @@ circuit(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_circuit_39(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1))). precede(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_274(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_270(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2407,54 +2407,54 @@ cumulative(X0,X1,X2,X3,X4,X5) :- -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_88(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_84(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_78(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_81(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_100(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_96(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_90(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_93(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1))). distinct(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2462,23 +2462,23 @@ distinct(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_distinct_119(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=1))). min(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_230(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_234(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=1))). sqrt(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2486,10 +2486,10 @@ sqrt(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqrt_347(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1))). sequence(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2499,35 +2499,35 @@ sequence(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_336(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_334(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1))). unshare(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_363(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_361(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=1))). path(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2537,22 +2537,22 @@ path(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_path_269(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_path_260(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1))). divmod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2561,11 +2561,11 @@ divmod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_divmod_124(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -2578,15 +2578,15 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_BoolVarArgs(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_nooverlap_245(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). cumulative(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2595,32 +2595,32 @@ cumulative(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_80(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_92(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1))). member(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_member_228(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_member_224(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2630,61 +2630,61 @@ count(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_71(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_73(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_75(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_77(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_63(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_65(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_53(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_55(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1))). notMin(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMin_249(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2696,11 +2696,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_87(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2708,12 +2708,12 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_83(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2722,11 +2722,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_99(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2734,31 +2734,31 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_95(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). branch(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_16(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_12(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetValBranch(X2,Y2) -> gecode_constraint_branch_17(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=1))). dom(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2767,15 +2767,15 @@ dom(X0,X1,X2) :- -> gecode_constraint_dom_140(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_134(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_dom_128(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_126(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2786,15 +2786,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_208(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_211(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_212(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_215(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2802,15 +2802,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_184(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_187(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_188(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_191(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2818,19 +2818,19 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_202(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_206(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_linear_194(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_198(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2842,12 +2842,12 @@ nooverlap(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_nooverlap_240(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_nooverlap_243(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1))). element(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2857,36 +2857,36 @@ element(X0,X1,X2,X3,X4,X5) :- -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_183(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_181(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_179(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_177(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=1))). rel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2896,8 +2896,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_290(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_286(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2908,18 +2908,18 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_292(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_297(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_324(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_322(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2930,8 +2930,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_302(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_305(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2940,34 +2940,34 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_316(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_318(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_319(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_325(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_330(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_332(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_rel_278(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_276(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=1))). min(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2976,11 +2976,11 @@ min(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_min_233(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2989,7 +2989,7 @@ count(X0,X1,X2) :- -> gecode_constraint_count_68(Y0,Y1,Y2) ; (is_IntSetArgs(X2,Y2) -> gecode_constraint_count_58(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=1))). diff --git a/library/gecode/3.7.2/gecode_yap_auto_generated.yap b/library/gecode/3.7.2/gecode_yap_auto_generated.yap index 8a1d5db89..1b519c648 100644 --- a/library/gecode/3.7.2/gecode_yap_auto_generated.yap +++ b/library/gecode/3.7.2/gecode_yap_auto_generated.yap @@ -291,22 +291,22 @@ unary(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_357(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(unary/6,arg=6,X5))) - ; throw(gecode_argument_error(unary/6,arg=5,X4))) - ; throw(gecode_argument_error(unary/6,arg=4,X3))) - ; throw(gecode_argument_error(unary/6,arg=3,X2))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_353(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(unary/6,arg=6,X5))) - ; throw(gecode_argument_error(unary/6,arg=5,X4))) - ; throw(gecode_argument_error(unary/6,arg=4,X3))) - ; throw(gecode_argument_error(unary/6,arg=3,X2))) - ; throw(gecode_argument_error(unary/6,arg=2,X1)))) - ; throw(gecode_argument_error(unary/6,arg=1,X0))). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1))). nvalues(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -315,27 +315,27 @@ nvalues(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_255(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(nvalues/5,arg=5,X4))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_257(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(nvalues/5,arg=5,X4))) - ; throw(gecode_argument_error(nvalues/5,arg=4,X3)))) - ; throw(gecode_argument_error(nvalues/5,arg=3,X2))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_251(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(nvalues/5,arg=5,X4))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_253(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(nvalues/5,arg=5,X4))) - ; throw(gecode_argument_error(nvalues/5,arg=4,X3)))) - ; throw(gecode_argument_error(nvalues/5,arg=3,X2))) - ; throw(gecode_argument_error(nvalues/5,arg=2,X1)))) - ; throw(gecode_argument_error(nvalues/5,arg=1,X0))). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -343,22 +343,22 @@ max(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_max_218(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(max/4,arg=4,X3))) - ; throw(gecode_argument_error(max/4,arg=3,X2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_max_217(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(max/4,arg=4,X3))) - ; throw(gecode_argument_error(max/4,arg=3,X2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_max_221(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(max/4,arg=4,X3))) - ; throw(gecode_argument_error(max/4,arg=3,X2))) - ; throw(gecode_argument_error(max/4,arg=2,X1))))) - ; throw(gecode_argument_error(max/4,arg=1,X0))). + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -368,31 +368,31 @@ dom(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_dom_139(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(dom/6,arg=6,X5))) - ; throw(gecode_argument_error(dom/6,arg=5,X4))) - ; throw(gecode_argument_error(dom/6,arg=4,X3))) - ; throw(gecode_argument_error(dom/6,arg=3,X2))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_dom_149(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(dom/6,arg=6,X5))) - ; throw(gecode_argument_error(dom/6,arg=5,X4))) - ; throw(gecode_argument_error(dom/6,arg=4,X3))) - ; throw(gecode_argument_error(dom/6,arg=3,X2))) - ; throw(gecode_argument_error(dom/6,arg=2,X1)))) - ; throw(gecode_argument_error(dom/6,arg=1,X0))). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1))). convex(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_convex_51(Y0,Y1,Y2) - ; throw(gecode_argument_error(convex/3,arg=3,X2))) - ; throw(gecode_argument_error(convex/3,arg=2,X1))) - ; throw(gecode_argument_error(convex/3,arg=1,X0))). + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=1))). nooverlap(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -401,40 +401,40 @@ nooverlap(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_nooverlap_242(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(nooverlap/5,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/5,arg=4,X3))) - ; throw(gecode_argument_error(nooverlap/5,arg=3,X2))) - ; throw(gecode_argument_error(nooverlap/5,arg=2,X1))) - ; throw(gecode_argument_error(nooverlap/5,arg=1,X0))). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1))). assign(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_BoolVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_4(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_3(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_5(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_7(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_6(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_8(Y0,Y1,Y2) - ; throw(gecode_argument_error(assign/3,arg=3,X2))) - ; throw(gecode_argument_error(assign/3,arg=2,X1)))))))) - ; throw(gecode_argument_error(assign/3,arg=1,X0))). + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=2)))))))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=1))). element(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -444,28 +444,28 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_158(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_element_162(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(element/4,arg=4,X3)))) - ; throw(gecode_argument_error(element/4,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_element_152(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_150(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(element/4,arg=4,X3)))) - ; throw(gecode_argument_error(element/4,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_157(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(element/4,arg=4,X3))) - ; throw(gecode_argument_error(element/4,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_165(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(element/4,arg=4,X3))) - ; throw(gecode_argument_error(element/4,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -474,35 +474,35 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_174(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_166(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(element/4,arg=4,X3))))) - ; throw(gecode_argument_error(element/4,arg=3,X2))) - ; throw(gecode_argument_error(element/4,arg=2,X1))))))) - ; throw(gecode_argument_error(element/4,arg=1,X0))). + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=1))). sequence(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> gecode_constraint_sequence_338(Y0,Y1) - ; throw(gecode_argument_error(sequence/2,arg=2,X1))) - ; throw(gecode_argument_error(sequence/2,arg=1,X0))). + ; throw(gecode_argument_error(sequence(X0,X1),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1),arg=1))). notMax(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMax_248(Y0,Y1,Y2) - ; throw(gecode_argument_error(notMax/3,arg=3,X2))) - ; throw(gecode_argument_error(notMax/3,arg=2,X1))) - ; throw(gecode_argument_error(notMax/3,arg=1,X0))). + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=1))). unary(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_unary_350(Y0,Y1,Y2) - ; throw(gecode_argument_error(unary/3,arg=3,X2))) - ; throw(gecode_argument_error(unary/3,arg=2,X1))) - ; throw(gecode_argument_error(unary/3,arg=1,X0))). + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -510,16 +510,16 @@ circuit(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_circuit_45(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(circuit/4,arg=4,X3))) - ; throw(gecode_argument_error(circuit/4,arg=3,X2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_circuit_36(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(circuit/4,arg=4,X3))) - ; throw(gecode_argument_error(circuit/4,arg=3,X2))) - ; throw(gecode_argument_error(circuit/4,arg=2,X1)))) - ; throw(gecode_argument_error(circuit/4,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -530,27 +530,27 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_138(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_143(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_137(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4))) - ; throw(gecode_argument_error(dom/5,arg=4,X3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_133(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4))) - ; throw(gecode_argument_error(dom/5,arg=4,X3))) - ; throw(gecode_argument_error(dom/5,arg=3,X2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_131(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4))) - ; throw(gecode_argument_error(dom/5,arg=4,X3))) - ; throw(gecode_argument_error(dom/5,arg=3,X2))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) @@ -558,15 +558,15 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_148(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_dom_147(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntSet(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_dom_145(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(dom/5,arg=5,X4))) - ; throw(gecode_argument_error(dom/5,arg=4,X3)))) - ; throw(gecode_argument_error(dom/5,arg=3,X2))) - ; throw(gecode_argument_error(dom/5,arg=2,X1))))) - ; throw(gecode_argument_error(dom/5,arg=1,X0))). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1))). channel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -574,28 +574,28 @@ channel(X0,X1,X2,X3) :- -> (is_BoolVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_32(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(channel/4,arg=4,X3))) - ; throw(gecode_argument_error(channel/4,arg=3,X2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_27(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(channel/4,arg=4,X3))) - ; throw(gecode_argument_error(channel/4,arg=3,X2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_channel_23(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(channel/4,arg=4,X3))) - ; throw(gecode_argument_error(channel/4,arg=3,X2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_21(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(channel/4,arg=4,X3))) - ; throw(gecode_argument_error(channel/4,arg=3,X2))) - ; throw(gecode_argument_error(channel/4,arg=2,X1)))))) - ; throw(gecode_argument_error(channel/4,arg=1,X0))). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -609,14 +609,14 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- -> gecode_constraint_nooverlap_244(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) ; (is_IntConLevel(X7,Y7) -> gecode_constraint_nooverlap_247(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(nooverlap/8,arg=8,X7)))) - ; throw(gecode_argument_error(nooverlap/8,arg=7,X6))) - ; throw(gecode_argument_error(nooverlap/8,arg=6,X5))) - ; throw(gecode_argument_error(nooverlap/8,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/8,arg=4,X3))) - ; throw(gecode_argument_error(nooverlap/8,arg=3,X2))) - ; throw(gecode_argument_error(nooverlap/8,arg=2,X1))) - ; throw(gecode_argument_error(nooverlap/8,arg=1,X0))). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -627,11 +627,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_element_160(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(element/7,arg=7,X6))) - ; throw(gecode_argument_error(element/7,arg=6,X5))) - ; throw(gecode_argument_error(element/7,arg=5,X4))) - ; throw(gecode_argument_error(element/7,arg=4,X3))) - ; throw(gecode_argument_error(element/7,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -639,11 +639,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_BoolVar(X6,Y6) -> gecode_constraint_element_154(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(element/7,arg=7,X6))) - ; throw(gecode_argument_error(element/7,arg=6,X5))) - ; throw(gecode_argument_error(element/7,arg=5,X4))) - ; throw(gecode_argument_error(element/7,arg=4,X3))) - ; throw(gecode_argument_error(element/7,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -651,11 +651,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(element/7,arg=7,X6))) - ; throw(gecode_argument_error(element/7,arg=6,X5))) - ; throw(gecode_argument_error(element/7,arg=5,X4))) - ; throw(gecode_argument_error(element/7,arg=4,X3))) - ; throw(gecode_argument_error(element/7,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -663,11 +663,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_164(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(element/7,arg=7,X6))) - ; throw(gecode_argument_error(element/7,arg=6,X5))) - ; throw(gecode_argument_error(element/7,arg=5,X4))) - ; throw(gecode_argument_error(element/7,arg=4,X3))) - ; throw(gecode_argument_error(element/7,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -677,26 +677,26 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_element_172(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_BoolVar(X6,Y6) -> gecode_constraint_element_170(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(element/7,arg=7,X6)))) - ; throw(gecode_argument_error(element/7,arg=6,X5))) - ; throw(gecode_argument_error(element/7,arg=5,X4))) - ; throw(gecode_argument_error(element/7,arg=4,X3))) - ; throw(gecode_argument_error(element/7,arg=3,X2))) - ; throw(gecode_argument_error(element/7,arg=2,X1))))))) - ; throw(gecode_argument_error(element/7,arg=1,X0))). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1))). max(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_216(Y0,Y1,Y2) - ; throw(gecode_argument_error(max/3,arg=3,X2))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_220(Y0,Y1,Y2) - ; throw(gecode_argument_error(max/3,arg=3,X2))) - ; throw(gecode_argument_error(max/3,arg=2,X1)))) - ; throw(gecode_argument_error(max/3,arg=1,X0))). + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=1))). unshare(X0,X1) :- (is_Space_or_Clause(X0,Y0) @@ -704,8 +704,8 @@ unshare(X0,X1) :- -> gecode_constraint_unshare_362(Y0,Y1) ; (is_BoolVarArgs(X1,Y1) -> gecode_constraint_unshare_360(Y0,Y1) - ; throw(gecode_argument_error(unshare/2,arg=2,X1)))) - ; throw(gecode_argument_error(unshare/2,arg=1,X0))). + ; throw(gecode_argument_error(unshare(X0,X1),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1),arg=1))). path(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -714,19 +714,19 @@ path(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_path_268(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(path/5,arg=5,X4))) - ; throw(gecode_argument_error(path/5,arg=4,X3))) - ; throw(gecode_argument_error(path/5,arg=3,X2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_path_267(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(path/5,arg=5,X4))) - ; throw(gecode_argument_error(path/5,arg=4,X3))) - ; throw(gecode_argument_error(path/5,arg=3,X2))) - ; throw(gecode_argument_error(path/5,arg=2,X1)))) - ; throw(gecode_argument_error(path/5,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1))). mult(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -734,10 +734,10 @@ mult(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mult_238(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(mult/4,arg=4,X3))) - ; throw(gecode_argument_error(mult/4,arg=3,X2))) - ; throw(gecode_argument_error(mult/4,arg=2,X1))) - ; throw(gecode_argument_error(mult/4,arg=1,X0))). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=1))). clause(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -747,16 +747,16 @@ clause(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_49(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(clause/6,arg=6,X5))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_47(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(clause/6,arg=6,X5))) - ; throw(gecode_argument_error(clause/6,arg=5,X4)))) - ; throw(gecode_argument_error(clause/6,arg=4,X3))) - ; throw(gecode_argument_error(clause/6,arg=3,X2))) - ; throw(gecode_argument_error(clause/6,arg=2,X1))) - ; throw(gecode_argument_error(clause/6,arg=1,X0))). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1))). precede(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -765,18 +765,18 @@ precede(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_precede_273(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(precede/5,arg=5,X4))) - ; throw(gecode_argument_error(precede/5,arg=4,X3))) - ; throw(gecode_argument_error(precede/5,arg=3,X2))) - ; throw(gecode_argument_error(precede/5,arg=2,X1))) - ; throw(gecode_argument_error(precede/5,arg=1,X0))). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1))). distinct(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_distinct_120(Y0,Y1) - ; throw(gecode_argument_error(distinct/2,arg=2,X1))) - ; throw(gecode_argument_error(distinct/2,arg=1,X0))). + ; throw(gecode_argument_error(distinct(X0,X1),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1),arg=1))). member(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -786,18 +786,18 @@ member(X0,X1,X2,X3) :- -> gecode_constraint_member_226(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_229(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(member/4,arg=4,X3)))) - ; throw(gecode_argument_error(member/4,arg=3,X2))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_member_222(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_225(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(member/4,arg=4,X3)))) - ; throw(gecode_argument_error(member/4,arg=3,X2))) - ; throw(gecode_argument_error(member/4,arg=2,X1)))) - ; throw(gecode_argument_error(member/4,arg=1,X0))). + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=1))). mod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -806,38 +806,38 @@ mod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mod_237(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(mod/5,arg=5,X4))) - ; throw(gecode_argument_error(mod/5,arg=4,X3))) - ; throw(gecode_argument_error(mod/5,arg=3,X2))) - ; throw(gecode_argument_error(mod/5,arg=2,X1))) - ; throw(gecode_argument_error(mod/5,arg=1,X0))). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1))). cardinality(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_cardinality_18(Y0,Y1,Y2) - ; throw(gecode_argument_error(cardinality/3,arg=3,X2))) - ; throw(gecode_argument_error(cardinality/3,arg=2,X1))) - ; throw(gecode_argument_error(cardinality/3,arg=1,X0))). + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=1))). atmostOne(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_atmostOne_9(Y0,Y1,Y2) - ; throw(gecode_argument_error(atmostOne/3,arg=3,X2))) - ; throw(gecode_argument_error(atmostOne/3,arg=2,X1))) - ; throw(gecode_argument_error(atmostOne/3,arg=1,X0))). + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=1))). channelSorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_channelSorted_33(Y0,Y1,Y2) - ; throw(gecode_argument_error(channelSorted/3,arg=3,X2))) - ; throw(gecode_argument_error(channelSorted/3,arg=2,X1))) - ; throw(gecode_argument_error(channelSorted/3,arg=1,X0))). + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -847,25 +847,25 @@ linear(X0,X1,X2,X3) :- -> gecode_constraint_linear_210(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_214(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(linear/4,arg=4,X3)))) - ; throw(gecode_argument_error(linear/4,arg=3,X2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_linear_186(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_190(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(linear/4,arg=4,X3)))) - ; throw(gecode_argument_error(linear/4,arg=3,X2))) - ; throw(gecode_argument_error(linear/4,arg=2,X1)))) - ; throw(gecode_argument_error(linear/4,arg=1,X0))). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=1))). circuit(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_circuit_42(Y0,Y1) - ; throw(gecode_argument_error(circuit/2,arg=2,X1))) - ; throw(gecode_argument_error(circuit/2,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1),arg=1))). rel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -876,69 +876,69 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_288(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_291(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_284(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_287(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4)))) - ; throw(gecode_argument_error(rel/5,arg=4,X3)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_rel_282(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_rel_280(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4)))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))) - ; throw(gecode_argument_error(rel/5,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_299(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_295(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_293(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))))) - ; throw(gecode_argument_error(rel/5,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_323(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_321(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))) - ; throw(gecode_argument_error(rel/5,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_307(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_309(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_303(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))))) - ; throw(gecode_argument_error(rel/5,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -946,47 +946,47 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_310(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_313(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_314(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_317(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4)))) - ; throw(gecode_argument_error(rel/5,arg=4,X3)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_320(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3))) - ; throw(gecode_argument_error(rel/5,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_331(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_333(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3)))) - ; throw(gecode_argument_error(rel/5,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_279(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_277(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(rel/5,arg=5,X4))) - ; throw(gecode_argument_error(rel/5,arg=4,X3)))) - ; throw(gecode_argument_error(rel/5,arg=3,X2))) - ; throw(gecode_argument_error(rel/5,arg=2,X1))))))))) - ; throw(gecode_argument_error(rel/5,arg=1,X0))). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1))). min(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -994,22 +994,22 @@ min(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_min_232(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(min/4,arg=4,X3))) - ; throw(gecode_argument_error(min/4,arg=3,X2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_min_231(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(min/4,arg=4,X3))) - ; throw(gecode_argument_error(min/4,arg=3,X2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_min_235(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(min/4,arg=4,X3))) - ; throw(gecode_argument_error(min/4,arg=3,X2))) - ; throw(gecode_argument_error(min/4,arg=2,X1))))) - ; throw(gecode_argument_error(min/4,arg=1,X0))). + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=1))). cardinality(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1017,10 +1017,10 @@ cardinality(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_cardinality_19(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(cardinality/4,arg=4,X3))) - ; throw(gecode_argument_error(cardinality/4,arg=3,X2))) - ; throw(gecode_argument_error(cardinality/4,arg=2,X1))) - ; throw(gecode_argument_error(cardinality/4,arg=1,X0))). + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1))). count(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1030,29 +1030,29 @@ count(X0,X1,X2,X3) :- -> gecode_constraint_count_69(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_66(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(count/4,arg=4,X3)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_count_60(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(count/4,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_count_59(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_56(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(count/4,arg=4,X3)))) - ; throw(gecode_argument_error(count/4,arg=3,X2))))) - ; throw(gecode_argument_error(count/4,arg=2,X1))) - ; throw(gecode_argument_error(count/4,arg=1,X0))). + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=1))). sqrt(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqrt_346(Y0,Y1,Y2) - ; throw(gecode_argument_error(sqrt/3,arg=3,X2))) - ; throw(gecode_argument_error(sqrt/3,arg=2,X1))) - ; throw(gecode_argument_error(sqrt/3,arg=1,X0))). + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1065,19 +1065,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_117(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_115(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/9,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/9,arg=5,X4))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1085,21 +1085,21 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_113(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/9,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/9,arg=5,X4))) - ; throw(gecode_argument_error(cumulatives/9,arg=4,X3)))) - ; throw(gecode_argument_error(cumulatives/9,arg=3,X2))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1109,19 +1109,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_109(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_107(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/9,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/9,arg=5,X4))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1129,23 +1129,23 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_105(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_103(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(cumulatives/9,arg=9,X8))) - ; throw(gecode_argument_error(cumulatives/9,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/9,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/9,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/9,arg=5,X4))) - ; throw(gecode_argument_error(cumulatives/9,arg=4,X3)))) - ; throw(gecode_argument_error(cumulatives/9,arg=3,X2))) - ; throw(gecode_argument_error(cumulatives/9,arg=2,X1)))) - ; throw(gecode_argument_error(cumulatives/9,arg=1,X0))). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). nvalues(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1155,18 +1155,18 @@ nvalues(X0,X1,X2,X3) :- -> gecode_constraint_nvalues_254(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_256(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(nvalues/4,arg=4,X3)))) - ; throw(gecode_argument_error(nvalues/4,arg=3,X2))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_nvalues_250(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_252(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(nvalues/4,arg=4,X3)))) - ; throw(gecode_argument_error(nvalues/4,arg=3,X2))) - ; throw(gecode_argument_error(nvalues/4,arg=2,X1)))) - ; throw(gecode_argument_error(nvalues/4,arg=1,X0))). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=1))). binpacking(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1174,10 +1174,10 @@ binpacking(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_binpacking_10(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(binpacking/4,arg=4,X3))) - ; throw(gecode_argument_error(binpacking/4,arg=3,X2))) - ; throw(gecode_argument_error(binpacking/4,arg=2,X1))) - ; throw(gecode_argument_error(binpacking/4,arg=1,X0))). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1))). linear(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1188,35 +1188,35 @@ linear(X0,X1,X2,X3,X4,X5,X6) :- -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_201(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(linear/7,arg=7,X6))) - ; throw(gecode_argument_error(linear/7,arg=6,X5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_205(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(linear/7,arg=7,X6))) - ; throw(gecode_argument_error(linear/7,arg=6,X5))) - ; throw(gecode_argument_error(linear/7,arg=5,X4)))) - ; throw(gecode_argument_error(linear/7,arg=4,X3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_193(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(linear/7,arg=7,X6))) - ; throw(gecode_argument_error(linear/7,arg=6,X5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_197(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(linear/7,arg=7,X6))) - ; throw(gecode_argument_error(linear/7,arg=6,X5))) - ; throw(gecode_argument_error(linear/7,arg=5,X4)))) - ; throw(gecode_argument_error(linear/7,arg=4,X3))) - ; throw(gecode_argument_error(linear/7,arg=3,X2)))) - ; throw(gecode_argument_error(linear/7,arg=2,X1))) - ; throw(gecode_argument_error(linear/7,arg=1,X0))). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1))). abs(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1224,17 +1224,17 @@ abs(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_abs_2(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(abs/4,arg=4,X3))) - ; throw(gecode_argument_error(abs/4,arg=3,X2))) - ; throw(gecode_argument_error(abs/4,arg=2,X1))) - ; throw(gecode_argument_error(abs/4,arg=1,X0))). + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=1))). convex(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> gecode_constraint_convex_50(Y0,Y1) - ; throw(gecode_argument_error(convex/2,arg=2,X1))) - ; throw(gecode_argument_error(convex/2,arg=1,X0))). + ; throw(gecode_argument_error(convex(X0,X1),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1),arg=1))). div(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1242,10 +1242,10 @@ div(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_div_122(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(div/4,arg=4,X3))) - ; throw(gecode_argument_error(div/4,arg=3,X2))) - ; throw(gecode_argument_error(div/4,arg=2,X1))) - ; throw(gecode_argument_error(div/4,arg=1,X0))). + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=1))). rel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1255,16 +1255,16 @@ rel(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_311(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_315(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) - ; throw(gecode_argument_error(rel/6,arg=4,X3)))) - ; throw(gecode_argument_error(rel/6,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntSet(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_SetVar(X3,Y3) @@ -1273,38 +1273,38 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_300(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_301(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5)))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) - ; throw(gecode_argument_error(rel/6,arg=4,X3))) - ; throw(gecode_argument_error(rel/6,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_289(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_285(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) - ; throw(gecode_argument_error(rel/6,arg=4,X3)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_283(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_281(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5))) - ; throw(gecode_argument_error(rel/6,arg=5,X4)))) - ; throw(gecode_argument_error(rel/6,arg=4,X3))) - ; throw(gecode_argument_error(rel/6,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_IntSet(X3,Y3) @@ -1313,20 +1313,20 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_326(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_327(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5)))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_SetVar(X3,Y3) -> (is_SetRelType(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_rel_328(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_329(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(rel/6,arg=6,X5)))) - ; throw(gecode_argument_error(rel/6,arg=5,X4))) - ; throw(gecode_argument_error(rel/6,arg=4,X3)))) - ; throw(gecode_argument_error(rel/6,arg=3,X2))) - ; throw(gecode_argument_error(rel/6,arg=2,X1)))))) - ; throw(gecode_argument_error(rel/6,arg=1,X0))). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1))). weights(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1335,11 +1335,11 @@ weights(X0,X1,X2,X3,X4) :- -> (is_SetVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_weights_364(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(weights/5,arg=5,X4))) - ; throw(gecode_argument_error(weights/5,arg=4,X3))) - ; throw(gecode_argument_error(weights/5,arg=3,X2))) - ; throw(gecode_argument_error(weights/5,arg=2,X1))) - ; throw(gecode_argument_error(weights/5,arg=1,X0))). + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1348,11 +1348,11 @@ max(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_max_219(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(max/5,arg=5,X4))) - ; throw(gecode_argument_error(max/5,arg=4,X3))) - ; throw(gecode_argument_error(max/5,arg=3,X2))) - ; throw(gecode_argument_error(max/5,arg=2,X1))) - ; throw(gecode_argument_error(max/5,arg=1,X0))). + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1365,15 +1365,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_IntVar(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_path_263(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(path/9,arg=9,X8))) - ; throw(gecode_argument_error(path/9,arg=8,X7))) - ; throw(gecode_argument_error(path/9,arg=7,X6))) - ; throw(gecode_argument_error(path/9,arg=6,X5))) - ; throw(gecode_argument_error(path/9,arg=5,X4))) - ; throw(gecode_argument_error(path/9,arg=4,X3))) - ; throw(gecode_argument_error(path/9,arg=3,X2))) - ; throw(gecode_argument_error(path/9,arg=2,X1))) - ; throw(gecode_argument_error(path/9,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). unary(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1381,22 +1381,22 @@ unary(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_unary_358(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(unary/4,arg=4,X3))) - ; throw(gecode_argument_error(unary/4,arg=3,X2))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> gecode_constraint_unary_354(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(unary/4,arg=4,X3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> gecode_constraint_unary_348(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_unary_351(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(unary/4,arg=4,X3)))) - ; throw(gecode_argument_error(unary/4,arg=3,X2)))) - ; throw(gecode_argument_error(unary/4,arg=2,X1)))) - ; throw(gecode_argument_error(unary/4,arg=1,X0))). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=1))). sorted(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1405,11 +1405,11 @@ sorted(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_sorted_341(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(sorted/5,arg=5,X4))) - ; throw(gecode_argument_error(sorted/5,arg=4,X3))) - ; throw(gecode_argument_error(sorted/5,arg=3,X2))) - ; throw(gecode_argument_error(sorted/5,arg=2,X1))) - ; throw(gecode_argument_error(sorted/5,arg=1,X0))). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1418,21 +1418,21 @@ circuit(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_40(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(circuit/5,arg=5,X4))) - ; throw(gecode_argument_error(circuit/5,arg=4,X3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_circuit_37(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(circuit/5,arg=5,X4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_34(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(circuit/5,arg=5,X4))) - ; throw(gecode_argument_error(circuit/5,arg=4,X3)))) - ; throw(gecode_argument_error(circuit/5,arg=3,X2)))) - ; throw(gecode_argument_error(circuit/5,arg=2,X1))) - ; throw(gecode_argument_error(circuit/5,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1))). dom(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1444,45 +1444,45 @@ dom(X0,X1,X2,X3) :- -> gecode_constraint_dom_136(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_141(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(dom/4,arg=4,X3))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))) ; (is_IntSet(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_dom_132(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_135(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(dom/4,arg=4,X3)))) - ; throw(gecode_argument_error(dom/4,arg=3,X2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_130(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_129(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(dom/4,arg=4,X3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_127(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(dom/4,arg=4,X3))) - ; throw(gecode_argument_error(dom/4,arg=3,X2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_146(Y0,Y1,Y2,Y3) ; (is_IntSet(X3,Y3) -> gecode_constraint_dom_144(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(dom/4,arg=4,X3)))) - ; throw(gecode_argument_error(dom/4,arg=3,X2))) - ; throw(gecode_argument_error(dom/4,arg=2,X1))))) - ; throw(gecode_argument_error(dom/4,arg=1,X0))). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=1))). abs(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_abs_1(Y0,Y1,Y2) - ; throw(gecode_argument_error(abs/3,arg=3,X2))) - ; throw(gecode_argument_error(abs/3,arg=2,X1))) - ; throw(gecode_argument_error(abs/3,arg=1,X0))). + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=1))). channel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1491,32 +1491,32 @@ channel(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_channel_29(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(channel/5,arg=5,X4))) - ; throw(gecode_argument_error(channel/5,arg=4,X3))) - ; throw(gecode_argument_error(channel/5,arg=3,X2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_channel_24(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(channel/5,arg=5,X4))) - ; throw(gecode_argument_error(channel/5,arg=4,X3))) - ; throw(gecode_argument_error(channel/5,arg=3,X2))) - ; throw(gecode_argument_error(channel/5,arg=2,X1)))) - ; throw(gecode_argument_error(channel/5,arg=1,X0))). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1))). rel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_304(Y0,Y1,Y2) - ; throw(gecode_argument_error(rel/3,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_296(Y0,Y1,Y2) - ; throw(gecode_argument_error(rel/3,arg=3,X2))) - ; throw(gecode_argument_error(rel/3,arg=2,X1)))) - ; throw(gecode_argument_error(rel/3,arg=1,X0))). + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=1))). path(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1524,10 +1524,10 @@ path(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_path_266(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(path/4,arg=4,X3))) - ; throw(gecode_argument_error(path/4,arg=3,X2))) - ; throw(gecode_argument_error(path/4,arg=2,X1))) - ; throw(gecode_argument_error(path/4,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=1))). branch(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1535,22 +1535,22 @@ branch(X0,X1,X2,X3) :- -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_14(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(branch/4,arg=4,X3))) - ; throw(gecode_argument_error(branch/4,arg=3,X2))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_13(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(branch/4,arg=4,X3))) - ; throw(gecode_argument_error(branch/4,arg=3,X2))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarBranch(X2,Y2) -> (is_SetValBranch(X3,Y3) -> gecode_constraint_branch_15(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(branch/4,arg=4,X3))) - ; throw(gecode_argument_error(branch/4,arg=3,X2))) - ; throw(gecode_argument_error(branch/4,arg=2,X1))))) - ; throw(gecode_argument_error(branch/4,arg=1,X0))). + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=1))). mult(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1559,11 +1559,11 @@ mult(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mult_239(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(mult/5,arg=5,X4))) - ; throw(gecode_argument_error(mult/5,arg=4,X3))) - ; throw(gecode_argument_error(mult/5,arg=3,X2))) - ; throw(gecode_argument_error(mult/5,arg=2,X1))) - ; throw(gecode_argument_error(mult/5,arg=1,X0))). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1573,24 +1573,24 @@ circuit(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_41(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(circuit/6,arg=6,X5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVarArgs(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_circuit_38(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(circuit/6,arg=6,X5))) - ; throw(gecode_argument_error(circuit/6,arg=5,X4)))) - ; throw(gecode_argument_error(circuit/6,arg=4,X3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_35(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(circuit/6,arg=6,X5))) - ; throw(gecode_argument_error(circuit/6,arg=5,X4))) - ; throw(gecode_argument_error(circuit/6,arg=4,X3))) - ; throw(gecode_argument_error(circuit/6,arg=3,X2)))) - ; throw(gecode_argument_error(circuit/6,arg=2,X1))) - ; throw(gecode_argument_error(circuit/6,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1))). clause(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1601,11 +1601,11 @@ clause(X0,X1,X2,X3,X4) :- -> gecode_constraint_clause_48(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_clause_46(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(clause/5,arg=5,X4)))) - ; throw(gecode_argument_error(clause/5,arg=4,X3))) - ; throw(gecode_argument_error(clause/5,arg=3,X2))) - ; throw(gecode_argument_error(clause/5,arg=2,X1))) - ; throw(gecode_argument_error(clause/5,arg=1,X0))). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1))). precede(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1613,20 +1613,20 @@ precede(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_275(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(precede/4,arg=4,X3))) - ; throw(gecode_argument_error(precede/4,arg=3,X2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_272(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(precede/4,arg=4,X3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_precede_271(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(precede/4,arg=4,X3))) - ; throw(gecode_argument_error(precede/4,arg=3,X2)))) - ; throw(gecode_argument_error(precede/4,arg=2,X1)))) - ; throw(gecode_argument_error(precede/4,arg=1,X0))). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=1))). channel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1636,12 +1636,12 @@ channel(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_channel_30(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(channel/6,arg=6,X5))) - ; throw(gecode_argument_error(channel/6,arg=5,X4))) - ; throw(gecode_argument_error(channel/6,arg=4,X3))) - ; throw(gecode_argument_error(channel/6,arg=3,X2))) - ; throw(gecode_argument_error(channel/6,arg=2,X1))) - ; throw(gecode_argument_error(channel/6,arg=1,X0))). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1654,10 +1654,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_86(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_89(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6)))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/7,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1666,19 +1666,19 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_82(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_85(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6)))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_79(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/7,arg=4,X3)))) - ; throw(gecode_argument_error(cumulative/7,arg=3,X2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1688,10 +1688,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_98(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_101(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6)))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/7,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1700,34 +1700,34 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_94(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_97(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6)))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_91(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(cumulative/7,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/7,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/7,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/7,arg=4,X3)))) - ; throw(gecode_argument_error(cumulative/7,arg=3,X2)))) - ; throw(gecode_argument_error(cumulative/7,arg=2,X1)))) - ; throw(gecode_argument_error(cumulative/7,arg=1,X0))). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1))). distinct(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_distinct_121(Y0,Y1,Y2) - ; throw(gecode_argument_error(distinct/3,arg=3,X2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_distinct_118(Y0,Y1,Y2) - ; throw(gecode_argument_error(distinct/3,arg=3,X2))) - ; throw(gecode_argument_error(distinct/3,arg=2,X1)))) - ; throw(gecode_argument_error(distinct/3,arg=1,X0))). + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=1))). member(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1736,19 +1736,19 @@ member(X0,X1,X2,X3,X4) :- -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_227(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(member/5,arg=5,X4))) - ; throw(gecode_argument_error(member/5,arg=4,X3))) - ; throw(gecode_argument_error(member/5,arg=3,X2))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_223(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(member/5,arg=5,X4))) - ; throw(gecode_argument_error(member/5,arg=4,X3))) - ; throw(gecode_argument_error(member/5,arg=3,X2))) - ; throw(gecode_argument_error(member/5,arg=2,X1)))) - ; throw(gecode_argument_error(member/5,arg=1,X0))). + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=1))). mod(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1756,19 +1756,19 @@ mod(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mod_236(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(mod/4,arg=4,X3))) - ; throw(gecode_argument_error(mod/4,arg=3,X2))) - ; throw(gecode_argument_error(mod/4,arg=2,X1))) - ; throw(gecode_argument_error(mod/4,arg=1,X0))). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=1))). sqr(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqr_344(Y0,Y1,Y2) - ; throw(gecode_argument_error(sqr/3,arg=3,X2))) - ; throw(gecode_argument_error(sqr/3,arg=2,X1))) - ; throw(gecode_argument_error(sqr/3,arg=1,X0))). + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=1))). sequence(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1779,11 +1779,11 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_337(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(sequence/7,arg=7,X6))) - ; throw(gecode_argument_error(sequence/7,arg=6,X5))) - ; throw(gecode_argument_error(sequence/7,arg=5,X4))) - ; throw(gecode_argument_error(sequence/7,arg=4,X3))) - ; throw(gecode_argument_error(sequence/7,arg=3,X2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) @@ -1791,13 +1791,13 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_335(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(sequence/7,arg=7,X6))) - ; throw(gecode_argument_error(sequence/7,arg=6,X5))) - ; throw(gecode_argument_error(sequence/7,arg=5,X4))) - ; throw(gecode_argument_error(sequence/7,arg=4,X3))) - ; throw(gecode_argument_error(sequence/7,arg=3,X2))) - ; throw(gecode_argument_error(sequence/7,arg=2,X1)))) - ; throw(gecode_argument_error(sequence/7,arg=1,X0))). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1))). path(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1808,27 +1808,27 @@ path(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_264(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(path/7,arg=7,X6))) - ; throw(gecode_argument_error(path/7,arg=6,X5))) - ; throw(gecode_argument_error(path/7,arg=5,X4))) - ; throw(gecode_argument_error(path/7,arg=4,X3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_path_261(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(path/7,arg=7,X6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) ; (is_IntVarArgs(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_258(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(path/7,arg=7,X6))) - ; throw(gecode_argument_error(path/7,arg=6,X5)))) - ; throw(gecode_argument_error(path/7,arg=5,X4))) - ; throw(gecode_argument_error(path/7,arg=4,X3))) - ; throw(gecode_argument_error(path/7,arg=3,X2)))) - ; throw(gecode_argument_error(path/7,arg=2,X1))) - ; throw(gecode_argument_error(path/7,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1))). divmod(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1838,59 +1838,59 @@ divmod(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_divmod_125(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(divmod/6,arg=6,X5))) - ; throw(gecode_argument_error(divmod/6,arg=5,X4))) - ; throw(gecode_argument_error(divmod/6,arg=4,X3))) - ; throw(gecode_argument_error(divmod/6,arg=3,X2))) - ; throw(gecode_argument_error(divmod/6,arg=2,X1))) - ; throw(gecode_argument_error(divmod/6,arg=1,X0))). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1))). sorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_sorted_342(Y0,Y1,Y2) - ; throw(gecode_argument_error(sorted/3,arg=3,X2))) - ; throw(gecode_argument_error(sorted/3,arg=2,X1))) - ; throw(gecode_argument_error(sorted/3,arg=1,X0))). + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=1))). circuit(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_int(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_circuit_44(Y0,Y1,Y2) - ; throw(gecode_argument_error(circuit/3,arg=3,X2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_circuit_43(Y0,Y1,Y2) - ; throw(gecode_argument_error(circuit/3,arg=3,X2))) - ; throw(gecode_argument_error(circuit/3,arg=2,X1)))) - ; throw(gecode_argument_error(circuit/3,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=1))). channel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_channel_31(Y0,Y1,Y2) - ; throw(gecode_argument_error(channel/3,arg=3,X2))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_28(Y0,Y1,Y2) ; (is_IntVarArgs(X2,Y2) -> gecode_constraint_channel_26(Y0,Y1,Y2) - ; throw(gecode_argument_error(channel/3,arg=3,X2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_22(Y0,Y1,Y2) ; (is_SetVar(X2,Y2) -> gecode_constraint_channel_25(Y0,Y1,Y2) - ; throw(gecode_argument_error(channel/3,arg=3,X2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_20(Y0,Y1,Y2) - ; throw(gecode_argument_error(channel/3,arg=3,X2))) - ; throw(gecode_argument_error(channel/3,arg=2,X1)))))) - ; throw(gecode_argument_error(channel/3,arg=1,X0))). + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1901,51 +1901,51 @@ count(X0,X1,X2,X3,X4) :- -> gecode_constraint_count_52(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_54(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4)))) - ; throw(gecode_argument_error(count/5,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_int(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_70(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_72(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4)))) - ; throw(gecode_argument_error(count/5,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_62(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_64(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_61(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4))) - ; throw(gecode_argument_error(count/5,arg=4,X3)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSetArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_57(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4))) - ; throw(gecode_argument_error(count/5,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_67(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4))) - ; throw(gecode_argument_error(count/5,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_74(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_76(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(count/5,arg=5,X4)))) - ; throw(gecode_argument_error(count/5,arg=4,X3))) - ; throw(gecode_argument_error(count/5,arg=3,X2)))))))) - ; throw(gecode_argument_error(count/5,arg=2,X1))) - ; throw(gecode_argument_error(count/5,arg=1,X0))). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -1957,34 +1957,34 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_116(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_114(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/8,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/8,arg=5,X4))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_112(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_110(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/8,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulatives/8,arg=4,X3)))) - ; throw(gecode_argument_error(cumulatives/8,arg=3,X2))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1993,36 +1993,36 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_108(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_106(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/8,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/8,arg=5,X4))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_104(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_102(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulatives/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulatives/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulatives/8,arg=6,X5)))) - ; throw(gecode_argument_error(cumulatives/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulatives/8,arg=4,X3)))) - ; throw(gecode_argument_error(cumulatives/8,arg=3,X2))) - ; throw(gecode_argument_error(cumulatives/8,arg=2,X1)))) - ; throw(gecode_argument_error(cumulatives/8,arg=1,X0))). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). binpacking(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2031,11 +2031,11 @@ binpacking(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_binpacking_11(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(binpacking/5,arg=5,X4))) - ; throw(gecode_argument_error(binpacking/5,arg=4,X3))) - ; throw(gecode_argument_error(binpacking/5,arg=3,X2))) - ; throw(gecode_argument_error(binpacking/5,arg=2,X1))) - ; throw(gecode_argument_error(binpacking/5,arg=1,X0))). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1))). linear(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2045,32 +2045,32 @@ linear(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_209(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5))) - ; throw(gecode_argument_error(linear/6,arg=5,X4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_213(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5))) - ; throw(gecode_argument_error(linear/6,arg=5,X4))) - ; throw(gecode_argument_error(linear/6,arg=4,X3)))) - ; throw(gecode_argument_error(linear/6,arg=3,X2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_185(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5))) - ; throw(gecode_argument_error(linear/6,arg=5,X4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_189(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5))) - ; throw(gecode_argument_error(linear/6,arg=5,X4))) - ; throw(gecode_argument_error(linear/6,arg=4,X3)))) - ; throw(gecode_argument_error(linear/6,arg=3,X2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2079,15 +2079,15 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_200(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_203(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_204(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_207(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5)))) - ; throw(gecode_argument_error(linear/6,arg=5,X4)))) - ; throw(gecode_argument_error(linear/6,arg=4,X3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) @@ -2095,18 +2095,18 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_192(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_195(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_linear_196(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_199(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(linear/6,arg=6,X5)))) - ; throw(gecode_argument_error(linear/6,arg=5,X4)))) - ; throw(gecode_argument_error(linear/6,arg=4,X3))) - ; throw(gecode_argument_error(linear/6,arg=3,X2)))) - ; throw(gecode_argument_error(linear/6,arg=2,X1))))) - ; throw(gecode_argument_error(linear/6,arg=1,X0))). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2117,23 +2117,23 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVarArgs(X5,Y5) -> (is_IntVarArgs(X6,Y6) -> gecode_constraint_nooverlap_246(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(nooverlap/7,arg=7,X6))) - ; throw(gecode_argument_error(nooverlap/7,arg=6,X5))) - ; throw(gecode_argument_error(nooverlap/7,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/7,arg=4,X3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_nooverlap_241(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(nooverlap/7,arg=7,X6))) - ; throw(gecode_argument_error(nooverlap/7,arg=6,X5))) - ; throw(gecode_argument_error(nooverlap/7,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/7,arg=4,X3))) - ; throw(gecode_argument_error(nooverlap/7,arg=3,X2)))) - ; throw(gecode_argument_error(nooverlap/7,arg=2,X1))) - ; throw(gecode_argument_error(nooverlap/7,arg=1,X0))). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1))). div(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2142,11 +2142,11 @@ div(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_div_123(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(div/5,arg=5,X4))) - ; throw(gecode_argument_error(div/5,arg=4,X3))) - ; throw(gecode_argument_error(div/5,arg=3,X2))) - ; throw(gecode_argument_error(div/5,arg=2,X1))) - ; throw(gecode_argument_error(div/5,arg=1,X0))). + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1))). sqr(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2154,10 +2154,10 @@ sqr(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqr_345(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(sqr/4,arg=4,X3))) - ; throw(gecode_argument_error(sqr/4,arg=3,X2))) - ; throw(gecode_argument_error(sqr/4,arg=2,X1))) - ; throw(gecode_argument_error(sqr/4,arg=1,X0))). + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2169,15 +2169,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_265(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(path/8,arg=8,X7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_IntVarArgs(X6,Y6) -> (is_IntVar(X7,Y7) -> gecode_constraint_path_262(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(path/8,arg=8,X7))) - ; throw(gecode_argument_error(path/8,arg=7,X6)))) - ; throw(gecode_argument_error(path/8,arg=6,X5))) - ; throw(gecode_argument_error(path/8,arg=5,X4))) - ; throw(gecode_argument_error(path/8,arg=4,X3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) @@ -2185,14 +2185,14 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_259(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(path/8,arg=8,X7))) - ; throw(gecode_argument_error(path/8,arg=7,X6))) - ; throw(gecode_argument_error(path/8,arg=6,X5))) - ; throw(gecode_argument_error(path/8,arg=5,X4))) - ; throw(gecode_argument_error(path/8,arg=4,X3))) - ; throw(gecode_argument_error(path/8,arg=3,X2)))) - ; throw(gecode_argument_error(path/8,arg=2,X1))) - ; throw(gecode_argument_error(path/8,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). unary(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2203,9 +2203,9 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_356(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_359(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(unary/5,arg=5,X4)))) - ; throw(gecode_argument_error(unary/5,arg=4,X3))) - ; throw(gecode_argument_error(unary/5,arg=3,X2))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2213,17 +2213,17 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_352(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_355(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(unary/5,arg=5,X4)))) - ; throw(gecode_argument_error(unary/5,arg=4,X3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_349(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(unary/5,arg=5,X4))) - ; throw(gecode_argument_error(unary/5,arg=4,X3))) - ; throw(gecode_argument_error(unary/5,arg=3,X2)))) - ; throw(gecode_argument_error(unary/5,arg=2,X1)))) - ; throw(gecode_argument_error(unary/5,arg=1,X0))). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1))). sorted(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2233,10 +2233,10 @@ sorted(X0,X1,X2,X3) :- -> gecode_constraint_sorted_340(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_sorted_343(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(sorted/4,arg=4,X3)))) - ; throw(gecode_argument_error(sorted/4,arg=3,X2))) - ; throw(gecode_argument_error(sorted/4,arg=2,X1))) - ; throw(gecode_argument_error(sorted/4,arg=1,X0))). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=1))). element(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2248,12 +2248,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_161(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(element/8,arg=8,X7))) - ; throw(gecode_argument_error(element/8,arg=7,X6))) - ; throw(gecode_argument_error(element/8,arg=6,X5))) - ; throw(gecode_argument_error(element/8,arg=5,X4))) - ; throw(gecode_argument_error(element/8,arg=4,X3))) - ; throw(gecode_argument_error(element/8,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2262,12 +2262,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_155(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(element/8,arg=8,X7))) - ; throw(gecode_argument_error(element/8,arg=7,X6))) - ; throw(gecode_argument_error(element/8,arg=6,X5))) - ; throw(gecode_argument_error(element/8,arg=5,X4))) - ; throw(gecode_argument_error(element/8,arg=4,X3))) - ; throw(gecode_argument_error(element/8,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2276,18 +2276,18 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_173(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(element/8,arg=8,X7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_171(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(element/8,arg=8,X7))) - ; throw(gecode_argument_error(element/8,arg=7,X6)))) - ; throw(gecode_argument_error(element/8,arg=6,X5))) - ; throw(gecode_argument_error(element/8,arg=5,X4))) - ; throw(gecode_argument_error(element/8,arg=4,X3))) - ; throw(gecode_argument_error(element/8,arg=3,X2))) - ; throw(gecode_argument_error(element/8,arg=2,X1))))) - ; throw(gecode_argument_error(element/8,arg=1,X0))). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2296,78 +2296,78 @@ element(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_159(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_163(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3)))) - ; throw(gecode_argument_error(element/5,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_153(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_151(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3)))) - ; throw(gecode_argument_error(element/5,arg=3,X2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_182(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_180(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_178(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_176(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3))) - ; throw(gecode_argument_error(element/5,arg=3,X2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3)))))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_169(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_175(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_167(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(element/5,arg=5,X4))) - ; throw(gecode_argument_error(element/5,arg=4,X3))))) - ; throw(gecode_argument_error(element/5,arg=3,X2))) - ; throw(gecode_argument_error(element/5,arg=2,X1)))))) - ; throw(gecode_argument_error(element/5,arg=1,X0))). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1))). sequence(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_sequence_339(Y0,Y1,Y2) - ; throw(gecode_argument_error(sequence/3,arg=3,X2))) - ; throw(gecode_argument_error(sequence/3,arg=2,X1))) - ; throw(gecode_argument_error(sequence/3,arg=1,X0))). + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2378,26 +2378,26 @@ circuit(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_circuit_39(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error(circuit/7,arg=7,X6))) - ; throw(gecode_argument_error(circuit/7,arg=6,X5))) - ; throw(gecode_argument_error(circuit/7,arg=5,X4))) - ; throw(gecode_argument_error(circuit/7,arg=4,X3))) - ; throw(gecode_argument_error(circuit/7,arg=3,X2))) - ; throw(gecode_argument_error(circuit/7,arg=2,X1))) - ; throw(gecode_argument_error(circuit/7,arg=1,X0))). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1))). precede(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_274(Y0,Y1,Y2) - ; throw(gecode_argument_error(precede/3,arg=3,X2))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_270(Y0,Y1,Y2) - ; throw(gecode_argument_error(precede/3,arg=3,X2))) - ; throw(gecode_argument_error(precede/3,arg=2,X1)))) - ; throw(gecode_argument_error(precede/3,arg=1,X0))). + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2407,54 +2407,54 @@ cumulative(X0,X1,X2,X3,X4,X5) :- -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_88(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/6,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_84(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_78(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_81(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5)))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/6,arg=4,X3)))) - ; throw(gecode_argument_error(cumulative/6,arg=3,X2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_100(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/6,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_96(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_90(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_93(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(cumulative/6,arg=6,X5)))) - ; throw(gecode_argument_error(cumulative/6,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/6,arg=4,X3)))) - ; throw(gecode_argument_error(cumulative/6,arg=3,X2)))) - ; throw(gecode_argument_error(cumulative/6,arg=2,X1)))) - ; throw(gecode_argument_error(cumulative/6,arg=1,X0))). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1))). distinct(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2462,23 +2462,23 @@ distinct(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_distinct_119(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(distinct/4,arg=4,X3))) - ; throw(gecode_argument_error(distinct/4,arg=3,X2))) - ; throw(gecode_argument_error(distinct/4,arg=2,X1))) - ; throw(gecode_argument_error(distinct/4,arg=1,X0))). + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=1))). min(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_230(Y0,Y1,Y2) - ; throw(gecode_argument_error(min/3,arg=3,X2))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_234(Y0,Y1,Y2) - ; throw(gecode_argument_error(min/3,arg=3,X2))) - ; throw(gecode_argument_error(min/3,arg=2,X1)))) - ; throw(gecode_argument_error(min/3,arg=1,X0))). + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=1))). sqrt(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2486,10 +2486,10 @@ sqrt(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqrt_347(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(sqrt/4,arg=4,X3))) - ; throw(gecode_argument_error(sqrt/4,arg=3,X2))) - ; throw(gecode_argument_error(sqrt/4,arg=2,X1))) - ; throw(gecode_argument_error(sqrt/4,arg=1,X0))). + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1))). sequence(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2499,35 +2499,35 @@ sequence(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_336(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(sequence/6,arg=6,X5))) - ; throw(gecode_argument_error(sequence/6,arg=5,X4))) - ; throw(gecode_argument_error(sequence/6,arg=4,X3))) - ; throw(gecode_argument_error(sequence/6,arg=3,X2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_334(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(sequence/6,arg=6,X5))) - ; throw(gecode_argument_error(sequence/6,arg=5,X4))) - ; throw(gecode_argument_error(sequence/6,arg=4,X3))) - ; throw(gecode_argument_error(sequence/6,arg=3,X2))) - ; throw(gecode_argument_error(sequence/6,arg=2,X1)))) - ; throw(gecode_argument_error(sequence/6,arg=1,X0))). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1))). unshare(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_363(Y0,Y1,Y2) - ; throw(gecode_argument_error(unshare/3,arg=3,X2))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_361(Y0,Y1,Y2) - ; throw(gecode_argument_error(unshare/3,arg=3,X2))) - ; throw(gecode_argument_error(unshare/3,arg=2,X1)))) - ; throw(gecode_argument_error(unshare/3,arg=1,X0))). + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=1))). path(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2537,22 +2537,22 @@ path(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_path_269(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(path/6,arg=6,X5))) - ; throw(gecode_argument_error(path/6,arg=5,X4))) - ; throw(gecode_argument_error(path/6,arg=4,X3))) - ; throw(gecode_argument_error(path/6,arg=3,X2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_path_260(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(path/6,arg=6,X5))) - ; throw(gecode_argument_error(path/6,arg=5,X4))) - ; throw(gecode_argument_error(path/6,arg=4,X3))) - ; throw(gecode_argument_error(path/6,arg=3,X2))) - ; throw(gecode_argument_error(path/6,arg=2,X1)))) - ; throw(gecode_argument_error(path/6,arg=1,X0))). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1))). divmod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2561,11 +2561,11 @@ divmod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_divmod_124(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(divmod/5,arg=5,X4))) - ; throw(gecode_argument_error(divmod/5,arg=4,X3))) - ; throw(gecode_argument_error(divmod/5,arg=3,X2))) - ; throw(gecode_argument_error(divmod/5,arg=2,X1))) - ; throw(gecode_argument_error(divmod/5,arg=1,X0))). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -2578,15 +2578,15 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_BoolVarArgs(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_nooverlap_245(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error(nooverlap/9,arg=9,X8))) - ; throw(gecode_argument_error(nooverlap/9,arg=8,X7))) - ; throw(gecode_argument_error(nooverlap/9,arg=7,X6))) - ; throw(gecode_argument_error(nooverlap/9,arg=6,X5))) - ; throw(gecode_argument_error(nooverlap/9,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/9,arg=4,X3))) - ; throw(gecode_argument_error(nooverlap/9,arg=3,X2))) - ; throw(gecode_argument_error(nooverlap/9,arg=2,X1))) - ; throw(gecode_argument_error(nooverlap/9,arg=1,X0))). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). cumulative(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2595,32 +2595,32 @@ cumulative(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_80(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(cumulative/5,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/5,arg=4,X3))) - ; throw(gecode_argument_error(cumulative/5,arg=3,X2))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_92(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(cumulative/5,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/5,arg=4,X3))) - ; throw(gecode_argument_error(cumulative/5,arg=3,X2))) - ; throw(gecode_argument_error(cumulative/5,arg=2,X1)))) - ; throw(gecode_argument_error(cumulative/5,arg=1,X0))). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1))). member(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_member_228(Y0,Y1,Y2) - ; throw(gecode_argument_error(member/3,arg=3,X2))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_member_224(Y0,Y1,Y2) - ; throw(gecode_argument_error(member/3,arg=3,X2))) - ; throw(gecode_argument_error(member/3,arg=2,X1)))) - ; throw(gecode_argument_error(member/3,arg=1,X0))). + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2630,61 +2630,61 @@ count(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_71(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_73(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) - ; throw(gecode_argument_error(count/6,arg=5,X4)))) - ; throw(gecode_argument_error(count/6,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_75(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_77(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) - ; throw(gecode_argument_error(count/6,arg=5,X4)))) - ; throw(gecode_argument_error(count/6,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_63(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_65(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) - ; throw(gecode_argument_error(count/6,arg=5,X4)))) - ; throw(gecode_argument_error(count/6,arg=4,X3))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_53(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_55(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(count/6,arg=6,X5))) - ; throw(gecode_argument_error(count/6,arg=5,X4)))) - ; throw(gecode_argument_error(count/6,arg=4,X3))) - ; throw(gecode_argument_error(count/6,arg=3,X2)))))) - ; throw(gecode_argument_error(count/6,arg=2,X1))) - ; throw(gecode_argument_error(count/6,arg=1,X0))). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1))). notMin(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMin_249(Y0,Y1,Y2) - ; throw(gecode_argument_error(notMin/3,arg=3,X2))) - ; throw(gecode_argument_error(notMin/3,arg=2,X1))) - ; throw(gecode_argument_error(notMin/3,arg=1,X0))). + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2696,11 +2696,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_87(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulative/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulative/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/8,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/8,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2708,12 +2708,12 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_83(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulative/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulative/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/8,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/8,arg=4,X3))) - ; throw(gecode_argument_error(cumulative/8,arg=3,X2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2722,11 +2722,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_99(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulative/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulative/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/8,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/8,arg=4,X3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2734,31 +2734,31 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_95(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error(cumulative/8,arg=8,X7))) - ; throw(gecode_argument_error(cumulative/8,arg=7,X6))) - ; throw(gecode_argument_error(cumulative/8,arg=6,X5))) - ; throw(gecode_argument_error(cumulative/8,arg=5,X4))) - ; throw(gecode_argument_error(cumulative/8,arg=4,X3))) - ; throw(gecode_argument_error(cumulative/8,arg=3,X2)))) - ; throw(gecode_argument_error(cumulative/8,arg=2,X1)))) - ; throw(gecode_argument_error(cumulative/8,arg=1,X0))). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). branch(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_16(Y0,Y1,Y2) - ; throw(gecode_argument_error(branch/3,arg=3,X2))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_12(Y0,Y1,Y2) - ; throw(gecode_argument_error(branch/3,arg=3,X2))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetValBranch(X2,Y2) -> gecode_constraint_branch_17(Y0,Y1,Y2) - ; throw(gecode_argument_error(branch/3,arg=3,X2))) - ; throw(gecode_argument_error(branch/3,arg=2,X1))))) - ; throw(gecode_argument_error(branch/3,arg=1,X0))). + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=1))). dom(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2767,15 +2767,15 @@ dom(X0,X1,X2) :- -> gecode_constraint_dom_140(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_134(Y0,Y1,Y2) - ; throw(gecode_argument_error(dom/3,arg=3,X2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_dom_128(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_126(Y0,Y1,Y2) - ; throw(gecode_argument_error(dom/3,arg=3,X2)))) - ; throw(gecode_argument_error(dom/3,arg=2,X1)))) - ; throw(gecode_argument_error(dom/3,arg=1,X0))). + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2786,15 +2786,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_208(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_211(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_212(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_215(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) - ; throw(gecode_argument_error(linear/5,arg=4,X3)))) - ; throw(gecode_argument_error(linear/5,arg=3,X2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2802,15 +2802,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_184(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_187(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_linear_188(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_191(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) - ; throw(gecode_argument_error(linear/5,arg=4,X3)))) - ; throw(gecode_argument_error(linear/5,arg=3,X2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2818,19 +2818,19 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_202(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_206(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) - ; throw(gecode_argument_error(linear/5,arg=4,X3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_linear_194(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_198(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(linear/5,arg=5,X4)))) - ; throw(gecode_argument_error(linear/5,arg=4,X3))) - ; throw(gecode_argument_error(linear/5,arg=3,X2)))) - ; throw(gecode_argument_error(linear/5,arg=2,X1))))) - ; throw(gecode_argument_error(linear/5,arg=1,X0))). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2842,12 +2842,12 @@ nooverlap(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_nooverlap_240(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_nooverlap_243(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(nooverlap/6,arg=6,X5)))) - ; throw(gecode_argument_error(nooverlap/6,arg=5,X4))) - ; throw(gecode_argument_error(nooverlap/6,arg=4,X3))) - ; throw(gecode_argument_error(nooverlap/6,arg=3,X2))) - ; throw(gecode_argument_error(nooverlap/6,arg=2,X1))) - ; throw(gecode_argument_error(nooverlap/6,arg=1,X0))). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1))). element(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2857,36 +2857,36 @@ element(X0,X1,X2,X3,X4,X5) :- -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_183(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(element/6,arg=6,X5))) - ; throw(gecode_argument_error(element/6,arg=5,X4))) - ; throw(gecode_argument_error(element/6,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_181(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(element/6,arg=6,X5))) - ; throw(gecode_argument_error(element/6,arg=5,X4))) - ; throw(gecode_argument_error(element/6,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_179(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(element/6,arg=6,X5))) - ; throw(gecode_argument_error(element/6,arg=5,X4))) - ; throw(gecode_argument_error(element/6,arg=4,X3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_177(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error(element/6,arg=6,X5))) - ; throw(gecode_argument_error(element/6,arg=5,X4))) - ; throw(gecode_argument_error(element/6,arg=4,X3))) - ; throw(gecode_argument_error(element/6,arg=3,X2)))))) - ; throw(gecode_argument_error(element/6,arg=2,X1))) - ; throw(gecode_argument_error(element/6,arg=1,X0))). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=1))). rel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2896,8 +2896,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_290(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_286(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3)))) - ; throw(gecode_argument_error(rel/4,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2908,18 +2908,18 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_292(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_297(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3)))))) - ; throw(gecode_argument_error(rel/4,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_324(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_322(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3))) - ; throw(gecode_argument_error(rel/4,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2930,8 +2930,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_302(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_305(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3)))))) - ; throw(gecode_argument_error(rel/4,arg=3,X2))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2940,34 +2940,34 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_316(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_318(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_319(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3))) - ; throw(gecode_argument_error(rel/4,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_325(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_330(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_332(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3)))) - ; throw(gecode_argument_error(rel/4,arg=3,X2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_rel_278(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_276(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error(rel/4,arg=4,X3)))) - ; throw(gecode_argument_error(rel/4,arg=3,X2))) - ; throw(gecode_argument_error(rel/4,arg=2,X1))))))))) - ; throw(gecode_argument_error(rel/4,arg=1,X0))). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=1))). min(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2976,11 +2976,11 @@ min(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_min_233(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error(min/5,arg=5,X4))) - ; throw(gecode_argument_error(min/5,arg=4,X3))) - ; throw(gecode_argument_error(min/5,arg=3,X2))) - ; throw(gecode_argument_error(min/5,arg=2,X1))) - ; throw(gecode_argument_error(min/5,arg=1,X0))). + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2989,7 +2989,7 @@ count(X0,X1,X2) :- -> gecode_constraint_count_68(Y0,Y1,Y2) ; (is_IntSetArgs(X2,Y2) -> gecode_constraint_count_58(Y0,Y1,Y2) - ; throw(gecode_argument_error(count/3,arg=3,X2)))) - ; throw(gecode_argument_error(count/3,arg=2,X1))) - ; throw(gecode_argument_error(count/3,arg=1,X0))). + ; throw(gecode_argument_error(count(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=1))). diff --git a/library/gecode/4.0.0/gecode_yap_auto_generated.yap b/library/gecode/4.0.0/gecode_yap_auto_generated.yap index be38fc38f..4f1fc63c4 100644 --- a/library/gecode/4.0.0/gecode_yap_auto_generated.yap +++ b/library/gecode/4.0.0/gecode_yap_auto_generated.yap @@ -302,22 +302,22 @@ unary(X0,X1,X2,X3,X4,X5) :- -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_358(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_BoolVarArgs(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_unary_354(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1))). nvalues(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -326,27 +326,27 @@ nvalues(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_256(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_258(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_252(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_nvalues_254(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -354,22 +354,22 @@ max(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_max_219(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_max_218(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_max_222(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -379,31 +379,31 @@ dom(X0,X1,X2,X3,X4,X5) :- -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_dom_142(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_BoolVar(X5,Y5) -> gecode_constraint_dom_150(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1))). convex(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_convex_52(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1,X2),arg=1))). nooverlap(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -412,40 +412,40 @@ nooverlap(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_nooverlap_243(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1))). assign(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_BoolVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_4(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_3(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_5(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntAssign(X2,Y2) -> gecode_constraint_assign_7(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_6(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetAssign(X2,Y2) -> gecode_constraint_assign_8(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=2)))))))) + ; throw(gecode_argument_error(assign(X0,X1,X2),arg=1))). element(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -455,28 +455,28 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_159(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_element_163(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_element_153(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_151(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_158(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_element_166(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -485,35 +485,35 @@ element(X0,X1,X2,X3) :- -> gecode_constraint_element_175(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_element_167(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3),arg=1))). sequence(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> gecode_constraint_sequence_339(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1),arg=1))). notMax(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMax_249(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMax(X0,X1,X2),arg=1))). unary(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_unary_351(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(unary(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -521,16 +521,16 @@ circuit(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_circuit_46(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_circuit_37(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3),arg=1))). dom(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -541,27 +541,27 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_141(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_140(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_Reify(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_144(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_Reify(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_136(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_dom_132(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) @@ -569,15 +569,15 @@ dom(X0,X1,X2,X3,X4) :- -> gecode_constraint_dom_149(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_dom_148(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntSet(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_dom_146(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1))). channel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -585,28 +585,28 @@ channel(X0,X1,X2,X3) :- -> (is_BoolVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_33(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_27(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_channel_23(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_channel_21(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=2)))))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -620,14 +620,14 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :- -> gecode_constraint_nooverlap_245(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) ; (is_IntConLevel(X7,Y7) -> gecode_constraint_nooverlap_248(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -638,11 +638,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_element_161(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -650,11 +650,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_BoolVar(X6,Y6) -> gecode_constraint_element_155(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntSetArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -662,11 +662,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_157(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -674,11 +674,11 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_SetVar(X6,Y6) -> gecode_constraint_element_165(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -688,26 +688,26 @@ element(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_element_173(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_BoolVar(X6,Y6) -> gecode_constraint_element_171(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1))). max(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_217(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_max_221(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(max(X0,X1,X2),arg=1))). unshare(X0,X1) :- (is_Space_or_Clause(X0,Y0) @@ -715,8 +715,8 @@ unshare(X0,X1) :- -> gecode_constraint_unshare_363(Y0,Y1) ; (is_BoolVarArgs(X1,Y1) -> gecode_constraint_unshare_361(Y0,Y1) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1),arg=1))). path(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -725,19 +725,19 @@ path(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_path_269(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_path_268(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1))). mult(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -745,10 +745,10 @@ mult(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mult_239(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3),arg=1))). clause(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -758,16 +758,16 @@ clause(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_50(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_clause_48(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1))). precede(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -776,18 +776,18 @@ precede(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_precede_274(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1))). distinct(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_distinct_121(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1),arg=1))). member(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -797,18 +797,18 @@ member(X0,X1,X2,X3) :- -> gecode_constraint_member_229(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_228(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_Reify(X3,Y3) -> gecode_constraint_member_225(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_member_224(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3),arg=1))). mod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -817,38 +817,38 @@ mod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mod_238(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1))). cardinality(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_cardinality_18(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2),arg=1))). atmostOne(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_atmostOne_9(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(atmostOne(X0,X1,X2),arg=1))). channelSorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_channelSorted_34(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(channelSorted(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -858,25 +858,25 @@ linear(X0,X1,X2,X3) :- -> gecode_constraint_linear_209(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_213(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_linear_185(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_linear_189(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3),arg=1))). circuit(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> gecode_constraint_circuit_43(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1),arg=1))). rel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -887,69 +887,69 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_291(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_290(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_BoolVar(X3,Y3) -> (is_Reify(X4,Y4) -> gecode_constraint_rel_287(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_286(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_rel_283(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_rel_281(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_300(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_296(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_294(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_324(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntSet(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_rel_322(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_308(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_310(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_304(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -957,47 +957,47 @@ rel(X0,X1,X2,X3,X4) :- -> gecode_constraint_rel_313(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_312(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> gecode_constraint_rel_317(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_316(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_321(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_332(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_SetVar(X3,Y3) -> (is_BoolVar(X4,Y4) -> gecode_constraint_rel_334(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_280(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_rel_278(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1))). min(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1005,22 +1005,22 @@ min(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_min_233(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_min_232(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_BoolVar(X3,Y3) -> gecode_constraint_min_236(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3),arg=1))). cardinality(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1028,10 +1028,10 @@ cardinality(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_cardinality_19(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1))). count(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1041,29 +1041,29 @@ count(X0,X1,X2,X3) :- -> gecode_constraint_count_70(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_67(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_count_61(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_count_60(Y0,Y1,Y2,Y3) ; (is_IntArgs(X3,Y3) -> gecode_constraint_count_57(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=3))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3),arg=1))). sqrt(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqrt_347(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1076,19 +1076,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_118(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_116(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1096,21 +1096,21 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_114(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_112(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1120,19 +1120,19 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_110(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_108(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) @@ -1140,23 +1140,23 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_106(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_cumulatives_104(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). nvalues(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1166,18 +1166,18 @@ nvalues(X0,X1,X2,X3) :- -> gecode_constraint_nvalues_255(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_257(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_nvalues_251(Y0,Y1,Y2,Y3) ; (is_IntVar(X3,Y3) -> gecode_constraint_nvalues_253(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(nvalues(X0,X1,X2,X3),arg=1))). binpacking(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1185,10 +1185,10 @@ binpacking(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_binpacking_10(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1))). linear(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1199,35 +1199,35 @@ linear(X0,X1,X2,X3,X4,X5,X6) :- -> (is_Reify(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_204(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_Reify(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_208(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_Reify(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_196(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) ; (is_IntVar(X4,Y4) -> (is_Reify(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_linear_200(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1))). abs(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1235,17 +1235,17 @@ abs(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_abs_2(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2,X3),arg=1))). convex(X0,X1) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> gecode_constraint_convex_51(Y0,Y1) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(convex(X0,X1),arg=2))) + ; throw(gecode_argument_error(convex(X0,X1),arg=1))). div(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1253,10 +1253,10 @@ div(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_div_123(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3),arg=1))). rel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1266,16 +1266,16 @@ rel(X0,X1,X2,X3,X4,X5) :- -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_314(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_318(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntSet(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_SetVar(X3,Y3) @@ -1284,38 +1284,38 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_301(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_302(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_292(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_288(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) ; (is_BoolOpType(X2,Y2) -> (is_BoolVar(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_284(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_BoolVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_rel_282(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetOpType(X2,Y2) -> (is_IntSet(X3,Y3) @@ -1324,20 +1324,20 @@ rel(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_rel_327(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_328(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_SetVar(X3,Y3) -> (is_SetRelType(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_rel_329(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_SetVar(X5,Y5) -> gecode_constraint_rel_330(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1))). weights(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1346,11 +1346,11 @@ weights(X0,X1,X2,X3,X4) :- -> (is_SetVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_weights_365(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(weights(X0,X1,X2,X3,X4),arg=1))). max(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1359,11 +1359,11 @@ max(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_max_220(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -1376,15 +1376,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_IntVar(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_path_264(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). unary(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1392,22 +1392,22 @@ unary(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> gecode_constraint_unary_359(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> gecode_constraint_unary_355(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> gecode_constraint_unary_349(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_unary_352(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3),arg=1))). sorted(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1416,11 +1416,11 @@ sorted(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_sorted_342(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1429,21 +1429,21 @@ circuit(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_41(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_circuit_38(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_circuit_35(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1))). dom(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1455,45 +1455,45 @@ dom(X0,X1,X2,X3) :- -> gecode_constraint_dom_143(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_138(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))) ; (is_IntSet(X2,Y2) -> (is_Reify(X3,Y3) -> gecode_constraint_dom_135(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_134(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_131(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_130(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) ; (is_IntSet(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_dom_128(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_SetRelType(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_dom_147(Y0,Y1,Y2,Y3) ; (is_IntSet(X3,Y3) -> gecode_constraint_dom_145(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(dom(X0,X1,X2,X3),arg=1))). abs(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_abs_1(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(abs(X0,X1,X2),arg=1))). channel(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1502,32 +1502,32 @@ channel(X0,X1,X2,X3,X4) :- -> (is_IntVarArgs(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_channel_29(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_channel_24(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1))). rel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_305(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> gecode_constraint_rel_297(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(rel(X0,X1,X2),arg=1))). path(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1535,10 +1535,10 @@ path(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_path_267(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3),arg=1))). branch(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1546,22 +1546,22 @@ branch(X0,X1,X2,X3) :- -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_14(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVarBranch(X2,Y2) -> (is_IntValBranch(X3,Y3) -> gecode_constraint_branch_13(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarBranch(X2,Y2) -> (is_SetValBranch(X3,Y3) -> gecode_constraint_branch_15(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2,X3),arg=1))). mult(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1570,11 +1570,11 @@ mult(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_mult_240(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1))). circuit(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1584,24 +1584,24 @@ circuit(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_42(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVarArgs(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_circuit_39(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_circuit_36(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1))). clause(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1612,11 +1612,11 @@ clause(X0,X1,X2,X3,X4) :- -> gecode_constraint_clause_49(Y0,Y1,Y2,Y3,Y4) ; (is_BoolVar(X4,Y4) -> gecode_constraint_clause_47(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1))). precede(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1624,20 +1624,20 @@ precede(X0,X1,X2,X3) :- -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_276(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_precede_273(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_precede_272(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2,X3),arg=1))). channel(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1647,12 +1647,12 @@ channel(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_channel_30(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1665,10 +1665,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_87(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_90(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1677,19 +1677,19 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_83(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_86(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_80(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -1699,10 +1699,10 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_99(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_102(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -1711,34 +1711,34 @@ cumulative(X0,X1,X2,X3,X4,X5,X6) :- -> gecode_constraint_cumulative_95(Y0,Y1,Y2,Y3,Y4,Y5,Y6) ; (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_98(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_cumulative_92(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1))). distinct(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_distinct_122(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_distinct_119(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(distinct(X0,X1,X2),arg=1))). member(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1747,19 +1747,19 @@ member(X0,X1,X2,X3,X4) :- -> (is_Reify(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_230(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> (is_Reify(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_member_226(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2,X3,X4),arg=1))). mod(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -1767,19 +1767,19 @@ mod(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_mod_237(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(mod(X0,X1,X2,X3),arg=1))). sqr(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_sqr_345(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2),arg=1))). sequence(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1790,11 +1790,11 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_338(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) @@ -1802,13 +1802,13 @@ sequence(X0,X1,X2,X3,X4,X5,X6) :- -> (is_int(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_sequence_336(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1))). path(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -1819,27 +1819,27 @@ path(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_265(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_path_262(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) ; (is_IntVarArgs(X5,Y5) -> (is_IntVar(X6,Y6) -> gecode_constraint_path_259(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1))). divmod(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -1849,63 +1849,63 @@ divmod(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_divmod_126(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1))). sorted(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_sorted_343(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2),arg=1))). circuit(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_int(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> gecode_constraint_circuit_45(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_circuit_44(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(circuit(X0,X1,X2),arg=1))). channel(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_channel_32(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_28(Y0,Y1,Y2) ; (is_IntVarArgs(X2,Y2) -> gecode_constraint_channel_26(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_22(Y0,Y1,Y2) ; (is_SetVar(X2,Y2) -> gecode_constraint_channel_25(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3)))) ; (is_BoolVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_channel_20(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) ; (is_SetVarArgs(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> gecode_constraint_channel_31(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=2))))))) + ; throw(gecode_argument_error(channel(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -1916,51 +1916,51 @@ count(X0,X1,X2,X3,X4) :- -> gecode_constraint_count_53(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_55(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_int(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_71(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_73(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_63(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_65(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_62(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4)))) ; (is_IntSetArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_58(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_count_68(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_count_75(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_count_77(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1))). cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -1972,34 +1972,34 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_117(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_115(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_113(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2008,36 +2008,36 @@ cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_109(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_107(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntVarArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_105(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) ; (is_IntArgs(X5,Y5) -> (is_IntArgs(X6,Y6) -> (is_bool(X7,Y7) -> gecode_constraint_cumulatives_103(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). binpacking(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2046,11 +2046,11 @@ binpacking(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_binpacking_11(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1))). linear(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2060,32 +2060,32 @@ linear(X0,X1,X2,X3,X4,X5) :- -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_212(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_216(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_188(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_192(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2094,15 +2094,15 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_203(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_202(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_Reify(X5,Y5) -> gecode_constraint_linear_207(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_206(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) @@ -2110,18 +2110,18 @@ linear(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_linear_195(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_194(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) ; (is_IntVar(X4,Y4) -> (is_Reify(X5,Y5) -> gecode_constraint_linear_199(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_linear_198(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2132,23 +2132,23 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVarArgs(X5,Y5) -> (is_IntVarArgs(X6,Y6) -> gecode_constraint_nooverlap_247(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_nooverlap_242(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1))). div(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2157,11 +2157,11 @@ div(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_div_124(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1))). sqr(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2169,10 +2169,10 @@ sqr(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqr_346(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqr(X0,X1,X2,X3),arg=1))). path(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2184,15 +2184,15 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_266(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_IntVarArgs(X6,Y6) -> (is_IntVar(X7,Y7) -> gecode_constraint_path_263(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) @@ -2200,14 +2200,14 @@ path(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_path_260(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). unary(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2218,9 +2218,9 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_357(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_360(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2228,17 +2228,17 @@ unary(X0,X1,X2,X3,X4) :- -> gecode_constraint_unary_353(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_356(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_BoolVarArgs(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_unary_350(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1))). sorted(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2248,10 +2248,10 @@ sorted(X0,X1,X2,X3) :- -> gecode_constraint_sorted_341(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_sorted_344(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sorted(X0,X1,X2,X3),arg=1))). element(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2263,12 +2263,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_162(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2277,12 +2277,12 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) @@ -2291,18 +2291,18 @@ element(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_IntVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_174(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) ; (is_BoolVar(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_element_172(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). element(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2311,78 +2311,78 @@ element(X0,X1,X2,X3,X4) :- -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_160(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_164(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_154(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_152(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_183(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_181(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_179(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> gecode_constraint_element_177(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3)))))) ; (is_IntArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> (is_int(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_170(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_176(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) ; (is_BoolVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_element_168(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1))). sequence(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_SetVar(X2,Y2) -> gecode_constraint_sequence_340(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(sequence(X0,X1,X2),arg=1))). circuit(X0,X1,X2,X3,X4,X5,X6) :- (is_Space_or_Clause(X0,Y0) @@ -2393,26 +2393,26 @@ circuit(X0,X1,X2,X3,X4,X5,X6) :- -> (is_IntVar(X5,Y5) -> (is_IntConLevel(X6,Y6) -> gecode_constraint_circuit_40(Y0,Y1,Y2,Y3,Y4,Y5,Y6) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))) + ; throw(gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1))). precede(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_275(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) ; (is_IntVarArgs(X1,Y1) -> (is_IntArgs(X2,Y2) -> gecode_constraint_precede_271(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(precede(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2422,54 +2422,54 @@ cumulative(X0,X1,X2,X3,X4,X5) :- -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_89(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_85(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_79(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_82(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_101(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) -> (is_IntArgs(X5,Y5) -> gecode_constraint_cumulative_97(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) ; (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> (is_BoolVarArgs(X5,Y5) -> gecode_constraint_cumulative_91(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_cumulative_94(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1))). distinct(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2477,23 +2477,23 @@ distinct(X0,X1,X2,X3) :- -> (is_IntVarArgs(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_distinct_120(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(distinct(X0,X1,X2,X3),arg=1))). min(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_231(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_min_235(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(min(X0,X1,X2),arg=1))). sqrt(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2501,10 +2501,10 @@ sqrt(X0,X1,X2,X3) :- -> (is_IntVar(X2,Y2) -> (is_IntConLevel(X3,Y3) -> gecode_constraint_sqrt_348(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))) + ; throw(gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1))). sequence(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2514,35 +2514,35 @@ sequence(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_337(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntSet(X2,Y2) -> (is_int(X3,Y3) -> (is_int(X4,Y4) -> (is_int(X5,Y5) -> gecode_constraint_sequence_335(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1))). unshare(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_364(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntConLevel(X2,Y2) -> gecode_constraint_unshare_362(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(unshare(X0,X1,X2),arg=1))). path(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2552,22 +2552,22 @@ path(X0,X1,X2,X3,X4,X5) :- -> (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_path_270(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> (is_IntVar(X5,Y5) -> gecode_constraint_path_261(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))) + ; throw(gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1))). divmod(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2576,11 +2576,11 @@ divmod(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntVar(X4,Y4) -> gecode_constraint_divmod_125(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- (is_Space_or_Clause(X0,Y0) @@ -2593,15 +2593,15 @@ nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :- -> (is_BoolVarArgs(X7,Y7) -> (is_IntConLevel(X8,Y8) -> gecode_constraint_nooverlap_246(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1))). cumulative(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2610,32 +2610,32 @@ cumulative(X0,X1,X2,X3,X4) :- -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_81(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntArgs(X3,Y3) -> (is_IntArgs(X4,Y4) -> gecode_constraint_cumulative_93(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1))). member(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVarArgs(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_member_227(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_BoolVar(X2,Y2) -> gecode_constraint_member_223(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(member(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(member(X0,X1,X2),arg=1))). count(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2645,61 +2645,61 @@ count(X0,X1,X2,X3,X4,X5) :- -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_72(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_74(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVar(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_76(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_78(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSet(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_64(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_66(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_54(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) ; (is_IntVar(X4,Y4) -> (is_IntConLevel(X5,Y5) -> gecode_constraint_count_56(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1))). notMin(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_SetVar(X1,Y1) -> (is_IntVar(X2,Y2) -> gecode_constraint_notMin_250(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(notMin(X0,X1,X2),arg=1))). cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- (is_Space_or_Clause(X0,Y0) @@ -2711,11 +2711,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_88(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2723,12 +2723,12 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_84(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) ; (is_IntVar(X1,Y1) -> (is_TaskTypeArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) @@ -2737,11 +2737,11 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_100(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_IntVarArgs(X3,Y3) -> (is_IntVarArgs(X4,Y4) @@ -2749,31 +2749,31 @@ cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :- -> (is_BoolVarArgs(X6,Y6) -> (is_IntConLevel(X7,Y7) -> gecode_constraint_cumulative_96(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))) + ; throw(gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1))). branch(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) -> (is_IntVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_16(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_BoolVar(X1,Y1) -> (is_IntValBranch(X2,Y2) -> gecode_constraint_branch_12(Y0,Y1,Y2) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) ; (is_SetVar(X1,Y1) -> (is_SetValBranch(X2,Y2) -> gecode_constraint_branch_17(Y0,Y1,Y2) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=3))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=2))))) + ; throw(gecode_argument_error(branch(X0,X1,X2),arg=1))). dom(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -2782,15 +2782,15 @@ dom(X0,X1,X2) :- -> gecode_constraint_dom_137(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_133(Y0,Y1,Y2) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_int(X2,Y2) -> gecode_constraint_dom_129(Y0,Y1,Y2) ; (is_IntSet(X2,Y2) -> gecode_constraint_dom_127(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=2)))) + ; throw(gecode_argument_error(dom(X0,X1,X2),arg=1))). linear(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2801,15 +2801,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_211(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_210(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> gecode_constraint_linear_215(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_214(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2817,15 +2817,15 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_187(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_186(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) ; (is_IntVar(X3,Y3) -> (is_Reify(X4,Y4) -> gecode_constraint_linear_191(Y0,Y1,Y2,Y3,Y4) ; (is_IntConLevel(X4,Y4) -> gecode_constraint_linear_190(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))) ; (is_IntArgs(X1,Y1) -> (is_IntVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) @@ -2833,19 +2833,19 @@ linear(X0,X1,X2,X3,X4) :- -> gecode_constraint_linear_201(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_205(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) ; (is_BoolVarArgs(X2,Y2) -> (is_IntRelType(X3,Y3) -> (is_int(X4,Y4) -> gecode_constraint_linear_193(Y0,Y1,Y2,Y3,Y4) ; (is_IntVar(X4,Y4) -> gecode_constraint_linear_197(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))) + ; throw(gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1))). nooverlap(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2857,12 +2857,12 @@ nooverlap(X0,X1,X2,X3,X4,X5) :- -> gecode_constraint_nooverlap_241(Y0,Y1,Y2,Y3,Y4,Y5) ; (is_IntConLevel(X5,Y5) -> gecode_constraint_nooverlap_244(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1))). element(X0,X1,X2,X3,X4,X5) :- (is_Space_or_Clause(X0,Y0) @@ -2872,36 +2872,36 @@ element(X0,X1,X2,X3,X4,X5) :- -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_184(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_182(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntSetArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_180(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) ; (is_IntArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> (is_SetVar(X4,Y4) -> (is_IntSet(X5,Y5) -> gecode_constraint_element_178(Y0,Y1,Y2,Y3,Y4,Y5) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=6))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=5))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=4))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=3)))))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=2))) + ; throw(gecode_argument_error(element(X0,X1,X2,X3,X4,X5),arg=1))). rel(X0,X1,X2,X3) :- (is_Space_or_Clause(X0,Y0) @@ -2911,8 +2911,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_289(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_285(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_BoolVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2923,18 +2923,18 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_293(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_298(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_SetOpType(X1,Y1) -> (is_SetVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_325(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_IntVarArgs(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_323(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_IntVarArgs(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2945,8 +2945,8 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_303(Y0,Y1,Y2,Y3) ; (is_IntConLevel(X3,Y3) -> gecode_constraint_rel_306(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))))) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) ; (is_IntVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_int(X3,Y3) @@ -2955,34 +2955,34 @@ rel(X0,X1,X2,X3) :- -> gecode_constraint_rel_315(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_319(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))) ; (is_SetRelType(X2,Y2) -> (is_SetVar(X3,Y3) -> gecode_constraint_rel_320(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_SetVar(X1,Y1) -> (is_IntRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_326(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error)) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4))) ; (is_SetRelType(X2,Y2) -> (is_IntVar(X3,Y3) -> gecode_constraint_rel_331(Y0,Y1,Y2,Y3) ; (is_SetVar(X3,Y3) -> gecode_constraint_rel_333(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))) ; (is_BoolOpType(X1,Y1) -> (is_BoolVarArgs(X2,Y2) -> (is_int(X3,Y3) -> gecode_constraint_rel_279(Y0,Y1,Y2,Y3) ; (is_BoolVar(X3,Y3) -> gecode_constraint_rel_277(Y0,Y1,Y2,Y3) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)))))))) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=3))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))) + ; throw(gecode_argument_error(rel(X0,X1,X2,X3),arg=1))). min(X0,X1,X2,X3,X4) :- (is_Space_or_Clause(X0,Y0) @@ -2991,11 +2991,11 @@ min(X0,X1,X2,X3,X4) :- -> (is_IntVar(X3,Y3) -> (is_IntConLevel(X4,Y4) -> gecode_constraint_min_234(Y0,Y1,Y2,Y3,Y4) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))) + ; throw(gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1))). count(X0,X1,X2) :- (is_Space_or_Clause(X0,Y0) @@ -3004,7 +3004,7 @@ count(X0,X1,X2) :- -> gecode_constraint_count_69(Y0,Y1,Y2) ; (is_IntSetArgs(X2,Y2) -> gecode_constraint_count_59(Y0,Y1,Y2) - ; throw(gecode_argument_error))) - ; throw(gecode_argument_error)) - ; throw(gecode_argument_error)). + ; throw(gecode_argument_error(count(X0,X1,X2),arg=3)))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=2))) + ; throw(gecode_argument_error(count(X0,X1,X2),arg=1))). diff --git a/library/gecode/dev/code-generator.py b/library/gecode/dev/code-generator.py index d7d341f53..0c6a248c5 100644 --- a/library/gecode/dev/code-generator.py +++ b/library/gecode/dev/code-generator.py @@ -326,9 +326,9 @@ class DTree(object): def _generate_dispatch(self, i, user_vars, lib_vars): if i == len(self.subtrees): - return PrologLiteral("throw(gecode_argument_error(%s/%d,arg=%d,%s))" \ - % (self.cluster.name, self.cluster.arity, - self.index+1, user_vars[self.index])) + return PrologLiteral("throw(gecode_argument_error(%s(%s),arg=%d))" \ + % (self.cluster.name, ",".join(user_vars), + self.index+1)) typ, dtree = self.subtrees[i] idx = self.index X = user_vars[idx]