distributed config && float library
This commit is contained in:
parent
e84540b4f0
commit
e423fc28e5
1
packages/gecode/3.6.0/gecode-version.txt
vendored
Normal file
1
packages/gecode/3.6.0/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.6.0
|
2836
packages/gecode/3.6.0/gecode_yap_auto_generated.yap
vendored
Normal file
2836
packages/gecode/3.6.0/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
packages/gecode/3.6.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
31
packages/gecode/3.6.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4051
packages/gecode/3.6.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4051
packages/gecode/3.6.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
662
packages/gecode/3.6.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
662
packages/gecode/3.6.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,662 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_333", gecode_constraint_unary_333, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_329", gecode_constraint_unary_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_321", gecode_constraint_sqr_321, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_226", gecode_constraint_nooverlap_226, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_148", gecode_constraint_element_148, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_146", gecode_constraint_element_146, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_314", gecode_constraint_sequence_314, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_232", gecode_constraint_notMax_232, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_326", gecode_constraint_unary_326, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_228", gecode_constraint_nooverlap_228, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_231", gecode_constraint_nooverlap_231, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_150", gecode_constraint_element_150, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_208", gecode_constraint_max_208, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_212", gecode_constraint_max_212, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_338", gecode_constraint_unshare_338, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_336", gecode_constraint_unshare_336, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_244", gecode_constraint_path_244, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_243", gecode_constraint_path_243, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_222", gecode_constraint_mult_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_249", gecode_constraint_precede_249, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_116", gecode_constraint_distinct_116, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_221", gecode_constraint_mod_221, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_33", gecode_constraint_channelSorted_33, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_178", gecode_constraint_linear_178, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_182", gecode_constraint_linear_182, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_264", gecode_constraint_rel_264, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_267", gecode_constraint_rel_267, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_260", gecode_constraint_rel_260, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_263", gecode_constraint_rel_263, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_258", gecode_constraint_rel_258, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_256", gecode_constraint_rel_256, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_275", gecode_constraint_rel_275, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_271", gecode_constraint_rel_271, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_269", gecode_constraint_rel_269, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_255", gecode_constraint_rel_255, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_253", gecode_constraint_rel_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_216", gecode_constraint_min_216, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_215", gecode_constraint_min_215, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_219", gecode_constraint_min_219, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_322", gecode_constraint_sqrt_322, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_101", gecode_constraint_cumulatives_101, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_99", gecode_constraint_cumulatives_99, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_50", gecode_constraint_convex_50, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_118", gecode_constraint_div_118, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_276", gecode_constraint_rel_276, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_265", gecode_constraint_rel_265, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_261", gecode_constraint_rel_261, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_259", gecode_constraint_rel_259, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_257", gecode_constraint_rel_257, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_340", gecode_constraint_weights_340, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_211", gecode_constraint_max_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_239", gecode_constraint_path_239, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_334", gecode_constraint_unary_334, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_330", gecode_constraint_unary_330, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_324", gecode_constraint_unary_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_327", gecode_constraint_unary_327, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_317", gecode_constraint_sorted_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_34", gecode_constraint_circuit_34, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_126", gecode_constraint_dom_126, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_125", gecode_constraint_dom_125, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_123", gecode_constraint_dom_123, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_272", gecode_constraint_rel_272, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_242", gecode_constraint_path_242, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_223", gecode_constraint_mult_223, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_46", gecode_constraint_clause_46, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_251", gecode_constraint_precede_251, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_248", gecode_constraint_precede_248, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_247", gecode_constraint_precede_247, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_78", gecode_constraint_cumulative_78, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_75", gecode_constraint_cumulative_75, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_117", gecode_constraint_distinct_117, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_114", gecode_constraint_distinct_114, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_220", gecode_constraint_mod_220, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_320", gecode_constraint_sqr_320, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_313", gecode_constraint_sequence_313, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_311", gecode_constraint_sequence_311, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_240", gecode_constraint_path_240, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_237", gecode_constraint_path_237, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_234", gecode_constraint_path_234, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_121", gecode_constraint_divmod_121, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_318", gecode_constraint_sorted_318, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_52", gecode_constraint_count_52, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_102", gecode_constraint_cumulatives_102, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_100", gecode_constraint_cumulatives_100, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_98", gecode_constraint_cumulatives_98, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_177", gecode_constraint_linear_177, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_181", gecode_constraint_linear_181, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_184", gecode_constraint_linear_184, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_230", gecode_constraint_nooverlap_230, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_225", gecode_constraint_nooverlap_225, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_119", gecode_constraint_div_119, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_210", gecode_constraint_max_210, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_209", gecode_constraint_max_209, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_213", gecode_constraint_max_213, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_241", gecode_constraint_path_241, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_238", gecode_constraint_path_238, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_235", gecode_constraint_path_235, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_332", gecode_constraint_unary_332, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_335", gecode_constraint_unary_335, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_328", gecode_constraint_unary_328, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_331", gecode_constraint_unary_331, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_325", gecode_constraint_unary_325, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_316", gecode_constraint_sorted_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_319", gecode_constraint_sorted_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_149", gecode_constraint_element_149, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_147", gecode_constraint_element_147, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_315", gecode_constraint_sequence_315, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_250", gecode_constraint_precede_250, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_246", gecode_constraint_precede_246, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_74", gecode_constraint_cumulative_74, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_77", gecode_constraint_cumulative_77, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_115", gecode_constraint_distinct_115, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_214", gecode_constraint_min_214, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_218", gecode_constraint_min_218, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_323", gecode_constraint_sqrt_323, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_312", gecode_constraint_sequence_312, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_310", gecode_constraint_sequence_310, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_339", gecode_constraint_unshare_339, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_337", gecode_constraint_unshare_337, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_245", gecode_constraint_path_245, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_236", gecode_constraint_path_236, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_120", gecode_constraint_divmod_120, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_229", gecode_constraint_nooverlap_229, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_76", gecode_constraint_cumulative_76, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_233", gecode_constraint_notMin_233, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_124", gecode_constraint_dom_124, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_122", gecode_constraint_dom_122, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_176", gecode_constraint_linear_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_179", gecode_constraint_linear_179, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_180", gecode_constraint_linear_180, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_183", gecode_constraint_linear_183, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_224", gecode_constraint_nooverlap_224, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_227", gecode_constraint_nooverlap_227, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_266", gecode_constraint_rel_266, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_262", gecode_constraint_rel_262, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_274", gecode_constraint_rel_274, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_270", gecode_constraint_rel_270, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_268", gecode_constraint_rel_268, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_273", gecode_constraint_rel_273, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_254", gecode_constraint_rel_254, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_252", gecode_constraint_rel_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_217", gecode_constraint_min_217, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 3);
|
1
packages/gecode/3.7.0/gecode-version.txt
vendored
Normal file
1
packages/gecode/3.7.0/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.7.0
|
2995
packages/gecode/3.7.0/gecode_yap_auto_generated.yap
vendored
Normal file
2995
packages/gecode/3.7.0/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
packages/gecode/3.7.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
31
packages/gecode/3.7.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4315
packages/gecode/3.7.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4315
packages/gecode/3.7.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
698
packages/gecode/3.7.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
698
packages/gecode/3.7.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,698 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_357", gecode_constraint_unary_357, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_353", gecode_constraint_unary_353, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_255", gecode_constraint_nvalues_255, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_257", gecode_constraint_nvalues_257, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_251", gecode_constraint_nvalues_251, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_253", gecode_constraint_nvalues_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_218", gecode_constraint_max_218, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_217", gecode_constraint_max_217, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_221", gecode_constraint_max_221, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_149", gecode_constraint_dom_149, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_242", gecode_constraint_nooverlap_242, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_150", gecode_constraint_element_150, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_338", gecode_constraint_sequence_338, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_248", gecode_constraint_notMax_248, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_350", gecode_constraint_unary_350, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_148", gecode_constraint_dom_148, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_147", gecode_constraint_dom_147, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_244", gecode_constraint_nooverlap_244, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_247", gecode_constraint_nooverlap_247, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_216", gecode_constraint_max_216, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_220", gecode_constraint_max_220, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_362", gecode_constraint_unshare_362, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_360", gecode_constraint_unshare_360, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_268", gecode_constraint_path_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_267", gecode_constraint_path_267, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_238", gecode_constraint_mult_238, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_273", gecode_constraint_precede_273, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_120", gecode_constraint_distinct_120, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_226", gecode_constraint_member_226, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_229", gecode_constraint_member_229, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_222", gecode_constraint_member_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_225", gecode_constraint_member_225, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_237", gecode_constraint_mod_237, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_33", gecode_constraint_channelSorted_33, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_210", gecode_constraint_linear_210, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_214", gecode_constraint_linear_214, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_323", gecode_constraint_rel_323, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_321", gecode_constraint_rel_321, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_310", gecode_constraint_rel_310, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_313", gecode_constraint_rel_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_314", gecode_constraint_rel_314, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_317", gecode_constraint_rel_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_320", gecode_constraint_rel_320, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_331", gecode_constraint_rel_331, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_333", gecode_constraint_rel_333, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_232", gecode_constraint_min_232, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_231", gecode_constraint_min_231, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_235", gecode_constraint_min_235, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_346", gecode_constraint_sqrt_346, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_117", gecode_constraint_cumulatives_117, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_115", gecode_constraint_cumulatives_115, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_254", gecode_constraint_nvalues_254, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_256", gecode_constraint_nvalues_256, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_250", gecode_constraint_nvalues_250, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_252", gecode_constraint_nvalues_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_50", gecode_constraint_convex_50, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_122", gecode_constraint_div_122, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_311", gecode_constraint_rel_311, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_315", gecode_constraint_rel_315, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_326", gecode_constraint_rel_326, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_327", gecode_constraint_rel_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_328", gecode_constraint_rel_328, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_329", gecode_constraint_rel_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_364", gecode_constraint_weights_364, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_219", gecode_constraint_max_219, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_263", gecode_constraint_path_263, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_358", gecode_constraint_unary_358, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_354", gecode_constraint_unary_354, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_348", gecode_constraint_unary_348, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_351", gecode_constraint_unary_351, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_341", gecode_constraint_sorted_341, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_34", gecode_constraint_circuit_34, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_146", gecode_constraint_dom_146, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_266", gecode_constraint_path_266, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_239", gecode_constraint_mult_239, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_46", gecode_constraint_clause_46, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_275", gecode_constraint_precede_275, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_272", gecode_constraint_precede_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_271", gecode_constraint_precede_271, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_98", gecode_constraint_cumulative_98, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_101", gecode_constraint_cumulative_101, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_121", gecode_constraint_distinct_121, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_118", gecode_constraint_distinct_118, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_227", gecode_constraint_member_227, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_223", gecode_constraint_member_223, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_236", gecode_constraint_mod_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_344", gecode_constraint_sqr_344, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_337", gecode_constraint_sequence_337, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_335", gecode_constraint_sequence_335, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_264", gecode_constraint_path_264, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_261", gecode_constraint_path_261, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_258", gecode_constraint_path_258, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_125", gecode_constraint_divmod_125, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_342", gecode_constraint_sorted_342, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_52", gecode_constraint_count_52, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_74", gecode_constraint_count_74, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_76", gecode_constraint_count_76, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_116", gecode_constraint_cumulatives_116, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_114", gecode_constraint_cumulatives_114, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_102", gecode_constraint_cumulatives_102, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_209", gecode_constraint_linear_209, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_213", gecode_constraint_linear_213, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_246", gecode_constraint_nooverlap_246, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_241", gecode_constraint_nooverlap_241, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_123", gecode_constraint_div_123, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_345", gecode_constraint_sqr_345, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_265", gecode_constraint_path_265, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_262", gecode_constraint_path_262, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_259", gecode_constraint_path_259, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_356", gecode_constraint_unary_356, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_359", gecode_constraint_unary_359, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_352", gecode_constraint_unary_352, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_355", gecode_constraint_unary_355, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_349", gecode_constraint_unary_349, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_340", gecode_constraint_sorted_340, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_343", gecode_constraint_sorted_343, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_182", gecode_constraint_element_182, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_180", gecode_constraint_element_180, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_178", gecode_constraint_element_178, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_176", gecode_constraint_element_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_339", gecode_constraint_sequence_339, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_274", gecode_constraint_precede_274, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_270", gecode_constraint_precede_270, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_78", gecode_constraint_cumulative_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_100", gecode_constraint_cumulative_100, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_119", gecode_constraint_distinct_119, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_230", gecode_constraint_min_230, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_234", gecode_constraint_min_234, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_347", gecode_constraint_sqrt_347, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_336", gecode_constraint_sequence_336, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_334", gecode_constraint_sequence_334, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_363", gecode_constraint_unshare_363, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_361", gecode_constraint_unshare_361, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_269", gecode_constraint_path_269, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_260", gecode_constraint_path_260, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_124", gecode_constraint_divmod_124, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_245", gecode_constraint_nooverlap_245, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_228", gecode_constraint_member_228, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_224", gecode_constraint_member_224, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_75", gecode_constraint_count_75, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_77", gecode_constraint_count_77, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_249", gecode_constraint_notMin_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_99", gecode_constraint_cumulative_99, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_126", gecode_constraint_dom_126, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_208", gecode_constraint_linear_208, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_211", gecode_constraint_linear_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_212", gecode_constraint_linear_212, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_215", gecode_constraint_linear_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_184", gecode_constraint_linear_184, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_240", gecode_constraint_nooverlap_240, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_243", gecode_constraint_nooverlap_243, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_183", gecode_constraint_element_183, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_181", gecode_constraint_element_181, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_179", gecode_constraint_element_179, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_177", gecode_constraint_element_177, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_324", gecode_constraint_rel_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_322", gecode_constraint_rel_322, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_312", gecode_constraint_rel_312, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_316", gecode_constraint_rel_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_318", gecode_constraint_rel_318, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_319", gecode_constraint_rel_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_325", gecode_constraint_rel_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_330", gecode_constraint_rel_330, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_332", gecode_constraint_rel_332, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_276", gecode_constraint_rel_276, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_233", gecode_constraint_min_233, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 3);
|
1
packages/gecode/3.7.1/gecode-version.txt
vendored
Normal file
1
packages/gecode/3.7.1/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.7.1
|
2995
packages/gecode/3.7.1/gecode_yap_auto_generated.yap
vendored
Normal file
2995
packages/gecode/3.7.1/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
packages/gecode/3.7.1/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
31
packages/gecode/3.7.1/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4315
packages/gecode/3.7.1/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4315
packages/gecode/3.7.1/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
698
packages/gecode/3.7.1/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
698
packages/gecode/3.7.1/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,698 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_357", gecode_constraint_unary_357, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_353", gecode_constraint_unary_353, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_255", gecode_constraint_nvalues_255, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_257", gecode_constraint_nvalues_257, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_251", gecode_constraint_nvalues_251, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_253", gecode_constraint_nvalues_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_218", gecode_constraint_max_218, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_217", gecode_constraint_max_217, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_221", gecode_constraint_max_221, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_149", gecode_constraint_dom_149, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_242", gecode_constraint_nooverlap_242, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_150", gecode_constraint_element_150, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_338", gecode_constraint_sequence_338, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_248", gecode_constraint_notMax_248, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_350", gecode_constraint_unary_350, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_148", gecode_constraint_dom_148, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_147", gecode_constraint_dom_147, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_244", gecode_constraint_nooverlap_244, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_247", gecode_constraint_nooverlap_247, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_216", gecode_constraint_max_216, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_220", gecode_constraint_max_220, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_362", gecode_constraint_unshare_362, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_360", gecode_constraint_unshare_360, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_268", gecode_constraint_path_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_267", gecode_constraint_path_267, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_238", gecode_constraint_mult_238, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_273", gecode_constraint_precede_273, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_120", gecode_constraint_distinct_120, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_226", gecode_constraint_member_226, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_229", gecode_constraint_member_229, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_222", gecode_constraint_member_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_225", gecode_constraint_member_225, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_237", gecode_constraint_mod_237, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_33", gecode_constraint_channelSorted_33, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_210", gecode_constraint_linear_210, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_214", gecode_constraint_linear_214, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_323", gecode_constraint_rel_323, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_321", gecode_constraint_rel_321, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_310", gecode_constraint_rel_310, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_313", gecode_constraint_rel_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_314", gecode_constraint_rel_314, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_317", gecode_constraint_rel_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_320", gecode_constraint_rel_320, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_331", gecode_constraint_rel_331, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_333", gecode_constraint_rel_333, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_232", gecode_constraint_min_232, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_231", gecode_constraint_min_231, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_235", gecode_constraint_min_235, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_346", gecode_constraint_sqrt_346, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_117", gecode_constraint_cumulatives_117, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_115", gecode_constraint_cumulatives_115, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_254", gecode_constraint_nvalues_254, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_256", gecode_constraint_nvalues_256, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_250", gecode_constraint_nvalues_250, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_252", gecode_constraint_nvalues_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_50", gecode_constraint_convex_50, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_122", gecode_constraint_div_122, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_311", gecode_constraint_rel_311, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_315", gecode_constraint_rel_315, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_326", gecode_constraint_rel_326, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_327", gecode_constraint_rel_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_328", gecode_constraint_rel_328, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_329", gecode_constraint_rel_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_364", gecode_constraint_weights_364, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_219", gecode_constraint_max_219, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_263", gecode_constraint_path_263, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_358", gecode_constraint_unary_358, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_354", gecode_constraint_unary_354, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_348", gecode_constraint_unary_348, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_351", gecode_constraint_unary_351, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_341", gecode_constraint_sorted_341, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_34", gecode_constraint_circuit_34, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_146", gecode_constraint_dom_146, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_266", gecode_constraint_path_266, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_239", gecode_constraint_mult_239, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_46", gecode_constraint_clause_46, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_275", gecode_constraint_precede_275, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_272", gecode_constraint_precede_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_271", gecode_constraint_precede_271, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_98", gecode_constraint_cumulative_98, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_101", gecode_constraint_cumulative_101, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_121", gecode_constraint_distinct_121, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_118", gecode_constraint_distinct_118, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_227", gecode_constraint_member_227, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_223", gecode_constraint_member_223, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_236", gecode_constraint_mod_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_344", gecode_constraint_sqr_344, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_337", gecode_constraint_sequence_337, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_335", gecode_constraint_sequence_335, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_264", gecode_constraint_path_264, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_261", gecode_constraint_path_261, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_258", gecode_constraint_path_258, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_125", gecode_constraint_divmod_125, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_342", gecode_constraint_sorted_342, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_52", gecode_constraint_count_52, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_74", gecode_constraint_count_74, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_76", gecode_constraint_count_76, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_116", gecode_constraint_cumulatives_116, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_114", gecode_constraint_cumulatives_114, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_102", gecode_constraint_cumulatives_102, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_209", gecode_constraint_linear_209, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_213", gecode_constraint_linear_213, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_246", gecode_constraint_nooverlap_246, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_241", gecode_constraint_nooverlap_241, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_123", gecode_constraint_div_123, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_345", gecode_constraint_sqr_345, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_265", gecode_constraint_path_265, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_262", gecode_constraint_path_262, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_259", gecode_constraint_path_259, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_356", gecode_constraint_unary_356, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_359", gecode_constraint_unary_359, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_352", gecode_constraint_unary_352, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_355", gecode_constraint_unary_355, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_349", gecode_constraint_unary_349, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_340", gecode_constraint_sorted_340, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_343", gecode_constraint_sorted_343, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_182", gecode_constraint_element_182, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_180", gecode_constraint_element_180, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_178", gecode_constraint_element_178, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_176", gecode_constraint_element_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_339", gecode_constraint_sequence_339, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_274", gecode_constraint_precede_274, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_270", gecode_constraint_precede_270, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_78", gecode_constraint_cumulative_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_100", gecode_constraint_cumulative_100, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_119", gecode_constraint_distinct_119, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_230", gecode_constraint_min_230, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_234", gecode_constraint_min_234, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_347", gecode_constraint_sqrt_347, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_336", gecode_constraint_sequence_336, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_334", gecode_constraint_sequence_334, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_363", gecode_constraint_unshare_363, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_361", gecode_constraint_unshare_361, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_269", gecode_constraint_path_269, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_260", gecode_constraint_path_260, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_124", gecode_constraint_divmod_124, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_245", gecode_constraint_nooverlap_245, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_228", gecode_constraint_member_228, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_224", gecode_constraint_member_224, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_75", gecode_constraint_count_75, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_77", gecode_constraint_count_77, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_249", gecode_constraint_notMin_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_99", gecode_constraint_cumulative_99, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_126", gecode_constraint_dom_126, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_208", gecode_constraint_linear_208, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_211", gecode_constraint_linear_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_212", gecode_constraint_linear_212, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_215", gecode_constraint_linear_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_184", gecode_constraint_linear_184, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_240", gecode_constraint_nooverlap_240, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_243", gecode_constraint_nooverlap_243, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_183", gecode_constraint_element_183, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_181", gecode_constraint_element_181, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_179", gecode_constraint_element_179, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_177", gecode_constraint_element_177, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_324", gecode_constraint_rel_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_322", gecode_constraint_rel_322, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_312", gecode_constraint_rel_312, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_316", gecode_constraint_rel_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_318", gecode_constraint_rel_318, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_319", gecode_constraint_rel_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_325", gecode_constraint_rel_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_330", gecode_constraint_rel_330, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_332", gecode_constraint_rel_332, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_276", gecode_constraint_rel_276, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_233", gecode_constraint_min_233, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 3);
|
1
packages/gecode/3.7.2/gecode-version.txt
vendored
Normal file
1
packages/gecode/3.7.2/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.7.2
|
2995
packages/gecode/3.7.2/gecode_yap_auto_generated.yap
vendored
Normal file
2995
packages/gecode/3.7.2/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
packages/gecode/3.7.2/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
31
packages/gecode/3.7.2/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4315
packages/gecode/3.7.2/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4315
packages/gecode/3.7.2/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
698
packages/gecode/3.7.2/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
698
packages/gecode/3.7.2/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,698 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_357", gecode_constraint_unary_357, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_353", gecode_constraint_unary_353, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_255", gecode_constraint_nvalues_255, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_257", gecode_constraint_nvalues_257, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_251", gecode_constraint_nvalues_251, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_253", gecode_constraint_nvalues_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_218", gecode_constraint_max_218, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_217", gecode_constraint_max_217, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_221", gecode_constraint_max_221, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_149", gecode_constraint_dom_149, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_242", gecode_constraint_nooverlap_242, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_150", gecode_constraint_element_150, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_338", gecode_constraint_sequence_338, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_248", gecode_constraint_notMax_248, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_350", gecode_constraint_unary_350, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_148", gecode_constraint_dom_148, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_147", gecode_constraint_dom_147, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_244", gecode_constraint_nooverlap_244, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_247", gecode_constraint_nooverlap_247, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_216", gecode_constraint_max_216, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_220", gecode_constraint_max_220, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_362", gecode_constraint_unshare_362, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_360", gecode_constraint_unshare_360, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_268", gecode_constraint_path_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_267", gecode_constraint_path_267, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_238", gecode_constraint_mult_238, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_273", gecode_constraint_precede_273, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_120", gecode_constraint_distinct_120, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_226", gecode_constraint_member_226, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_229", gecode_constraint_member_229, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_222", gecode_constraint_member_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_225", gecode_constraint_member_225, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_237", gecode_constraint_mod_237, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_33", gecode_constraint_channelSorted_33, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_210", gecode_constraint_linear_210, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_214", gecode_constraint_linear_214, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_323", gecode_constraint_rel_323, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_321", gecode_constraint_rel_321, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_310", gecode_constraint_rel_310, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_313", gecode_constraint_rel_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_314", gecode_constraint_rel_314, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_317", gecode_constraint_rel_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_320", gecode_constraint_rel_320, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_331", gecode_constraint_rel_331, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_333", gecode_constraint_rel_333, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_232", gecode_constraint_min_232, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_231", gecode_constraint_min_231, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_235", gecode_constraint_min_235, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_346", gecode_constraint_sqrt_346, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_117", gecode_constraint_cumulatives_117, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_115", gecode_constraint_cumulatives_115, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_254", gecode_constraint_nvalues_254, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_256", gecode_constraint_nvalues_256, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_250", gecode_constraint_nvalues_250, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_252", gecode_constraint_nvalues_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_50", gecode_constraint_convex_50, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_122", gecode_constraint_div_122, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_311", gecode_constraint_rel_311, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_315", gecode_constraint_rel_315, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_326", gecode_constraint_rel_326, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_327", gecode_constraint_rel_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_328", gecode_constraint_rel_328, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_329", gecode_constraint_rel_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_364", gecode_constraint_weights_364, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_219", gecode_constraint_max_219, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_263", gecode_constraint_path_263, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_358", gecode_constraint_unary_358, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_354", gecode_constraint_unary_354, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_348", gecode_constraint_unary_348, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_351", gecode_constraint_unary_351, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_341", gecode_constraint_sorted_341, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_34", gecode_constraint_circuit_34, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_146", gecode_constraint_dom_146, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_266", gecode_constraint_path_266, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_239", gecode_constraint_mult_239, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_46", gecode_constraint_clause_46, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_275", gecode_constraint_precede_275, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_272", gecode_constraint_precede_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_271", gecode_constraint_precede_271, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_98", gecode_constraint_cumulative_98, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_101", gecode_constraint_cumulative_101, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_121", gecode_constraint_distinct_121, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_118", gecode_constraint_distinct_118, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_227", gecode_constraint_member_227, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_223", gecode_constraint_member_223, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_236", gecode_constraint_mod_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_344", gecode_constraint_sqr_344, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_337", gecode_constraint_sequence_337, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_335", gecode_constraint_sequence_335, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_264", gecode_constraint_path_264, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_261", gecode_constraint_path_261, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_258", gecode_constraint_path_258, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_125", gecode_constraint_divmod_125, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_342", gecode_constraint_sorted_342, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_52", gecode_constraint_count_52, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_74", gecode_constraint_count_74, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_76", gecode_constraint_count_76, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_116", gecode_constraint_cumulatives_116, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_114", gecode_constraint_cumulatives_114, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_102", gecode_constraint_cumulatives_102, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_209", gecode_constraint_linear_209, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_213", gecode_constraint_linear_213, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_246", gecode_constraint_nooverlap_246, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_241", gecode_constraint_nooverlap_241, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_123", gecode_constraint_div_123, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_345", gecode_constraint_sqr_345, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_265", gecode_constraint_path_265, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_262", gecode_constraint_path_262, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_259", gecode_constraint_path_259, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_356", gecode_constraint_unary_356, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_359", gecode_constraint_unary_359, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_352", gecode_constraint_unary_352, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_355", gecode_constraint_unary_355, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_349", gecode_constraint_unary_349, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_340", gecode_constraint_sorted_340, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_343", gecode_constraint_sorted_343, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_182", gecode_constraint_element_182, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_180", gecode_constraint_element_180, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_178", gecode_constraint_element_178, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_176", gecode_constraint_element_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_339", gecode_constraint_sequence_339, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_274", gecode_constraint_precede_274, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_270", gecode_constraint_precede_270, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_78", gecode_constraint_cumulative_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_100", gecode_constraint_cumulative_100, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_119", gecode_constraint_distinct_119, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_230", gecode_constraint_min_230, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_234", gecode_constraint_min_234, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_347", gecode_constraint_sqrt_347, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_336", gecode_constraint_sequence_336, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_334", gecode_constraint_sequence_334, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_363", gecode_constraint_unshare_363, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_361", gecode_constraint_unshare_361, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_269", gecode_constraint_path_269, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_260", gecode_constraint_path_260, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_124", gecode_constraint_divmod_124, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_245", gecode_constraint_nooverlap_245, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_228", gecode_constraint_member_228, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_224", gecode_constraint_member_224, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_75", gecode_constraint_count_75, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_77", gecode_constraint_count_77, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_249", gecode_constraint_notMin_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_99", gecode_constraint_cumulative_99, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_126", gecode_constraint_dom_126, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_208", gecode_constraint_linear_208, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_211", gecode_constraint_linear_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_212", gecode_constraint_linear_212, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_215", gecode_constraint_linear_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_184", gecode_constraint_linear_184, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_240", gecode_constraint_nooverlap_240, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_243", gecode_constraint_nooverlap_243, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_183", gecode_constraint_element_183, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_181", gecode_constraint_element_181, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_179", gecode_constraint_element_179, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_177", gecode_constraint_element_177, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_324", gecode_constraint_rel_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_322", gecode_constraint_rel_322, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_312", gecode_constraint_rel_312, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_316", gecode_constraint_rel_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_318", gecode_constraint_rel_318, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_319", gecode_constraint_rel_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_325", gecode_constraint_rel_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_330", gecode_constraint_rel_330, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_332", gecode_constraint_rel_332, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_276", gecode_constraint_rel_276, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_233", gecode_constraint_min_233, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 3);
|
1
packages/gecode/3.7.3/gecode-version.txt
vendored
Normal file
1
packages/gecode/3.7.3/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.7.3
|
2995
packages/gecode/3.7.3/gecode_yap_auto_generated.yap
vendored
Normal file
2995
packages/gecode/3.7.3/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
packages/gecode/3.7.3/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
31
packages/gecode/3.7.3/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4315
packages/gecode/3.7.3/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4315
packages/gecode/3.7.3/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
698
packages/gecode/3.7.3/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
698
packages/gecode/3.7.3/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,698 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_357", gecode_constraint_unary_357, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_353", gecode_constraint_unary_353, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_255", gecode_constraint_nvalues_255, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_257", gecode_constraint_nvalues_257, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_251", gecode_constraint_nvalues_251, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_253", gecode_constraint_nvalues_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_218", gecode_constraint_max_218, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_217", gecode_constraint_max_217, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_221", gecode_constraint_max_221, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_149", gecode_constraint_dom_149, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_242", gecode_constraint_nooverlap_242, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_150", gecode_constraint_element_150, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_338", gecode_constraint_sequence_338, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_248", gecode_constraint_notMax_248, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_350", gecode_constraint_unary_350, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_148", gecode_constraint_dom_148, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_147", gecode_constraint_dom_147, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_244", gecode_constraint_nooverlap_244, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_247", gecode_constraint_nooverlap_247, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_216", gecode_constraint_max_216, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_220", gecode_constraint_max_220, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_362", gecode_constraint_unshare_362, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_360", gecode_constraint_unshare_360, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_268", gecode_constraint_path_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_267", gecode_constraint_path_267, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_238", gecode_constraint_mult_238, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_273", gecode_constraint_precede_273, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_120", gecode_constraint_distinct_120, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_226", gecode_constraint_member_226, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_229", gecode_constraint_member_229, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_222", gecode_constraint_member_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_225", gecode_constraint_member_225, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_237", gecode_constraint_mod_237, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_33", gecode_constraint_channelSorted_33, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_210", gecode_constraint_linear_210, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_214", gecode_constraint_linear_214, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_323", gecode_constraint_rel_323, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_321", gecode_constraint_rel_321, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_310", gecode_constraint_rel_310, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_313", gecode_constraint_rel_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_314", gecode_constraint_rel_314, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_317", gecode_constraint_rel_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_320", gecode_constraint_rel_320, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_331", gecode_constraint_rel_331, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_333", gecode_constraint_rel_333, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_232", gecode_constraint_min_232, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_231", gecode_constraint_min_231, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_235", gecode_constraint_min_235, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_346", gecode_constraint_sqrt_346, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_117", gecode_constraint_cumulatives_117, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_115", gecode_constraint_cumulatives_115, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_254", gecode_constraint_nvalues_254, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_256", gecode_constraint_nvalues_256, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_250", gecode_constraint_nvalues_250, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_252", gecode_constraint_nvalues_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_50", gecode_constraint_convex_50, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_122", gecode_constraint_div_122, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_311", gecode_constraint_rel_311, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_315", gecode_constraint_rel_315, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_326", gecode_constraint_rel_326, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_327", gecode_constraint_rel_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_328", gecode_constraint_rel_328, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_329", gecode_constraint_rel_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_364", gecode_constraint_weights_364, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_219", gecode_constraint_max_219, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_263", gecode_constraint_path_263, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_358", gecode_constraint_unary_358, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_354", gecode_constraint_unary_354, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_348", gecode_constraint_unary_348, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_351", gecode_constraint_unary_351, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_341", gecode_constraint_sorted_341, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_34", gecode_constraint_circuit_34, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_146", gecode_constraint_dom_146, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_266", gecode_constraint_path_266, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_239", gecode_constraint_mult_239, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_46", gecode_constraint_clause_46, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_275", gecode_constraint_precede_275, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_272", gecode_constraint_precede_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_271", gecode_constraint_precede_271, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_98", gecode_constraint_cumulative_98, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_101", gecode_constraint_cumulative_101, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_121", gecode_constraint_distinct_121, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_118", gecode_constraint_distinct_118, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_227", gecode_constraint_member_227, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_223", gecode_constraint_member_223, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_236", gecode_constraint_mod_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_344", gecode_constraint_sqr_344, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_337", gecode_constraint_sequence_337, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_335", gecode_constraint_sequence_335, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_264", gecode_constraint_path_264, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_261", gecode_constraint_path_261, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_258", gecode_constraint_path_258, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_125", gecode_constraint_divmod_125, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_342", gecode_constraint_sorted_342, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_52", gecode_constraint_count_52, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_74", gecode_constraint_count_74, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_76", gecode_constraint_count_76, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_116", gecode_constraint_cumulatives_116, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_114", gecode_constraint_cumulatives_114, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_102", gecode_constraint_cumulatives_102, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_209", gecode_constraint_linear_209, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_213", gecode_constraint_linear_213, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_246", gecode_constraint_nooverlap_246, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_241", gecode_constraint_nooverlap_241, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_123", gecode_constraint_div_123, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_345", gecode_constraint_sqr_345, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_265", gecode_constraint_path_265, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_262", gecode_constraint_path_262, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_259", gecode_constraint_path_259, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_356", gecode_constraint_unary_356, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_359", gecode_constraint_unary_359, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_352", gecode_constraint_unary_352, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_355", gecode_constraint_unary_355, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_349", gecode_constraint_unary_349, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_340", gecode_constraint_sorted_340, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_343", gecode_constraint_sorted_343, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_182", gecode_constraint_element_182, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_180", gecode_constraint_element_180, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_178", gecode_constraint_element_178, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_176", gecode_constraint_element_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_339", gecode_constraint_sequence_339, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_274", gecode_constraint_precede_274, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_270", gecode_constraint_precede_270, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_78", gecode_constraint_cumulative_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_100", gecode_constraint_cumulative_100, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_119", gecode_constraint_distinct_119, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_230", gecode_constraint_min_230, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_234", gecode_constraint_min_234, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_347", gecode_constraint_sqrt_347, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_336", gecode_constraint_sequence_336, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_334", gecode_constraint_sequence_334, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_363", gecode_constraint_unshare_363, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_361", gecode_constraint_unshare_361, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_269", gecode_constraint_path_269, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_260", gecode_constraint_path_260, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_124", gecode_constraint_divmod_124, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_245", gecode_constraint_nooverlap_245, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_228", gecode_constraint_member_228, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_224", gecode_constraint_member_224, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_75", gecode_constraint_count_75, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_77", gecode_constraint_count_77, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_249", gecode_constraint_notMin_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_99", gecode_constraint_cumulative_99, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_126", gecode_constraint_dom_126, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_208", gecode_constraint_linear_208, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_211", gecode_constraint_linear_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_212", gecode_constraint_linear_212, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_215", gecode_constraint_linear_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_184", gecode_constraint_linear_184, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_240", gecode_constraint_nooverlap_240, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_243", gecode_constraint_nooverlap_243, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_183", gecode_constraint_element_183, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_181", gecode_constraint_element_181, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_179", gecode_constraint_element_179, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_177", gecode_constraint_element_177, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_324", gecode_constraint_rel_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_322", gecode_constraint_rel_322, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_312", gecode_constraint_rel_312, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_316", gecode_constraint_rel_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_318", gecode_constraint_rel_318, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_319", gecode_constraint_rel_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_325", gecode_constraint_rel_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_330", gecode_constraint_rel_330, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_332", gecode_constraint_rel_332, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_276", gecode_constraint_rel_276, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_233", gecode_constraint_min_233, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 3);
|
1
packages/gecode/4.0.0/gecode-version.txt
vendored
Normal file
1
packages/gecode/4.0.0/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
4.0.0
|
3010
packages/gecode/4.0.0/gecode_yap_auto_generated.yap
vendored
Normal file
3010
packages/gecode/4.0.0/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
32
packages/gecode/4.0.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
32
packages/gecode/4.0.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static ReifyMode gecode_ReifyMode_from_term(YAP_Term);
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static IntVarBranch gecode_IntVarBranch_from_term(YAP_Term);
|
||||
static IntValBranch gecode_IntValBranch_from_term(YAP_Term);
|
||||
static IntAssign gecode_IntAssign_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
||||
static SetVarBranch gecode_SetVarBranch_from_term(YAP_Term);
|
||||
static SetValBranch gecode_SetValBranch_from_term(YAP_Term);
|
||||
static SetAssign gecode_SetAssign_from_term(YAP_Term);
|
4336
packages/gecode/4.0.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
4336
packages/gecode/4.0.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
709
packages/gecode/4.0.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
709
packages/gecode/4.0.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,709 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_EQV");
|
||||
gecode_RM_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_IMP");
|
||||
gecode_RM_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_PMI");
|
||||
gecode_RM_PMI = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_NONE");
|
||||
gecode_INT_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_RND");
|
||||
gecode_INT_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MIN");
|
||||
gecode_INT_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_DEGREE_MAX");
|
||||
gecode_INT_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MIN");
|
||||
gecode_INT_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_AFC_MAX");
|
||||
gecode_INT_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MIN");
|
||||
gecode_INT_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MIN_MAX");
|
||||
gecode_INT_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MIN");
|
||||
gecode_INT_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_MAX_MAX");
|
||||
gecode_INT_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MIN");
|
||||
gecode_INT_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_MAX");
|
||||
gecode_INT_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_INT_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MIN");
|
||||
gecode_INT_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_SIZE_AFC_MAX");
|
||||
gecode_INT_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MIN");
|
||||
gecode_INT_VAR_REGRET_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MIN_MAX");
|
||||
gecode_INT_VAR_REGRET_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MIN");
|
||||
gecode_INT_VAR_REGRET_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAR_REGRET_MAX_MAX");
|
||||
gecode_INT_VAR_REGRET_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MIN");
|
||||
gecode_INT_VAL_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MED");
|
||||
gecode_INT_VAL_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_MAX");
|
||||
gecode_INT_VAL_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RND");
|
||||
gecode_INT_VAL_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MIN");
|
||||
gecode_INT_VAL_SPLIT_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_SPLIT_MAX");
|
||||
gecode_INT_VAL_SPLIT_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MIN");
|
||||
gecode_INT_VAL_RANGE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VAL_RANGE_MAX");
|
||||
gecode_INT_VAL_RANGE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MIN");
|
||||
gecode_INT_VALUES_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_VALUES_MAX");
|
||||
gecode_INT_VALUES_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MIN");
|
||||
gecode_INT_ASSIGN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MED");
|
||||
gecode_INT_ASSIGN_MED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_MAX");
|
||||
gecode_INT_ASSIGN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("INT_ASSIGN_RND");
|
||||
gecode_INT_ASSIGN_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_NONE");
|
||||
gecode_SET_VAR_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_RND");
|
||||
gecode_SET_VAR_RND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MIN");
|
||||
gecode_SET_VAR_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_DEGREE_MAX");
|
||||
gecode_SET_VAR_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MIN");
|
||||
gecode_SET_VAR_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_AFC_MAX");
|
||||
gecode_SET_VAR_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MIN");
|
||||
gecode_SET_VAR_MIN_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MIN_MAX");
|
||||
gecode_SET_VAR_MIN_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MIN");
|
||||
gecode_SET_VAR_MAX_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_MAX_MAX");
|
||||
gecode_SET_VAR_MAX_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MIN");
|
||||
gecode_SET_VAR_SIZE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_MAX");
|
||||
gecode_SET_VAR_SIZE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MIN");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_DEGREE_MAX");
|
||||
gecode_SET_VAR_SIZE_DEGREE_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MIN");
|
||||
gecode_SET_VAR_SIZE_AFC_MIN = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAR_SIZE_AFC_MAX");
|
||||
gecode_SET_VAR_SIZE_AFC_MAX = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_INC");
|
||||
gecode_SET_VAL_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MIN_EXC");
|
||||
gecode_SET_VAL_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_INC");
|
||||
gecode_SET_VAL_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MED_EXC");
|
||||
gecode_SET_VAL_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_INC");
|
||||
gecode_SET_VAL_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_MAX_EXC");
|
||||
gecode_SET_VAL_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_INC");
|
||||
gecode_SET_VAL_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_VAL_RND_EXC");
|
||||
gecode_SET_VAL_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_INC");
|
||||
gecode_SET_ASSIGN_MIN_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MIN_EXC");
|
||||
gecode_SET_ASSIGN_MIN_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_INC");
|
||||
gecode_SET_ASSIGN_MED_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MED_EXC");
|
||||
gecode_SET_ASSIGN_MED_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_INC");
|
||||
gecode_SET_ASSIGN_MAX_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_MAX_EXC");
|
||||
gecode_SET_ASSIGN_MAX_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_INC");
|
||||
gecode_SET_ASSIGN_RND_INC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SET_ASSIGN_RND_EXC");
|
||||
gecode_SET_ASSIGN_RND_EXC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_358", gecode_constraint_unary_358, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_354", gecode_constraint_unary_354, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_256", gecode_constraint_nvalues_256, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_258", gecode_constraint_nvalues_258, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_252", gecode_constraint_nvalues_252, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_254", gecode_constraint_nvalues_254, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_219", gecode_constraint_max_219, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_218", gecode_constraint_max_218, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_222", gecode_constraint_max_222, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_142", gecode_constraint_dom_142, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_150", gecode_constraint_dom_150, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_52", gecode_constraint_convex_52, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_243", gecode_constraint_nooverlap_243, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_159", gecode_constraint_element_159, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_163", gecode_constraint_element_163, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_153", gecode_constraint_element_153, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_151", gecode_constraint_element_151, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_158", gecode_constraint_element_158, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_166", gecode_constraint_element_166, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_169", gecode_constraint_element_169, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_175", gecode_constraint_element_175, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_167", gecode_constraint_element_167, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_339", gecode_constraint_sequence_339, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_249", gecode_constraint_notMax_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_351", gecode_constraint_unary_351, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_46", gecode_constraint_circuit_46, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_37", gecode_constraint_circuit_37, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_141", gecode_constraint_dom_141, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_140", gecode_constraint_dom_140, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_144", gecode_constraint_dom_144, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_136", gecode_constraint_dom_136, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_132", gecode_constraint_dom_132, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_149", gecode_constraint_dom_149, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_148", gecode_constraint_dom_148, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_146", gecode_constraint_dom_146, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_33", gecode_constraint_channel_33, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_27", gecode_constraint_channel_27, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_23", gecode_constraint_channel_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_21", gecode_constraint_channel_21, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_245", gecode_constraint_nooverlap_245, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_248", gecode_constraint_nooverlap_248, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_161", gecode_constraint_element_161, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_155", gecode_constraint_element_155, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_157", gecode_constraint_element_157, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_165", gecode_constraint_element_165, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_173", gecode_constraint_element_173, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_171", gecode_constraint_element_171, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_217", gecode_constraint_max_217, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_221", gecode_constraint_max_221, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_363", gecode_constraint_unshare_363, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_361", gecode_constraint_unshare_361, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_269", gecode_constraint_path_269, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_268", gecode_constraint_path_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_239", gecode_constraint_mult_239, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_50", gecode_constraint_clause_50, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_48", gecode_constraint_clause_48, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_274", gecode_constraint_precede_274, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_121", gecode_constraint_distinct_121, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_229", gecode_constraint_member_229, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_228", gecode_constraint_member_228, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_225", gecode_constraint_member_225, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_224", gecode_constraint_member_224, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_238", gecode_constraint_mod_238, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_18", gecode_constraint_cardinality_18, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_9", gecode_constraint_atmostOne_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_34", gecode_constraint_channelSorted_34, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_209", gecode_constraint_linear_209, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_213", gecode_constraint_linear_213, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_185", gecode_constraint_linear_185, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_189", gecode_constraint_linear_189, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_43", gecode_constraint_circuit_43, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_291", gecode_constraint_rel_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_290", gecode_constraint_rel_290, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_287", gecode_constraint_rel_287, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_286", gecode_constraint_rel_286, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_283", gecode_constraint_rel_283, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_281", gecode_constraint_rel_281, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_300", gecode_constraint_rel_300, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_296", gecode_constraint_rel_296, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_294", gecode_constraint_rel_294, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_324", gecode_constraint_rel_324, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_322", gecode_constraint_rel_322, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_308", gecode_constraint_rel_308, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_310", gecode_constraint_rel_310, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_304", gecode_constraint_rel_304, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_313", gecode_constraint_rel_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_312", gecode_constraint_rel_312, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_317", gecode_constraint_rel_317, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_316", gecode_constraint_rel_316, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_321", gecode_constraint_rel_321, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_332", gecode_constraint_rel_332, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_334", gecode_constraint_rel_334, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_280", gecode_constraint_rel_280, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_278", gecode_constraint_rel_278, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_233", gecode_constraint_min_233, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_232", gecode_constraint_min_232, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_236", gecode_constraint_min_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_19", gecode_constraint_cardinality_19, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_70", gecode_constraint_count_70, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_67", gecode_constraint_count_67, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_61", gecode_constraint_count_61, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_60", gecode_constraint_count_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_57", gecode_constraint_count_57, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_347", gecode_constraint_sqrt_347, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_118", gecode_constraint_cumulatives_118, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_116", gecode_constraint_cumulatives_116, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_114", gecode_constraint_cumulatives_114, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_112", gecode_constraint_cumulatives_112, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_110", gecode_constraint_cumulatives_110, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_108", gecode_constraint_cumulatives_108, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_106", gecode_constraint_cumulatives_106, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_104", gecode_constraint_cumulatives_104, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_255", gecode_constraint_nvalues_255, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_257", gecode_constraint_nvalues_257, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_251", gecode_constraint_nvalues_251, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_253", gecode_constraint_nvalues_253, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_10", gecode_constraint_binpacking_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_204", gecode_constraint_linear_204, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_208", gecode_constraint_linear_208, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_196", gecode_constraint_linear_196, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_200", gecode_constraint_linear_200, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_2", gecode_constraint_abs_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_51", gecode_constraint_convex_51, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_123", gecode_constraint_div_123, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_314", gecode_constraint_rel_314, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_318", gecode_constraint_rel_318, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_301", gecode_constraint_rel_301, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_302", gecode_constraint_rel_302, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_292", gecode_constraint_rel_292, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_288", gecode_constraint_rel_288, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_284", gecode_constraint_rel_284, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_282", gecode_constraint_rel_282, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_327", gecode_constraint_rel_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_328", gecode_constraint_rel_328, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_329", gecode_constraint_rel_329, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_330", gecode_constraint_rel_330, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_365", gecode_constraint_weights_365, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_220", gecode_constraint_max_220, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_264", gecode_constraint_path_264, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_359", gecode_constraint_unary_359, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_355", gecode_constraint_unary_355, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_349", gecode_constraint_unary_349, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_352", gecode_constraint_unary_352, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_342", gecode_constraint_sorted_342, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_41", gecode_constraint_circuit_41, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_38", gecode_constraint_circuit_38, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_35", gecode_constraint_circuit_35, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_139", gecode_constraint_dom_139, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_143", gecode_constraint_dom_143, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_138", gecode_constraint_dom_138, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_135", gecode_constraint_dom_135, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_134", gecode_constraint_dom_134, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_131", gecode_constraint_dom_131, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_130", gecode_constraint_dom_130, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_128", gecode_constraint_dom_128, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_147", gecode_constraint_dom_147, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_145", gecode_constraint_dom_145, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_1", gecode_constraint_abs_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_29", gecode_constraint_channel_29, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_24", gecode_constraint_channel_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_305", gecode_constraint_rel_305, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_297", gecode_constraint_rel_297, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_267", gecode_constraint_path_267, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_14", gecode_constraint_branch_14, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_13", gecode_constraint_branch_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_15", gecode_constraint_branch_15, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_240", gecode_constraint_mult_240, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_42", gecode_constraint_circuit_42, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_39", gecode_constraint_circuit_39, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_36", gecode_constraint_circuit_36, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_49", gecode_constraint_clause_49, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_47", gecode_constraint_clause_47, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_276", gecode_constraint_precede_276, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_273", gecode_constraint_precede_273, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_272", gecode_constraint_precede_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_30", gecode_constraint_channel_30, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_87", gecode_constraint_cumulative_87, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_90", gecode_constraint_cumulative_90, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_83", gecode_constraint_cumulative_83, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_86", gecode_constraint_cumulative_86, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_80", gecode_constraint_cumulative_80, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_99", gecode_constraint_cumulative_99, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_102", gecode_constraint_cumulative_102, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_95", gecode_constraint_cumulative_95, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_98", gecode_constraint_cumulative_98, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_92", gecode_constraint_cumulative_92, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_122", gecode_constraint_distinct_122, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_119", gecode_constraint_distinct_119, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_230", gecode_constraint_member_230, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_226", gecode_constraint_member_226, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_237", gecode_constraint_mod_237, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_345", gecode_constraint_sqr_345, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_338", gecode_constraint_sequence_338, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_336", gecode_constraint_sequence_336, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_265", gecode_constraint_path_265, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_262", gecode_constraint_path_262, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_259", gecode_constraint_path_259, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_126", gecode_constraint_divmod_126, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_343", gecode_constraint_sorted_343, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_45", gecode_constraint_circuit_45, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_44", gecode_constraint_circuit_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_32", gecode_constraint_channel_32, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_28", gecode_constraint_channel_28, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_26", gecode_constraint_channel_26, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_22", gecode_constraint_channel_22, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_25", gecode_constraint_channel_25, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_20", gecode_constraint_channel_20, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_31", gecode_constraint_channel_31, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_53", gecode_constraint_count_53, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_55", gecode_constraint_count_55, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_71", gecode_constraint_count_71, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_73", gecode_constraint_count_73, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_63", gecode_constraint_count_63, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_65", gecode_constraint_count_65, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_62", gecode_constraint_count_62, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_58", gecode_constraint_count_58, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_68", gecode_constraint_count_68, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_75", gecode_constraint_count_75, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_77", gecode_constraint_count_77, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_117", gecode_constraint_cumulatives_117, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_115", gecode_constraint_cumulatives_115, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_113", gecode_constraint_cumulatives_113, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_111", gecode_constraint_cumulatives_111, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_109", gecode_constraint_cumulatives_109, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_107", gecode_constraint_cumulatives_107, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_105", gecode_constraint_cumulatives_105, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_103", gecode_constraint_cumulatives_103, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_11", gecode_constraint_binpacking_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_212", gecode_constraint_linear_212, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_216", gecode_constraint_linear_216, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_188", gecode_constraint_linear_188, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_192", gecode_constraint_linear_192, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_203", gecode_constraint_linear_203, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_202", gecode_constraint_linear_202, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_207", gecode_constraint_linear_207, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_206", gecode_constraint_linear_206, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_195", gecode_constraint_linear_195, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_194", gecode_constraint_linear_194, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_199", gecode_constraint_linear_199, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_198", gecode_constraint_linear_198, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_247", gecode_constraint_nooverlap_247, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_242", gecode_constraint_nooverlap_242, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_124", gecode_constraint_div_124, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_346", gecode_constraint_sqr_346, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_266", gecode_constraint_path_266, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_263", gecode_constraint_path_263, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_260", gecode_constraint_path_260, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_357", gecode_constraint_unary_357, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_360", gecode_constraint_unary_360, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_353", gecode_constraint_unary_353, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_356", gecode_constraint_unary_356, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_350", gecode_constraint_unary_350, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_341", gecode_constraint_sorted_341, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_344", gecode_constraint_sorted_344, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_162", gecode_constraint_element_162, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_156", gecode_constraint_element_156, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_174", gecode_constraint_element_174, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_172", gecode_constraint_element_172, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_160", gecode_constraint_element_160, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_164", gecode_constraint_element_164, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_154", gecode_constraint_element_154, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_152", gecode_constraint_element_152, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_183", gecode_constraint_element_183, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_181", gecode_constraint_element_181, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_179", gecode_constraint_element_179, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_177", gecode_constraint_element_177, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_170", gecode_constraint_element_170, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_176", gecode_constraint_element_176, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_168", gecode_constraint_element_168, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_340", gecode_constraint_sequence_340, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_40", gecode_constraint_circuit_40, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_275", gecode_constraint_precede_275, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_271", gecode_constraint_precede_271, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_89", gecode_constraint_cumulative_89, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_85", gecode_constraint_cumulative_85, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_79", gecode_constraint_cumulative_79, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_82", gecode_constraint_cumulative_82, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_101", gecode_constraint_cumulative_101, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_97", gecode_constraint_cumulative_97, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_91", gecode_constraint_cumulative_91, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_94", gecode_constraint_cumulative_94, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_120", gecode_constraint_distinct_120, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_231", gecode_constraint_min_231, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_235", gecode_constraint_min_235, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_348", gecode_constraint_sqrt_348, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_337", gecode_constraint_sequence_337, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_335", gecode_constraint_sequence_335, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_364", gecode_constraint_unshare_364, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_362", gecode_constraint_unshare_362, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_270", gecode_constraint_path_270, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_261", gecode_constraint_path_261, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_125", gecode_constraint_divmod_125, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_246", gecode_constraint_nooverlap_246, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_81", gecode_constraint_cumulative_81, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_93", gecode_constraint_cumulative_93, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_227", gecode_constraint_member_227, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_223", gecode_constraint_member_223, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_72", gecode_constraint_count_72, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_74", gecode_constraint_count_74, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_76", gecode_constraint_count_76, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_78", gecode_constraint_count_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_64", gecode_constraint_count_64, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_66", gecode_constraint_count_66, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_54", gecode_constraint_count_54, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_56", gecode_constraint_count_56, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_250", gecode_constraint_notMin_250, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_88", gecode_constraint_cumulative_88, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_84", gecode_constraint_cumulative_84, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_100", gecode_constraint_cumulative_100, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_96", gecode_constraint_cumulative_96, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_16", gecode_constraint_branch_16, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_12", gecode_constraint_branch_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_17", gecode_constraint_branch_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_137", gecode_constraint_dom_137, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_133", gecode_constraint_dom_133, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_129", gecode_constraint_dom_129, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_127", gecode_constraint_dom_127, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_211", gecode_constraint_linear_211, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_210", gecode_constraint_linear_210, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_215", gecode_constraint_linear_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_214", gecode_constraint_linear_214, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_187", gecode_constraint_linear_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_186", gecode_constraint_linear_186, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_191", gecode_constraint_linear_191, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_190", gecode_constraint_linear_190, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_201", gecode_constraint_linear_201, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_205", gecode_constraint_linear_205, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_193", gecode_constraint_linear_193, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_197", gecode_constraint_linear_197, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_241", gecode_constraint_nooverlap_241, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_244", gecode_constraint_nooverlap_244, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_184", gecode_constraint_element_184, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_182", gecode_constraint_element_182, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_180", gecode_constraint_element_180, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_178", gecode_constraint_element_178, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_289", gecode_constraint_rel_289, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_285", gecode_constraint_rel_285, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_299", gecode_constraint_rel_299, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_295", gecode_constraint_rel_295, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_293", gecode_constraint_rel_293, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_298", gecode_constraint_rel_298, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_325", gecode_constraint_rel_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_323", gecode_constraint_rel_323, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_307", gecode_constraint_rel_307, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_309", gecode_constraint_rel_309, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_303", gecode_constraint_rel_303, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_306", gecode_constraint_rel_306, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_311", gecode_constraint_rel_311, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_315", gecode_constraint_rel_315, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_319", gecode_constraint_rel_319, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_320", gecode_constraint_rel_320, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_326", gecode_constraint_rel_326, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_331", gecode_constraint_rel_331, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_333", gecode_constraint_rel_333, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_279", gecode_constraint_rel_279, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_277", gecode_constraint_rel_277, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_234", gecode_constraint_min_234, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_69", gecode_constraint_count_69, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_59", gecode_constraint_count_59, 3);
|
1
packages/gecode/4.2.0/gecode-version.txt
vendored
Normal file
1
packages/gecode/4.2.0/gecode-version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
4.2.0
|
3516
packages/gecode/4.2.0/gecode_yap_auto_generated.yap
vendored
Normal file
3516
packages/gecode/4.2.0/gecode_yap_auto_generated.yap
vendored
Normal file
File diff suppressed because it is too large
Load Diff
28
packages/gecode/4.2.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
28
packages/gecode/4.2.0/gecode_yap_cc_forward_auto_generated.icc
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
static RestartMode gecode_RestartMode_from_term(YAP_Term);
|
||||
static FloatRelType gecode_FloatRelType_from_term(YAP_Term);
|
||||
static ReifyMode gecode_ReifyMode_from_term(YAP_Term);
|
||||
static IntRelType gecode_IntRelType_from_term(YAP_Term);
|
||||
static BoolOpType gecode_BoolOpType_from_term(YAP_Term);
|
||||
static IntConLevel gecode_IntConLevel_from_term(YAP_Term);
|
||||
static TaskType gecode_TaskType_from_term(YAP_Term);
|
||||
static ExtensionalPropKind gecode_ExtensionalPropKind_from_term(YAP_Term);
|
||||
static SetRelType gecode_SetRelType_from_term(YAP_Term);
|
||||
static SetOpType gecode_SetOpType_from_term(YAP_Term);
|
5232
packages/gecode/4.2.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
5232
packages/gecode/4.2.0/gecode_yap_cc_impl_auto_generated.icc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
640
packages/gecode/4.2.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
640
packages/gecode/4.2.0/gecode_yap_cc_init_auto_generated.icc
vendored
Normal file
@ -0,0 +1,640 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_NONE");
|
||||
gecode_RM_NONE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_CONSTANT");
|
||||
gecode_RM_CONSTANT = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_LINEAR");
|
||||
gecode_RM_LINEAR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_LUBY");
|
||||
gecode_RM_LUBY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_GEOMETRIC");
|
||||
gecode_RM_GEOMETRIC = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_EQ");
|
||||
gecode_FRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_NQ");
|
||||
gecode_FRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_LQ");
|
||||
gecode_FRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_LE");
|
||||
gecode_FRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_GQ");
|
||||
gecode_FRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("FRT_GR");
|
||||
gecode_FRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_EQV");
|
||||
gecode_RM_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_IMP");
|
||||
gecode_RM_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("RM_PMI");
|
||||
gecode_RM_PMI = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_EQ");
|
||||
gecode_IRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_NQ");
|
||||
gecode_IRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LQ");
|
||||
gecode_IRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_LE");
|
||||
gecode_IRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GQ");
|
||||
gecode_IRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("IRT_GR");
|
||||
gecode_IRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_AND");
|
||||
gecode_BOT_AND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_OR");
|
||||
gecode_BOT_OR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_IMP");
|
||||
gecode_BOT_IMP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_EQV");
|
||||
gecode_BOT_EQV = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("BOT_XOR");
|
||||
gecode_BOT_XOR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_VAL");
|
||||
gecode_ICL_VAL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_BND");
|
||||
gecode_ICL_BND = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DOM");
|
||||
gecode_ICL_DOM = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("ICL_DEF");
|
||||
gecode_ICL_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXP");
|
||||
gecode_TT_FIXP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXS");
|
||||
gecode_TT_FIXS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("TT_FIXE");
|
||||
gecode_TT_FIXE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_DEF");
|
||||
gecode_EPK_DEF = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_SPEED");
|
||||
gecode_EPK_SPEED = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("EPK_MEMORY");
|
||||
gecode_EPK_MEMORY = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_EQ");
|
||||
gecode_SRT_EQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_NQ");
|
||||
gecode_SRT_NQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUB");
|
||||
gecode_SRT_SUB = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_SUP");
|
||||
gecode_SRT_SUP = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_DISJ");
|
||||
gecode_SRT_DISJ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_CMPL");
|
||||
gecode_SRT_CMPL = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LQ");
|
||||
gecode_SRT_LQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_LE");
|
||||
gecode_SRT_LE = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GQ");
|
||||
gecode_SRT_GQ = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SRT_GR");
|
||||
gecode_SRT_GR = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_UNION");
|
||||
gecode_SOT_UNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_DUNION");
|
||||
gecode_SOT_DUNION = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_INTER");
|
||||
gecode_SOT_INTER = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
{ YAP_Atom X= YAP_LookupAtom("SOT_MINUS");
|
||||
gecode_SOT_MINUS = YAP_MkAtomTerm(X);
|
||||
YAP_AtomGetHold(X); }
|
||||
|
||||
YAP_UserCPredicate("gecode_constraint_unary_458", gecode_constraint_unary_458, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_454", gecode_constraint_unary_454, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_345", gecode_constraint_nvalues_345, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_347", gecode_constraint_nvalues_347, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_341", gecode_constraint_nvalues_341, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_343", gecode_constraint_nvalues_343, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_302", gecode_constraint_max_302, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_300", gecode_constraint_max_300, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_301", gecode_constraint_max_301, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_max_305", gecode_constraint_max_305, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_200", gecode_constraint_dom_200, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_209", gecode_constraint_dom_209, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_91", gecode_constraint_convex_91, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_329", gecode_constraint_nooverlap_329, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_15", gecode_constraint_assign_15, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_6", gecode_constraint_assign_6, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_3", gecode_constraint_assign_3, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_1", gecode_constraint_assign_1, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_9", gecode_constraint_assign_9, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_17", gecode_constraint_assign_17, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_12", gecode_constraint_assign_12, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_19", gecode_constraint_assign_19, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_element_220", gecode_constraint_element_220, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_224", gecode_constraint_element_224, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_214", gecode_constraint_element_214, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_212", gecode_constraint_element_212, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_219", gecode_constraint_element_219, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_227", gecode_constraint_element_227, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_230", gecode_constraint_element_230, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_236", gecode_constraint_element_236, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_228", gecode_constraint_element_228, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_437", gecode_constraint_sequence_437, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_notMax_335", gecode_constraint_notMax_335, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_ite_256", gecode_constraint_ite_256, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_451", gecode_constraint_unary_451, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_nroot_339", gecode_constraint_nroot_339, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_85", gecode_constraint_circuit_85, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_76", gecode_constraint_circuit_76, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_199", gecode_constraint_dom_199, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_198", gecode_constraint_dom_198, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_202", gecode_constraint_dom_202, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_194", gecode_constraint_dom_194, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_185", gecode_constraint_dom_185, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_181", gecode_constraint_dom_181, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_187", gecode_constraint_dom_187, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_208", gecode_constraint_dom_208, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_210", gecode_constraint_dom_210, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_206", gecode_constraint_dom_206, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_66", gecode_constraint_channel_66, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_62", gecode_constraint_channel_62, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_60", gecode_constraint_channel_60, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_331", gecode_constraint_nooverlap_331, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_334", gecode_constraint_nooverlap_334, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_222", gecode_constraint_element_222, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_216", gecode_constraint_element_216, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_218", gecode_constraint_element_218, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_226", gecode_constraint_element_226, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_234", gecode_constraint_element_234, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_element_232", gecode_constraint_element_232, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_max_298", gecode_constraint_max_298, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_299", gecode_constraint_max_299, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_max_304", gecode_constraint_max_304, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_463", gecode_constraint_unshare_463, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_461", gecode_constraint_unshare_461, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_path_358", gecode_constraint_path_358, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_357", gecode_constraint_path_357, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_34", gecode_constraint_branch_34, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_28", gecode_constraint_branch_28, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_40", gecode_constraint_branch_40, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_325", gecode_constraint_mult_325, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_324", gecode_constraint_mult_324, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_89", gecode_constraint_clause_89, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_87", gecode_constraint_clause_87, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_366", gecode_constraint_precede_366, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_160", gecode_constraint_distinct_160, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_member_312", gecode_constraint_member_312, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_311", gecode_constraint_member_311, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_308", gecode_constraint_member_308, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_member_307", gecode_constraint_member_307, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_323", gecode_constraint_mod_323, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_57", gecode_constraint_cardinality_57, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_atmostOne_53", gecode_constraint_atmostOne_53, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channelSorted_73", gecode_constraint_channelSorted_73, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_253", gecode_constraint_extensional_253, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_248", gecode_constraint_extensional_248, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_272", gecode_constraint_linear_272, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_270", gecode_constraint_linear_270, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_258", gecode_constraint_linear_258, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_262", gecode_constraint_linear_262, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_290", gecode_constraint_linear_290, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_294", gecode_constraint_linear_294, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_82", gecode_constraint_circuit_82, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_406", gecode_constraint_rel_406, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_408", gecode_constraint_rel_408, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_422", gecode_constraint_rel_422, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_420", gecode_constraint_rel_420, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_392", gecode_constraint_rel_392, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_388", gecode_constraint_rel_388, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_386", gecode_constraint_rel_386, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_383", gecode_constraint_rel_383, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_382", gecode_constraint_rel_382, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_379", gecode_constraint_rel_379, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_378", gecode_constraint_rel_378, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_375", gecode_constraint_rel_375, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_373", gecode_constraint_rel_373, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_402", gecode_constraint_rel_402, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_404", gecode_constraint_rel_404, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_398", gecode_constraint_rel_398, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_411", gecode_constraint_rel_411, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_410", gecode_constraint_rel_410, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_415", gecode_constraint_rel_415, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_414", gecode_constraint_rel_414, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_419", gecode_constraint_rel_419, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_430", gecode_constraint_rel_430, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_432", gecode_constraint_rel_432, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_372", gecode_constraint_rel_372, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_370", gecode_constraint_rel_370, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_min_318", gecode_constraint_min_318, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_316", gecode_constraint_min_316, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_317", gecode_constraint_min_317, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_321", gecode_constraint_min_321, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_56", gecode_constraint_cardinality_56, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_cardinality_58", gecode_constraint_cardinality_58, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_109", gecode_constraint_count_109, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_106", gecode_constraint_count_106, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_100", gecode_constraint_count_100, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_99", gecode_constraint_count_99, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_count_96", gecode_constraint_count_96, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_447", gecode_constraint_sqrt_447, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_446", gecode_constraint_sqrt_446, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_157", gecode_constraint_cumulatives_157, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_155", gecode_constraint_cumulatives_155, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_153", gecode_constraint_cumulatives_153, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_151", gecode_constraint_cumulatives_151, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_149", gecode_constraint_cumulatives_149, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_147", gecode_constraint_cumulatives_147, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_145", gecode_constraint_cumulatives_145, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_143", gecode_constraint_cumulatives_143, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_344", gecode_constraint_nvalues_344, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_346", gecode_constraint_nvalues_346, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_340", gecode_constraint_nvalues_340, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nvalues_342", gecode_constraint_nvalues_342, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_54", gecode_constraint_binpacking_54, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_285", gecode_constraint_linear_285, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_289", gecode_constraint_linear_289, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_277", gecode_constraint_linear_277, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_281", gecode_constraint_linear_281, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_52", gecode_constraint_abs_52, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_convex_90", gecode_constraint_convex_90, 2);
|
||||
YAP_UserCPredicate("gecode_constraint_div_163", gecode_constraint_div_163, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_div_162", gecode_constraint_div_162, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_412", gecode_constraint_rel_412, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_416", gecode_constraint_rel_416, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_395", gecode_constraint_rel_395, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_396", gecode_constraint_rel_396, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_384", gecode_constraint_rel_384, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_380", gecode_constraint_rel_380, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_376", gecode_constraint_rel_376, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_374", gecode_constraint_rel_374, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_425", gecode_constraint_rel_425, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_426", gecode_constraint_rel_426, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_427", gecode_constraint_rel_427, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_428", gecode_constraint_rel_428, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_weights_465", gecode_constraint_weights_465, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_max_303", gecode_constraint_max_303, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_path_353", gecode_constraint_path_353, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_459", gecode_constraint_unary_459, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_455", gecode_constraint_unary_455, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_449", gecode_constraint_unary_449, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_452", gecode_constraint_unary_452, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nroot_338", gecode_constraint_nroot_338, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_nroot_337", gecode_constraint_nroot_337, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_440", gecode_constraint_sorted_440, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_80", gecode_constraint_circuit_80, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_77", gecode_constraint_circuit_77, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_74", gecode_constraint_circuit_74, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_189", gecode_constraint_dom_189, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_186", gecode_constraint_dom_186, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_172", gecode_constraint_dom_172, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_170", gecode_constraint_dom_170, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_168", gecode_constraint_dom_168, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_180", gecode_constraint_dom_180, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_179", gecode_constraint_dom_179, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_177", gecode_constraint_dom_177, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_175", gecode_constraint_dom_175, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_197", gecode_constraint_dom_197, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_201", gecode_constraint_dom_201, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_196", gecode_constraint_dom_196, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_204", gecode_constraint_dom_204, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_193", gecode_constraint_dom_193, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_192", gecode_constraint_dom_192, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_184", gecode_constraint_dom_184, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_183", gecode_constraint_dom_183, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_207", gecode_constraint_dom_207, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_205", gecode_constraint_dom_205, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_51", gecode_constraint_abs_51, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_abs_50", gecode_constraint_abs_50, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_68", gecode_constraint_channel_68, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_63", gecode_constraint_channel_63, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_8", gecode_constraint_assign_8, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_5", gecode_constraint_assign_5, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_11", gecode_constraint_assign_11, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_14", gecode_constraint_assign_14, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_399", gecode_constraint_rel_399, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_389", gecode_constraint_rel_389, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_356", gecode_constraint_path_356, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_45", gecode_constraint_branch_45, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_29", gecode_constraint_branch_29, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_23", gecode_constraint_branch_23, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_22", gecode_constraint_branch_22, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_35", gecode_constraint_branch_35, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_47", gecode_constraint_branch_47, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_41", gecode_constraint_branch_41, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_49", gecode_constraint_branch_49, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_mult_326", gecode_constraint_mult_326, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_81", gecode_constraint_circuit_81, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_78", gecode_constraint_circuit_78, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_75", gecode_constraint_circuit_75, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_88", gecode_constraint_clause_88, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_clause_86", gecode_constraint_clause_86, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_368", gecode_constraint_precede_368, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_365", gecode_constraint_precede_365, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_364", gecode_constraint_precede_364, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_69", gecode_constraint_channel_69, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_126", gecode_constraint_cumulative_126, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_129", gecode_constraint_cumulative_129, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_122", gecode_constraint_cumulative_122, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_125", gecode_constraint_cumulative_125, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_119", gecode_constraint_cumulative_119, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_138", gecode_constraint_cumulative_138, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_141", gecode_constraint_cumulative_141, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_134", gecode_constraint_cumulative_134, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_137", gecode_constraint_cumulative_137, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_131", gecode_constraint_cumulative_131, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_161", gecode_constraint_distinct_161, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_158", gecode_constraint_distinct_158, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_313", gecode_constraint_member_313, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_309", gecode_constraint_member_309, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_mod_322", gecode_constraint_mod_322, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_444", gecode_constraint_sqr_444, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_443", gecode_constraint_sqr_443, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_436", gecode_constraint_sequence_436, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_434", gecode_constraint_sequence_434, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_354", gecode_constraint_path_354, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_351", gecode_constraint_path_351, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_path_348", gecode_constraint_path_348, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_166", gecode_constraint_divmod_166, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_441", gecode_constraint_sorted_441, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_252", gecode_constraint_extensional_252, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_255", gecode_constraint_extensional_255, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_247", gecode_constraint_extensional_247, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_250", gecode_constraint_extensional_250, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_84", gecode_constraint_circuit_84, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_83", gecode_constraint_circuit_83, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_71", gecode_constraint_channel_71, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_61", gecode_constraint_channel_61, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_64", gecode_constraint_channel_64, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_59", gecode_constraint_channel_59, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_67", gecode_constraint_channel_67, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_65", gecode_constraint_channel_65, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_72", gecode_constraint_channel_72, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_channel_70", gecode_constraint_channel_70, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_92", gecode_constraint_count_92, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_94", gecode_constraint_count_94, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_110", gecode_constraint_count_110, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_112", gecode_constraint_count_112, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_102", gecode_constraint_count_102, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_104", gecode_constraint_count_104, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_101", gecode_constraint_count_101, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_97", gecode_constraint_count_97, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_107", gecode_constraint_count_107, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_114", gecode_constraint_count_114, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_116", gecode_constraint_count_116, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_156", gecode_constraint_cumulatives_156, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_154", gecode_constraint_cumulatives_154, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_152", gecode_constraint_cumulatives_152, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_150", gecode_constraint_cumulatives_150, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_148", gecode_constraint_cumulatives_148, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_146", gecode_constraint_cumulatives_146, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_144", gecode_constraint_cumulatives_144, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulatives_142", gecode_constraint_cumulatives_142, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_binpacking_55", gecode_constraint_binpacking_55, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_251", gecode_constraint_extensional_251, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_254", gecode_constraint_extensional_254, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_246", gecode_constraint_extensional_246, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_extensional_249", gecode_constraint_extensional_249, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_293", gecode_constraint_linear_293, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_297", gecode_constraint_linear_297, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_261", gecode_constraint_linear_261, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_265", gecode_constraint_linear_265, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_269", gecode_constraint_linear_269, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_267", gecode_constraint_linear_267, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_284", gecode_constraint_linear_284, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_283", gecode_constraint_linear_283, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_288", gecode_constraint_linear_288, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_287", gecode_constraint_linear_287, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_276", gecode_constraint_linear_276, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_275", gecode_constraint_linear_275, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_280", gecode_constraint_linear_280, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_279", gecode_constraint_linear_279, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_333", gecode_constraint_nooverlap_333, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_328", gecode_constraint_nooverlap_328, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_div_164", gecode_constraint_div_164, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sqr_445", gecode_constraint_sqr_445, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_path_355", gecode_constraint_path_355, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_352", gecode_constraint_path_352, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_path_349", gecode_constraint_path_349, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_457", gecode_constraint_unary_457, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_460", gecode_constraint_unary_460, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_453", gecode_constraint_unary_453, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_456", gecode_constraint_unary_456, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_unary_450", gecode_constraint_unary_450, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_439", gecode_constraint_sorted_439, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sorted_442", gecode_constraint_sorted_442, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_223", gecode_constraint_element_223, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_217", gecode_constraint_element_217, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_235", gecode_constraint_element_235, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_element_233", gecode_constraint_element_233, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_16", gecode_constraint_assign_16, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_7", gecode_constraint_assign_7, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_4", gecode_constraint_assign_4, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_2", gecode_constraint_assign_2, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_10", gecode_constraint_assign_10, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_18", gecode_constraint_assign_18, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_13", gecode_constraint_assign_13, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_assign_20", gecode_constraint_assign_20, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_element_221", gecode_constraint_element_221, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_225", gecode_constraint_element_225, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_215", gecode_constraint_element_215, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_213", gecode_constraint_element_213, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_244", gecode_constraint_element_244, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_242", gecode_constraint_element_242, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_240", gecode_constraint_element_240, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_238", gecode_constraint_element_238, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_231", gecode_constraint_element_231, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_237", gecode_constraint_element_237, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_element_229", gecode_constraint_element_229, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_438", gecode_constraint_sequence_438, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_30", gecode_constraint_branch_30, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_26", gecode_constraint_branch_26, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_24", gecode_constraint_branch_24, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_32", gecode_constraint_branch_32, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_36", gecode_constraint_branch_36, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_42", gecode_constraint_branch_42, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_38", gecode_constraint_branch_38, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_circuit_79", gecode_constraint_circuit_79, 7);
|
||||
YAP_UserCPredicate("gecode_constraint_pow_361", gecode_constraint_pow_361, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_pow_360", gecode_constraint_pow_360, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_367", gecode_constraint_precede_367, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_precede_363", gecode_constraint_precede_363, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_128", gecode_constraint_cumulative_128, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_124", gecode_constraint_cumulative_124, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_118", gecode_constraint_cumulative_118, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_121", gecode_constraint_cumulative_121, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_140", gecode_constraint_cumulative_140, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_136", gecode_constraint_cumulative_136, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_130", gecode_constraint_cumulative_130, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_133", gecode_constraint_cumulative_133, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_distinct_159", gecode_constraint_distinct_159, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_314", gecode_constraint_min_314, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_315", gecode_constraint_min_315, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_min_320", gecode_constraint_min_320, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_sqrt_448", gecode_constraint_sqrt_448, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_435", gecode_constraint_sequence_435, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_sequence_433", gecode_constraint_sequence_433, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_464", gecode_constraint_unshare_464, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_unshare_462", gecode_constraint_unshare_462, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_path_359", gecode_constraint_path_359, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_path_350", gecode_constraint_path_350, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_divmod_165", gecode_constraint_divmod_165, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_31", gecode_constraint_branch_31, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_27", gecode_constraint_branch_27, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_25", gecode_constraint_branch_25, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_33", gecode_constraint_branch_33, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_37", gecode_constraint_branch_37, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_43", gecode_constraint_branch_43, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_39", gecode_constraint_branch_39, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_332", gecode_constraint_nooverlap_332, 9);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_120", gecode_constraint_cumulative_120, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_132", gecode_constraint_cumulative_132, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_member_310", gecode_constraint_member_310, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_member_306", gecode_constraint_member_306, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_111", gecode_constraint_count_111, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_113", gecode_constraint_count_113, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_115", gecode_constraint_count_115, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_117", gecode_constraint_count_117, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_103", gecode_constraint_count_103, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_105", gecode_constraint_count_105, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_93", gecode_constraint_count_93, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_count_95", gecode_constraint_count_95, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_pow_362", gecode_constraint_pow_362, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_notMin_336", gecode_constraint_notMin_336, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_127", gecode_constraint_cumulative_127, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_123", gecode_constraint_cumulative_123, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_139", gecode_constraint_cumulative_139, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_cumulative_135", gecode_constraint_cumulative_135, 8);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_46", gecode_constraint_branch_46, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_21", gecode_constraint_branch_21, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_44", gecode_constraint_branch_44, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_branch_48", gecode_constraint_branch_48, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_188", gecode_constraint_dom_188, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_190", gecode_constraint_dom_190, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_171", gecode_constraint_dom_171, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_173", gecode_constraint_dom_173, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_169", gecode_constraint_dom_169, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_167", gecode_constraint_dom_167, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_178", gecode_constraint_dom_178, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_176", gecode_constraint_dom_176, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_174", gecode_constraint_dom_174, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_195", gecode_constraint_dom_195, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_203", gecode_constraint_dom_203, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_191", gecode_constraint_dom_191, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_182", gecode_constraint_dom_182, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_dom_211", gecode_constraint_dom_211, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_292", gecode_constraint_linear_292, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_291", gecode_constraint_linear_291, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_296", gecode_constraint_linear_296, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_295", gecode_constraint_linear_295, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_273", gecode_constraint_linear_273, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_271", gecode_constraint_linear_271, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_260", gecode_constraint_linear_260, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_259", gecode_constraint_linear_259, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_264", gecode_constraint_linear_264, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_263", gecode_constraint_linear_263, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_268", gecode_constraint_linear_268, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_266", gecode_constraint_linear_266, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_282", gecode_constraint_linear_282, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_286", gecode_constraint_linear_286, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_274", gecode_constraint_linear_274, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_linear_278", gecode_constraint_linear_278, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_327", gecode_constraint_nooverlap_327, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_nooverlap_330", gecode_constraint_nooverlap_330, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_245", gecode_constraint_element_245, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_243", gecode_constraint_element_243, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_241", gecode_constraint_element_241, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_element_239", gecode_constraint_element_239, 6);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_405", gecode_constraint_rel_405, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_407", gecode_constraint_rel_407, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_423", gecode_constraint_rel_423, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_421", gecode_constraint_rel_421, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_393", gecode_constraint_rel_393, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_394", gecode_constraint_rel_394, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_391", gecode_constraint_rel_391, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_387", gecode_constraint_rel_387, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_385", gecode_constraint_rel_385, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_390", gecode_constraint_rel_390, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_381", gecode_constraint_rel_381, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_377", gecode_constraint_rel_377, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_401", gecode_constraint_rel_401, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_403", gecode_constraint_rel_403, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_397", gecode_constraint_rel_397, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_400", gecode_constraint_rel_400, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_409", gecode_constraint_rel_409, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_413", gecode_constraint_rel_413, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_417", gecode_constraint_rel_417, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_418", gecode_constraint_rel_418, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_424", gecode_constraint_rel_424, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_429", gecode_constraint_rel_429, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_431", gecode_constraint_rel_431, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_371", gecode_constraint_rel_371, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_rel_369", gecode_constraint_rel_369, 4);
|
||||
YAP_UserCPredicate("gecode_constraint_min_319", gecode_constraint_min_319, 5);
|
||||
YAP_UserCPredicate("gecode_constraint_count_108", gecode_constraint_count_108, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_count_98", gecode_constraint_count_98, 3);
|
||||
YAP_UserCPredicate("gecode_constraint_ite_257", gecode_constraint_ite_257, 6);
|
189
packages/gecode/DOC.txt
Normal file
189
packages/gecode/DOC.txt
Normal file
@ -0,0 +1,189 @@
|
||||
USING THE GECODE MODULE
|
||||
=======================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
|
||||
|
||||
CREATING A SPACE
|
||||
================
|
||||
|
||||
Space := space
|
||||
|
||||
CREATING VARIABLES
|
||||
==================
|
||||
|
||||
Unlike in Gecode, variable objects are not bound to a specific Space. Each one
|
||||
actually contains an index with which it is possible to access a Space-bound
|
||||
Gecode variable. Variables can be created using the following expressions:
|
||||
|
||||
IVar := intvar(Space,SPEC...)
|
||||
BVar := boolvar(Space)
|
||||
SVar := setvar(Space,SPEC...)
|
||||
|
||||
where SPEC... is the same as in Gecode. For creating lists of variables use
|
||||
the following variants:
|
||||
|
||||
IVars := intvars(Space,N,SPEC...)
|
||||
BVars := boolvars(Space,N,SPEC...)
|
||||
SVars := setvars(Space,N,SPEC...)
|
||||
|
||||
where N is the number of variables to create (just like for XXXVarArray in
|
||||
Gecode). Sometimes an IntSet is necessary:
|
||||
|
||||
ISet := intset([SPEC...])
|
||||
|
||||
where each SPEC is either an integer or a pair (I,J) of integers. An IntSet
|
||||
describes a set of ints by providing either intervals, or integers (which stand
|
||||
for an interval of themselves). It might be tempting to simply represent an
|
||||
IntSet as a list of specs, but this would be ambiguous with IntArgs which,
|
||||
here, are represented as lists of ints.
|
||||
|
||||
Space += keep(Var)
|
||||
Space += keep(Vars)
|
||||
|
||||
Variables can be marked as "kept". In this case, only such variables will be
|
||||
explicitly copied during search. This could bring substantial benefits in
|
||||
memory usage. Of course, in a solution, you can then only look at variables
|
||||
that have been "kept". If no variable is marked as "kept", then they are all
|
||||
kept. Thus marking variables as "kept" is purely an optimization.
|
||||
|
||||
|
||||
CONSTRAINTS AND BRANCHINGS
|
||||
==========================
|
||||
|
||||
all constraint and branching posting functions are available just like in
|
||||
Gecode. Wherever a XXXArgs or YYYSharedArray is expected, simply use a list.
|
||||
At present, there is no support for minimodel-like constraint posting.
|
||||
Constraints and branchings are added to a space using:
|
||||
|
||||
Space += CONSTRAINT
|
||||
Space += BRANCHING
|
||||
|
||||
For example:
|
||||
|
||||
Space += rel(X,'IRT_EQ',Y)
|
||||
|
||||
arrays of variables are represented by lists of variables, and constants are
|
||||
represented by atoms with the same name as the Gecode constant
|
||||
(e.g. 'INT_VAR_SIZE_MIN').
|
||||
|
||||
SEARCHING FOR SOLUTIONS
|
||||
=======================
|
||||
|
||||
SolSpace := search(Space)
|
||||
|
||||
This is a backtrackable predicate that enumerates all solution spaces
|
||||
(SolSpace). It may also take options:
|
||||
|
||||
SolSpace := search(Space,Options)
|
||||
|
||||
Options is a list whose elements maybe:
|
||||
|
||||
restart
|
||||
to select the Restart search engine
|
||||
threads=N
|
||||
to activate the parallel search engine and control the number of
|
||||
workers (see Gecode doc)
|
||||
c_d=N
|
||||
to set the commit distance for recomputation
|
||||
a_d=N
|
||||
to set the adaptive distance for recomputation
|
||||
|
||||
EXTRACTING INFO FROM A SOLUTION
|
||||
===============================
|
||||
|
||||
An advantage of non Space-bound variables, is that you can use them both to
|
||||
post constraints in the original space AND to consult their values in
|
||||
solutions. Below are methods for looking up information about variables. Each
|
||||
of these methods can either take a variable as argument, or a list of
|
||||
variables, and returns resp. either a value, or a list of values:
|
||||
|
||||
Val := assigned(Space,X)
|
||||
|
||||
Val := min(Space,X)
|
||||
Val := max(Space,X)
|
||||
Val := med(Space,X)
|
||||
Val := val(Space,X)
|
||||
Val := size(Space,X)
|
||||
Val := width(Space,X)
|
||||
Val := regret_min(Space,X)
|
||||
Val := regret_max(Space,X)
|
||||
|
||||
Val := glbSize(Space,V)
|
||||
Val := lubSize(Space,V)
|
||||
Val := unknownSize(Space,V)
|
||||
Val := cardMin(Space,V)
|
||||
Val := cardMax(Space,V)
|
||||
Val := lubMin(Space,V)
|
||||
Val := lubMax(Space,V)
|
||||
Val := glbMin(Space,V)
|
||||
Val := glbMax(Space,V)
|
||||
Val := glb_ranges(Space,V)
|
||||
Val := lub_ranges(Space,V)
|
||||
Val := unknown_ranges(Space,V)
|
||||
Val := glb_values(Space,V)
|
||||
Val := lub_values(Space,V)
|
||||
Val := unknown_values(Space,V)
|
||||
|
||||
DISJUNCTORS
|
||||
===========
|
||||
|
||||
Disjunctors provide support for disjunctions of clauses, where each clause is a
|
||||
conjunction of constraints:
|
||||
|
||||
C1 or C2 or ... or Cn
|
||||
|
||||
Each clause is executed "speculatively": this means it does not affect the main
|
||||
space. When a clause becomes failed, it is discarded. When only one clause
|
||||
remains, it is committed: this means that it now affects the main space.
|
||||
|
||||
Example:
|
||||
|
||||
Consider the problem where either X=Y=0 or X=Y+(1 or 2) for variable X and Y
|
||||
that take values in 0..3.
|
||||
|
||||
Space := space,
|
||||
[X,Y] := intvars(Space,2,0,3),
|
||||
|
||||
First, we must create a disjunctor as a manager for our 2 clauses:
|
||||
|
||||
Disj := disjunctor(Space),
|
||||
|
||||
We can now create our first clause:
|
||||
|
||||
C1 := clause(Disj),
|
||||
|
||||
This clause wants to constrain X and Y to 0. However, since it must be
|
||||
executed "speculatively", it must operate on new variables X1 and Y1 that
|
||||
shadow X and Y:
|
||||
|
||||
[X1,Y1] := intvars(C1,2,0,3),
|
||||
C1 += forward([X,Y],[X1,Y1]),
|
||||
|
||||
The forward(...) stipulation indicates which global variable is shadowed by
|
||||
which clause-local variable. Now we can post the speculative clause-local
|
||||
constraints for X=Y=0:
|
||||
|
||||
C1 += rel(X1,'IRT_EQ',0),
|
||||
C1 += rel(Y1,'IRT_EQ',0),
|
||||
|
||||
We now create the second clause which uses X2 and Y2 to shadow X and Y:
|
||||
|
||||
C2 := clause(Disj),
|
||||
[X2,Y2] := intvars(C2,2,0,3),
|
||||
C2 += forward([X,Y],[X2,Y2]),
|
||||
|
||||
However, this clause also needs a clause-local variable Z2 taking values 1 or
|
||||
2 in order to post the clause-local constraint X2=Y2+Z2:
|
||||
|
||||
Z2 := intvar(C2,1,2),
|
||||
C2 += linear([-1,1,1],[X2,Y2,Z2],'IRT_EQ',0),
|
||||
|
||||
Finally, we can branch and search:
|
||||
|
||||
Space += branch([X,Y],'INT_VAR_SIZE_MIN','INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
|
||||
and lookup values of variables in each solution:
|
||||
|
||||
[X_,Y_] := val(SolSpace,[X,Y]).
|
78
packages/gecode/Makefile.in
Normal file
78
packages/gecode/Makefile.in
Normal file
@ -0,0 +1,78 @@
|
||||
#
|
||||
# default base directory for YAP installation
|
||||
# (EROOT for architecture-dependent files)
|
||||
#
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
ROOTDIR = $(prefix)
|
||||
EROOTDIR = @exec_prefix@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
#
|
||||
# where the binary should be
|
||||
#
|
||||
BINDIR = $(EROOTDIR)/bin
|
||||
#
|
||||
# where YAP should look for libraries
|
||||
#
|
||||
LIBDIR=@libdir@
|
||||
YAPLIBDIR=@libdir@/Yap
|
||||
#
|
||||
# where YAP should look for architecture-independent Prolog libraries
|
||||
#
|
||||
SHAREDIR=$(ROOTDIR)/share
|
||||
#
|
||||
#
|
||||
CXX=@CXX@
|
||||
CXXFLAGS= @SHLIB_CXXFLAGS@ $(YAP_EXTRAS) $(DEFS) -I. -I$(srcdir) -I../.. -I$(srcdir)/../../include -I$(srcdir)/../../os
|
||||
#
|
||||
#
|
||||
# You shouldn't need to change what follows.
|
||||
#
|
||||
INSTALL=@INSTALL@
|
||||
INSTALL_DATA=@INSTALL_DATA@
|
||||
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
SHELL=/bin/sh
|
||||
RANLIB=@RANLIB@
|
||||
srcdir=@srcdir@
|
||||
SO=@SO@
|
||||
#4.1VPATH=@srcdir@:@srcdir@/OPTYap
|
||||
CWD=$(PWD)
|
||||
#
|
||||
|
||||
OBJS=gecode_yap.o
|
||||
SOBJS=gecode_yap.@SO@
|
||||
|
||||
GECODE_VERSION = @GECODE_VERSION@
|
||||
DISJUNCTOR = -DDISJUNCTOR
|
||||
GECODE_LIBS = @GECODE_EXTRALIBS@
|
||||
GECODE_MAJOR = @GECODE_MAJOR@
|
||||
all: $(SOBJS) gecode.yap
|
||||
|
||||
gecode_yap.o: \
|
||||
$(srcdir)/gecode$(GECODE_MAJOR)_yap.cc \
|
||||
$(srcdir)/gecode$(GECODE_MAJOR)-common.icc \
|
||||
$(srcdir)/$(GECODE_VERSION)/gecode_yap_cc_impl_auto_generated.icc \
|
||||
$(srcdir)/$(GECODE_VERSION)/gecode_yap_cc_init_auto_generated.icc \
|
||||
$(srcdir)/$(GECODE_VERSION)/gecode_yap_cc_forward_auto_generated.icc \
|
||||
$(srcdir)/disjunctor.icc \
|
||||
$(srcdir)/disjunctor.hh
|
||||
$(CXX) -c -I$(srcdir)/$(GECODE_VERSION) $(CXXFLAGS) $(DISJUNCTOR) -o $@ $<
|
||||
|
||||
@DO_SECOND_LD@gecode_yap.@SO@: gecode_yap.o
|
||||
@DO_SECOND_LD@ @SHLIB_CXX_LD@ -o gecode_yap.@SO@ gecode_yap.o $(LDFLAGS) $(GECODE_LIBS) @EXTRA_LIBS_FOR_DLLS@
|
||||
|
||||
gecode.yap: $(srcdir)/gecode$(GECODE_MAJOR)_yap_hand_written.yap $(srcdir)/$(GECODE_VERSION)/gecode_yap_auto_generated.yap
|
||||
cat $^ > $@
|
||||
|
||||
.PHONY: all clean install
|
||||
|
||||
clean:
|
||||
-rm -f *.o *.so *~ gecode.yap
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(YAPLIBDIR)
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
||||
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/gecode
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
$(INSTALL) gecode.yap $(DESTDIR)$(SHAREDIR)/Yap
|
||||
$(INSTALL) $(srcdir)/clpfd.yap $(DESTDIR)$(SHAREDIR)/Yap/gecode
|
34
packages/gecode/Makefile.sav
Normal file
34
packages/gecode/Makefile.sav
Normal file
@ -0,0 +1,34 @@
|
||||
CODEGEN=code-generator.py
|
||||
DISJUNCTOR = -DDISJUNCTOR
|
||||
|
||||
yap: gecode_yap.so gecode.yap
|
||||
|
||||
gecode_yap.o: gecode_yap.cc gecode-common.icc \
|
||||
gecode_yap_cc_impl_auto_generated.icc \
|
||||
gecode_yap_cc_init_auto_generated.icc \
|
||||
gecode_yap_cc_forward_auto_generated.icc \
|
||||
disjunctor.icc disjunctor.hh
|
||||
$(CXX) -Wall -ggdb -c -shared -fPIC $(DISJUNCTOR) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $<
|
||||
|
||||
gecode_yap.so: gecode_yap.o
|
||||
$(CXX) -shared $(LDFLAGS) -o $@ $< -lgecodeint -lgecodeset -lgecodesearch
|
||||
|
||||
gecode_yap_cc_init_auto_generated.icc: $(CODEGEN)
|
||||
python $< -t yap-cc-init > $@
|
||||
|
||||
gecode_yap_cc_impl_auto_generated.icc: $(CODEGEN)
|
||||
python $< -t yap-cc-impl > $@
|
||||
|
||||
gecode_yap_cc_forward_auto_generated.icc: $(CODEGEN)
|
||||
python $< -t yap-cc-forward > $@
|
||||
|
||||
gecode_yap_auto_generated.yap: $(CODEGEN)
|
||||
python $< -t yap-prolog > $@
|
||||
|
||||
gecode.yap: gecode_yap_hand_written.yap gecode_yap_auto_generated.yap
|
||||
cat $^ > $@
|
||||
|
||||
.PHONY: yap
|
||||
|
||||
clean:
|
||||
-rm -f *.o *.so *~ *_auto_generated* gecode.yap
|
12
packages/gecode/README
Normal file
12
packages/gecode/README
Normal file
@ -0,0 +1,12 @@
|
||||
Development of gecode/yap takes place in:
|
||||
|
||||
git@github.com:denys-duchier/yap-6.3.git
|
||||
|
||||
which tracks the official yap repository and is also regularly pulled into it.
|
||||
see:
|
||||
https://github.com/denys-duchier/yap-6.3
|
||||
|
||||
Enquiries/bug reports can be made either on the yap mailing list or to the
|
||||
author denys.duchier /AT/ univ-orleans.fr.
|
||||
|
||||
What litle documentation there is can be found in file DOC.txt.
|
129
packages/gecode/clp_examples/3jugs.yap
Normal file
129
packages/gecode/clp_examples/3jugs.yap
Normal file
@ -0,0 +1,129 @@
|
||||
% Example with matrices,based on:
|
||||
%
|
||||
% Three jugs problem in Minzinc modelled as a shortest path problem.
|
||||
%
|
||||
% Problem from Taha "Introduction to Operations Research", page 245
|
||||
%
|
||||
% Model created by Hakan Kjellerstrand, hakank@bonetmail.com
|
||||
% See also my MiniZinc page: http://www.hakank.org/minizinc
|
||||
|
||||
%
|
||||
% VSC: had to transpose the matrix, and change the constraints....
|
||||
%
|
||||
|
||||
:- style_check( all ).
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
:- use_module(library(maplist)).
|
||||
:- use_module(library(lists)).
|
||||
|
||||
main :-
|
||||
problem(Z, X, InFlow, OutFlow, N),
|
||||
out(Z, X, InFlow, OutFlow, N),
|
||||
fail.
|
||||
main.
|
||||
|
||||
problem(Z, X, InFlow, OutFlow, N) :-
|
||||
N = 15,
|
||||
Start = 1,
|
||||
End = 15,
|
||||
M = 999,
|
||||
d( M, DD ),
|
||||
D = array[1..N,1..N] of DD, % distance
|
||||
RHS = array[1..N] of _, % requirements (right hand statement)
|
||||
X = array[1..N, 1..N] of 0..1, % the resulting matrix, 1 if connected, 0 else
|
||||
OutFlow = array[1..N] of 0..1,
|
||||
InFlow = array[1..N] of 0..1,
|
||||
|
||||
% objective to minimize
|
||||
Z in 0..M,
|
||||
Z #= sum( [I in 1..N, J in 1..N] where D[I,J]<M,
|
||||
D[I,J]*X[I,J]),
|
||||
|
||||
% solve minimize z;
|
||||
% alternative solve statements which may give faster solution
|
||||
%solve :: int_search([ x[i,j] | i,j in 1..n], first_fail, indomain_min, complete) minimize z;
|
||||
% solve minimize z;
|
||||
minimize(Z),
|
||||
|
||||
|
||||
% constraint
|
||||
foreach(I in 1..N,
|
||||
( I == Start ->
|
||||
RHS[I] <== 1 ;
|
||||
I == End ->
|
||||
RHS[I] <== -1 ;
|
||||
RHS[I] <== 0 )
|
||||
),
|
||||
|
||||
|
||||
% must be larger than 0??
|
||||
foreach( [I in 1..N, J in 1..N],
|
||||
( D[J,I] = M ->
|
||||
X[J,I] #= 0 ;
|
||||
true )
|
||||
),
|
||||
% outflow constraint
|
||||
foreach(I in 1..N,
|
||||
OutFlow[I] #= sum(J in 1..N where D[J,I]<M, X[J,I])
|
||||
),
|
||||
% inflow constraint
|
||||
foreach(J in 1..N,
|
||||
InFlow[J] #= sum(I in 1..N where D[J,I]<M, X[J,I])
|
||||
),
|
||||
% inflow = outflow
|
||||
foreach(I in 1..N, OutFlow[I]-InFlow[I]#=RHS[I]),
|
||||
|
||||
% labeling
|
||||
labeling( [], X).
|
||||
|
||||
% data
|
||||
d(M, [
|
||||
M, 1, M, M, M, M, M, M, 1, M, M, M, M, M, M,
|
||||
M, M, 1, M, M, M, M, M, M, M, M, M, M, M, M,
|
||||
M, M, M, 1, M, M, M, M, 1, M, M, M, M, M, M,
|
||||
M, M, M, M, 1, M, M, M, M, M, M, M, M, M, M,
|
||||
M, M, M, M, M, 1, M, M, 1, M, M, M, M, M, M,
|
||||
M, M, M, M, M, M, 1, M, M, M, M, M, M, M, M,
|
||||
M, M, M, M, M, M, M, 1, 1, M, M, M, M, M, M,
|
||||
M, M, M, M, M, M, M, M, M, M, M, M, M, M, 1,
|
||||
M, M, M, M, M, M, M, M, M, 1, M, M, M, M, M,
|
||||
M, 1, M, M, M, M, M, M, M, M, 1, M, M, M, M,
|
||||
M, M, M, M, M, M, M, M, M, M, M, 1, M, M, M,
|
||||
M, 1, M, M, M, M, M, M, M, M, M, M, 1, M, M,
|
||||
M, M, M, M, M, M, M, M, M, M, M, M, M, 1, M,
|
||||
M, 1, M, M, M, M, M, M, M, M, M, M, M, M, 1,
|
||||
M, M, M, M, M, M, M, M, M, M, M, M, M, M, M
|
||||
]).
|
||||
|
||||
/*
|
||||
% shows the result matrix
|
||||
output [
|
||||
if i = 1 /\ j = 1 then
|
||||
"z: " ++ show(z) ++ "\n" ++
|
||||
"inFlow: " ++ show(inFlow) ++ "\n" ++ "outFlow: " ++ show(outFlow) ++ "\n" ++
|
||||
" 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5\n"
|
||||
else "" endif ++
|
||||
if j = 1 then show(i) ++ " : " else "" endif ++
|
||||
show(x[i,j]) ++ if j = n then "\n" else " " endif
|
||||
| i in 1..n, j in 1..n
|
||||
];
|
||||
|
||||
*/
|
||||
|
||||
out(Cost, Ts, Ins, Out, N) :-
|
||||
format('cost = ~d~n', [Cost]),
|
||||
InsL <== list(Ins),
|
||||
OutL <== list(Out),
|
||||
format('Inputs =', []), maplist(out, InsL), nl,
|
||||
format('Outputs =', []), maplist(out, OutL), nl,
|
||||
format('transitions =~n', []),
|
||||
foreach(I in 1..N, outl(Ts[_,I]) ).
|
||||
|
||||
outl( X ) :-
|
||||
L <== X, % evaluate matrix notation to Prolog lists.
|
||||
format(' ', []),
|
||||
maplist(out, L), nl.
|
||||
|
||||
out(0) :- format(' .', []).
|
||||
out(1) :- format(' 1', []).
|
68
packages/gecode/clp_examples/photo.yap
Normal file
68
packages/gecode/clp_examples/photo.yap
Normal file
@ -0,0 +1,68 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
:- use_module(library(maplist)).
|
||||
|
||||
% 5 people want to have a photograph together, but they have preferences.
|
||||
photo(Ex, People, Amount) :-
|
||||
ex(Ex, People, Preferences),
|
||||
length(People, Len),
|
||||
Len0 is Len-1,
|
||||
People ins 0..Len0,
|
||||
all_distinct(People),
|
||||
% Bools are the satisfied constraints
|
||||
maplist(preference_satisfied, Preferences, Bools),
|
||||
length(Preferences, PLen),
|
||||
Amount in 0..PLen,
|
||||
sum( Bools ) #= Amount,
|
||||
% add all satisfied constraints
|
||||
maximize(Amount),
|
||||
labeling([], People).
|
||||
|
||||
%reification, use with care
|
||||
preference_satisfied(X-Y, B) :-
|
||||
abs(X - Y) #= 1 #<==> B.
|
||||
|
||||
ex(s,[Alice,Bob,Carl,Deb,Evan], [Alice-Carl,
|
||||
Carl-Deb,
|
||||
Deb-Alice,
|
||||
Evan-Alice,
|
||||
Bob-Evan,
|
||||
Carl-Evan,
|
||||
Deb-Evan,
|
||||
Evan-Bob]).
|
||||
|
||||
ex(l,[Betty,Chris,Donald,Fred,Gary,Mary,Paul,Peter,Susan],
|
||||
[Betty-Donald,
|
||||
Betty-Gary,
|
||||
Betty-Peter,
|
||||
Chris-Gary,
|
||||
Chris-Susan,
|
||||
Donald-Fred,
|
||||
Donald-Gary,
|
||||
Fred-Betty,
|
||||
Fred-Gary,
|
||||
Gary-Mary,
|
||||
Gary-Betty,
|
||||
Mary-Betty,
|
||||
Mary-Susan,
|
||||
Paul-Donald,
|
||||
Paul-Peter,
|
||||
Peter-Susan,
|
||||
Peter-Paul]).
|
38
packages/gecode/clp_examples/queens.yap
Normal file
38
packages/gecode/clp_examples/queens.yap
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
:- use_module(library(maplist)).
|
||||
|
||||
queens(N, Queens) :-
|
||||
length(Queens, N),
|
||||
Queens ins 1..N,
|
||||
all_distinct(Queens),
|
||||
foldl(inc, Queens, Inc, 0, _), % [0, 1, 2, .... ]
|
||||
foldl(dec, Queens, Dec, 0, _), % [0, -1, -2, ... ]
|
||||
all_distinct(Inc,Queens),
|
||||
all_distinct(Dec,Queens),
|
||||
labeling([], Queens).
|
||||
|
||||
inc(_, I0, I0, I) :-
|
||||
I is I0+1.
|
||||
|
||||
dec(_, I0, I0, I) :-
|
||||
I is I0-1.
|
||||
|
||||
lqueens(N, Queens) :-
|
||||
length(Queens, N),
|
||||
Queens ins 1..N,
|
||||
all_distinct(Queens),
|
||||
lconstrain( Queens, 0 ),
|
||||
labeling([], Queens).
|
||||
|
||||
lconstrain([], _).
|
||||
lconstrain( [Q|Queens], I0) :-
|
||||
I is I0+1,
|
||||
foldl(constrain(Q, I0), Queens, I, _),
|
||||
lconstrain( Queens, I).
|
||||
|
||||
constrain(Q, I, R, J, J1) :-
|
||||
J1 is J+1,
|
||||
Q + I #\= R + J,
|
||||
Q - I #\= R - J.
|
||||
|
34
packages/gecode/clp_examples/send_more_money.yap
Normal file
34
packages/gecode/clp_examples/send_more_money.yap
Normal file
@ -0,0 +1,34 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011, 2013 by Denys Duchier, Vitor Santos Costa
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
|
||||
% S E N D
|
||||
% + M O R E
|
||||
% ---------
|
||||
% M O N E Y
|
||||
send_more_money(Letters) :-
|
||||
[S,E,N,D,M,O,R,Y] = Letters,
|
||||
Letters ins 0..9,
|
||||
M #\= 0,
|
||||
S #\= 0,
|
||||
all_distinct(Letters),
|
||||
1000*S + 100*E + 10*N + D +
|
||||
1000*M + 100*O + 10*R + E #=
|
||||
10000*M + 1000*O + 100*N + 10*E + Y,
|
||||
labeling([], Letters).
|
36
packages/gecode/clp_examples/send_most_money.yap
Normal file
36
packages/gecode/clp_examples/send_most_money.yap
Normal file
@ -0,0 +1,36 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011, 2013 by Denys Duchier, Vitor Santos Costa
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
|
||||
% S E N D
|
||||
% + M O S T
|
||||
% ---------
|
||||
% M O N E Y
|
||||
send_most_money(Letters, Money) :-
|
||||
[S,E,N,D,M,O,T,Y] = Letters,
|
||||
Letters ins 0..9,
|
||||
Money in 0..99999,
|
||||
M #\= 0,
|
||||
S #\= 0,
|
||||
all_distinct(Letters),
|
||||
1000*S + 100*E + 10*N + D +
|
||||
1000*M + 100*O + 10*S + T #= Money,
|
||||
10000*M + 1000*O + 100*N + 10*E + Y #= Money,
|
||||
maximize(Money),
|
||||
labeling([], Letters).
|
79
packages/gecode/clp_examples/sudoku.yap
Normal file
79
packages/gecode/clp_examples/sudoku.yap
Normal file
@ -0,0 +1,79 @@
|
||||
|
||||
|
||||
:- style_check(all).
|
||||
|
||||
:- use_module(library(gecode/clpfd)).
|
||||
:- use_module(library(maplist)).
|
||||
|
||||
|
||||
sudoku( Ex ) :-
|
||||
problem(Ex, Els),
|
||||
output(Els).
|
||||
|
||||
%
|
||||
% gecode constraints
|
||||
%
|
||||
problem(Ex, Els) :-
|
||||
length(Els, 81),
|
||||
Els ins 1..9,
|
||||
M <== matrix( Els, [dim=[9,9]] ),
|
||||
% select rows
|
||||
foreach( I in 0..8 , all_different(M[I,_]) ),
|
||||
% select cols
|
||||
foreach( J in 0..8, all_different(M[_,J]) ),
|
||||
% select squares
|
||||
foreach( [I,J] ins 0..2 ,
|
||||
all_different(M[I*3+(0..2),J*3+(0..2)]) ),
|
||||
ex(Ex, Els),
|
||||
% maplist( bound, Els, Exs),
|
||||
labeling( [], Els ).
|
||||
|
||||
|
||||
% The gecode interface doesn't support wake-ups on binding constained variables, this is the closest.
|
||||
%
|
||||
bound(El, X) :-
|
||||
( nonvar(X) -> El #= X ; true ).
|
||||
|
||||
%
|
||||
% output using matrix library
|
||||
%
|
||||
output(Els) :-
|
||||
M <== matrix( Els, [dim=[9,9]] ),
|
||||
foreach( I in 0..2 , output(M, I) ),
|
||||
output_line.
|
||||
|
||||
output(M, I) :-
|
||||
output_line,
|
||||
foreach( J in 0..2 , output_row(M, J+I*3) ).
|
||||
|
||||
output_row( M, Row ) :-
|
||||
L <== M[Row,_],
|
||||
format('| ~d ~d ~d | ~d ~d ~d | ~d ~d ~d |~n', L).
|
||||
|
||||
output_line :-
|
||||
format(' ~|~`-t~24+~n', []).
|
||||
|
||||
ex( 1, [
|
||||
_,6,_,1,_,4,_,5,_,
|
||||
_,_,8,3,_,5,6,_,_,
|
||||
2,_,_,_,_,_,_,_,1,
|
||||
8,_,_,4,_,7,_,_,6,
|
||||
_,_,6,_,_,_,3,_,_,
|
||||
7,_,_,9,_,1,_,_,4,
|
||||
5,_,_,_,_,_,_,_,2,
|
||||
_,_,7,2,_,6,9,_,_,
|
||||
_,4,_,5,_,8,_,7,_
|
||||
] ).
|
||||
|
||||
|
||||
ex(2, [
|
||||
_,_,1,_,8,_,6,_,4,
|
||||
_,3,7,6,_,_,_,_,_,
|
||||
5,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,5,_,_,_,
|
||||
_,_,6,_,1,_,8,_,_,
|
||||
_,_,_,4,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,3,
|
||||
_,_,_,_,_,7,5,2,_,
|
||||
8,_,2,_,9,_,7,_,_
|
||||
] ).
|
BIN
packages/gecode/clp_examples/test.yap
Normal file
BIN
packages/gecode/clp_examples/test.yap
Normal file
Binary file not shown.
1143
packages/gecode/clpfd.yap
Normal file
1143
packages/gecode/clpfd.yap
Normal file
File diff suppressed because it is too large
Load Diff
82
packages/gecode/configure.in
Normal file
82
packages/gecode/configure.in
Normal file
@ -0,0 +1,82 @@
|
||||
dnl Gecode support
|
||||
|
||||
dnl gecode is usually in /usr/local
|
||||
if test -d /usr/local/include/gecode; then
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
SHLIB_CXXFLAGS="$SHLIB_CXXFLAGS -I/usr/local/include"
|
||||
GECODE_EXTRALIBS="-L/usr/local/lib"
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADER(gecode/support/config.hpp,
|
||||
have_gecode=yes, have_gecode=no)
|
||||
|
||||
AC_ARG_ENABLE(gecode,
|
||||
[ --enable-gecode install gecode library],
|
||||
[use_gecode="$enableval"
|
||||
if test "$use_gecode" = yes; then
|
||||
if test "$have_gecode" = no; then
|
||||
AC_MSG_ERROR([cannot enable gecode: gecode library not found])
|
||||
fi
|
||||
fi], use_gecode=$have_gecode)
|
||||
|
||||
if test "$use_gecode" = no; then
|
||||
ENABLE_GECODE="@# "
|
||||
else
|
||||
ENABLE_GECODE=""
|
||||
fi
|
||||
AC_SUBST(ENABLE_GECODE)
|
||||
|
||||
AC_MSG_CHECKING([if dynamic arrays are supported])
|
||||
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[void foo(int n) { int a[n]; a[1]=0; }]],[[foo(3);]])
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([HAVE_DYNARRAY],[1],[Define if dynamic arrays are supported])
|
||||
],[
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
GECODE_VERSION=unknown-gecode-version
|
||||
|
||||
GECODE_EXTRALIBS="$GECODE_EXTRALIBS -lgecodesupport -lgecodekernel -lgecodefloat -lgecodeint -lgecodeset -lgecodesearch -lgecodeset"
|
||||
|
||||
AC_SUBST(GECODE_VERSION)
|
||||
AC_SUBST(GECODE_EXTRALIBS)
|
||||
|
||||
if test "$use_gecode" = yes; then
|
||||
AC_MSG_CHECKING([gecode version])
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include "gecode/support/config.hpp"
|
||||
#include <stdio.h>
|
||||
]],[[
|
||||
FILE* out = fopen("conftest.out","w");
|
||||
fprintf(out,"%s\n",GECODE_VERSION);
|
||||
fclose(out);
|
||||
return 0;
|
||||
]])],[GECODE_VERSION=$(cat conftest.out)
|
||||
AC_MSG_RESULT([$GECODE_VERSION])],
|
||||
[AC_MSG_ERROR([cannot determine gecode version])])
|
||||
case "$target_os" in
|
||||
*darwin*)
|
||||
AC_MSG_CHECKING([if -framework gecode is required])
|
||||
AC_LANG_PUSH([C++])
|
||||
saved_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -framework gecode"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include "gecode/int.hh"
|
||||
]],[[
|
||||
Gecode::Exception e("","");
|
||||
return 0;
|
||||
]])],[GECODE_EXTRALIBS="-framework gecode"
|
||||
AC_MSG_RESULT([yes])],
|
||||
[AC_MSG_RESULT([no])])
|
||||
AC_LANG_POP()
|
||||
CXXFLAGS="$saved_CXXFLAGS"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
GECODE_MAJOR=`echo $GECODE_VERSION| sed 's/\(^.\).*/\1/'`
|
||||
|
||||
AC_SUBST(GECODE_MAJOR)
|
5
packages/gecode/dev/Makefile
Normal file
5
packages/gecode/dev/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
all:
|
||||
python code-generator.py
|
||||
|
||||
clean:
|
||||
-rm -f *~ *.pyc
|
717
packages/gecode/dev/code-generator.py
Normal file
717
packages/gecode/dev/code-generator.py
Normal file
@ -0,0 +1,717 @@
|
||||
# -*- python -*-
|
||||
#==============================================================================
|
||||
# Copyright (C) 2011 by Denys Duchier
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under
|
||||
# the terms of the GNU General Public License as published by the Free Software
|
||||
# Foundation, either version 3 of the License, or (at your option) any later
|
||||
# version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
# details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#==============================================================================
|
||||
|
||||
import re
|
||||
|
||||
NOTICE_CC = """// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
"""
|
||||
|
||||
NOTICE_PROLOG="""%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
"""
|
||||
|
||||
def prolog_print_notice():
|
||||
print NOTICE_PROLOG
|
||||
|
||||
def cc_print_notice():
|
||||
print NOTICE_CC
|
||||
|
||||
class Type(object):
|
||||
|
||||
DEFAULT = re.compile("""^(.+)=(.+)$""")
|
||||
CONST = re.compile("""^const\\b(.+)$""")
|
||||
UNSIGNED = re.compile("""^unsigned\\b(.+)$""")
|
||||
REFERENCE = re.compile("""^(.+)&$""")
|
||||
|
||||
def __init__(self, text):
|
||||
if isinstance(text, Type):
|
||||
self.clone_from(text)
|
||||
return
|
||||
text = text.strip()
|
||||
m = self.DEFAULT.match(text)
|
||||
if m:
|
||||
self.default = m.group(2).strip()
|
||||
text = m.group(1).strip()
|
||||
else:
|
||||
self.default = None
|
||||
m = self.CONST.match(text)
|
||||
if m:
|
||||
self.const = True
|
||||
text = m.group(1).strip()
|
||||
else:
|
||||
self.const = False
|
||||
m = self.UNSIGNED.match(text)
|
||||
if m:
|
||||
self.unsigned = True
|
||||
text = m.group(1).strip()
|
||||
else:
|
||||
self.unsigned = False
|
||||
m = self.REFERENCE.match(text)
|
||||
if m:
|
||||
self.reference = True
|
||||
text = m.group(1).strip()
|
||||
else:
|
||||
self.reference = False
|
||||
self.type = text
|
||||
|
||||
def __str__(self):
|
||||
l = []
|
||||
if self.const: l.append("const ")
|
||||
if self.unsigned: l.append("unsigned ")
|
||||
l.append(self.type)
|
||||
if self.reference: l.append("&")
|
||||
if self.default is not None:
|
||||
l.append("=")
|
||||
l.append(self.default)
|
||||
return ''.join(l)
|
||||
|
||||
def clone_from(self, other):
|
||||
self.const = other.const
|
||||
self.unsigned = other.unsigned
|
||||
self.type = other.type
|
||||
self.reference = other.reference
|
||||
self.default = other.default
|
||||
|
||||
def clone(self):
|
||||
return type(self)(self)
|
||||
|
||||
|
||||
class Constraint(object):
|
||||
|
||||
DECL = re.compile("""^([^(]+)\\b(\w+)\((.*)\);$""")
|
||||
ARG = re.compile("""((?:[^,<(]|<[^>]*>|\([^)]*\))+),?""")
|
||||
|
||||
def __init__(self, line):
|
||||
if isinstance(line, Constraint):
|
||||
self.clone_from(line)
|
||||
return
|
||||
line = line.strip()
|
||||
m = self.DECL.match(line)
|
||||
self.rettype = Type(m.group(1).strip())
|
||||
self.name = m.group(2)
|
||||
argtypes = []
|
||||
for x in self.ARG.finditer(m.group(3).strip()):
|
||||
argtypes.append(Type(x.group(1)))
|
||||
self.argtypes = tuple(argtypes)
|
||||
self.api = None
|
||||
|
||||
def __str__(self):
|
||||
l = []
|
||||
l.append(str(self.rettype))
|
||||
l.append(" ")
|
||||
l.append(self.name)
|
||||
sep = "("
|
||||
for x in self.argtypes:
|
||||
l.append(sep)
|
||||
sep = ", "
|
||||
l.append(str(x))
|
||||
l.append(")")
|
||||
if self.api is not None:
|
||||
l.append(" -> ")
|
||||
l.append(self.api)
|
||||
l.append(";")
|
||||
return ''.join(l)
|
||||
|
||||
def clone_from(self, other):
|
||||
self.rettype = other.rettype.clone()
|
||||
self.name = other.name
|
||||
self.argtypes = tuple(t.clone() for t in other.argtypes)
|
||||
|
||||
def clone(self):
|
||||
return type(self)(self)
|
||||
|
||||
|
||||
COMMENT = re.compile("""^\\s*//.*$""")
|
||||
|
||||
def load_decls(filename):
|
||||
decls = []
|
||||
for line in open(filename):
|
||||
line = line.strip()
|
||||
if not line: continue
|
||||
m = COMMENT.match(line)
|
||||
if m: continue
|
||||
decls.append(Constraint(line))
|
||||
return decls
|
||||
|
||||
class DeclsLoader(object):
|
||||
|
||||
def __init__(self, filename):
|
||||
self.decls = load_decls(filename)
|
||||
|
||||
def print_decls(self):
|
||||
for con in self.decls:
|
||||
print str(con)
|
||||
|
||||
class PredGenerator(DeclsLoader):
|
||||
|
||||
OMIT = ("VarBranchOptions",
|
||||
"ValBranchOptions",
|
||||
"TieBreakVarBranch<IntVarBranch>",
|
||||
"TieBreak<IntVarBranch>",
|
||||
"TieBreak<FloatVarBranch>",
|
||||
"TieBreak<SetVarBranch>",
|
||||
"TieBreakVarBranchOptions",
|
||||
"TieBreakVarBranch<SetVarBranch>")
|
||||
|
||||
def __init__(self, filename):
|
||||
super(PredGenerator, self).__init__(filename)
|
||||
self._change_home_to_space()
|
||||
self._change_intsharedarray_to_intargs()
|
||||
self._generate()
|
||||
self._number()
|
||||
|
||||
def _change_home_to_space(self):
|
||||
for p in self.decls:
|
||||
for t in p.argtypes:
|
||||
if t.type=="Home":
|
||||
t.type="Space"
|
||||
|
||||
def _change_intsharedarray_to_intargs(self):
|
||||
for p in self.decls:
|
||||
for t in p.argtypes:
|
||||
if t.type=="IntSharedArray":
|
||||
t.type="IntArgs"
|
||||
|
||||
def _generate(self):
|
||||
# drop the constraints and optional arguments we can't handle
|
||||
preds = []
|
||||
for con in self.decls:
|
||||
if self._con_ok(con):
|
||||
con = con.clone()
|
||||
con.argtypes = tuple(self._drop_deco(t) for t in con.argtypes
|
||||
if t.type not in self.OMIT)
|
||||
preds.append(con)
|
||||
# for each pred that has an argument with a default produce
|
||||
# 2 preds (1 without, 1 with). repeat until all defaults have
|
||||
# been removed.
|
||||
again = True
|
||||
while again:
|
||||
preds_ = []
|
||||
again = False
|
||||
for con in preds:
|
||||
i = self._defaulted(con.argtypes)
|
||||
if i is None:
|
||||
preds_.append(con)
|
||||
else:
|
||||
again = True
|
||||
before = con.argtypes[:i]
|
||||
# without the default argument
|
||||
# and therefore without the args that follow
|
||||
con1 = con.clone()
|
||||
con1.argtypes = before
|
||||
preds_.append(con1)
|
||||
# with the default argument (not default anymore)
|
||||
con2 = con.clone()
|
||||
arg = con.argtypes[i].clone()
|
||||
arg.default=None
|
||||
after = con.argtypes[i+1:]
|
||||
con2.argtypes = before + (arg,) + after
|
||||
preds_.append(con2)
|
||||
preds = preds_
|
||||
self.preds = preds
|
||||
|
||||
def _con_ok(self, con):
|
||||
for t in con.argtypes:
|
||||
if (t.type in self.OMIT) and (t.default is None):
|
||||
return False
|
||||
return True
|
||||
|
||||
def _drop_deco(self, t):
|
||||
# drop const, ref, and unsigned indications
|
||||
t.const = False
|
||||
t.reference = False
|
||||
t.unsigned = False
|
||||
return t
|
||||
|
||||
def _defaulted(self, argtypes):
|
||||
i = 0
|
||||
for x in argtypes:
|
||||
if x.default is not None:
|
||||
return i
|
||||
i += 1
|
||||
return None
|
||||
|
||||
def _number(self):
|
||||
i = 1
|
||||
for x in self.preds:
|
||||
x.api = "%s_%d" % (x.name,i)
|
||||
i += 1
|
||||
|
||||
def print_preds(self):
|
||||
for p in self.preds:
|
||||
print str(p)
|
||||
|
||||
class Cluster(object):
|
||||
|
||||
def __init__(self, name, arity):
|
||||
self.name = name
|
||||
self.arity = arity
|
||||
self.preds = []
|
||||
|
||||
# discriminating tree based on argument types
|
||||
class DTree(object):
|
||||
|
||||
def __init__(self, i, preds, cluster):
|
||||
self.index = i
|
||||
self.cluster = cluster
|
||||
if len(preds) == 1 and len(preds[0].argtypes) == i:
|
||||
self.is_leaf = True
|
||||
self.pred = preds[0]
|
||||
return
|
||||
self.is_leaf = False
|
||||
# i is the index of the current arg
|
||||
# preds are the predicates to be indexed under this tree node
|
||||
dispatch = {}
|
||||
for p in preds:
|
||||
t = p.argtypes[i]
|
||||
d = dispatch.get(t.type, None)
|
||||
if d is None:
|
||||
d = []
|
||||
dispatch[t.type] = d
|
||||
d.append(p)
|
||||
self.subtrees = tuple((t2,DTree(i+1,p2,cluster))
|
||||
for t2,p2 in dispatch.iteritems())
|
||||
|
||||
def _generate_body(self, user_vars, lib_vars):
|
||||
if self.is_leaf:
|
||||
return PrologLiteral("gecode_constraint_%s(%s)" % (self.pred.api, ",".join(lib_vars)))
|
||||
X = user_vars[self.index]
|
||||
Y = lib_vars[self.index]
|
||||
return self._generate_dispatch(0, user_vars, lib_vars)
|
||||
|
||||
def _generate_dispatch(self, i, user_vars, lib_vars):
|
||||
if i == len(self.subtrees):
|
||||
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]
|
||||
Y = lib_vars[idx]
|
||||
# hack for disjunctor support
|
||||
if typ=="Space":
|
||||
typ = "Space_or_Clause"
|
||||
return PrologIF(
|
||||
PrologLiteral("is_%s(%s,%s)" % (typ,X,Y)),
|
||||
dtree._generate_body(user_vars, lib_vars),
|
||||
self._generate_dispatch(i+1, user_vars, lib_vars))
|
||||
|
||||
def _cc_descriptors(self, name, argtypes):
|
||||
if self.is_leaf:
|
||||
return (CCDescriptor(name, argtypes, self.pred.api),)
|
||||
descriptors = []
|
||||
for typ,dtree in self.subtrees:
|
||||
descriptors.extend(dtree._cc_descriptors(name,(argtypes+(typ,))))
|
||||
return descriptors
|
||||
|
||||
class YAPConstraintGeneratorBase(PredGenerator):
|
||||
|
||||
def __init__(self, filename):
|
||||
super(YAPConstraintGeneratorBase, self).__init__(filename)
|
||||
self._classify()
|
||||
self._dtreefy()
|
||||
|
||||
# create clusters (predicate,arity)
|
||||
def _classify(self):
|
||||
clusters = {}
|
||||
for pred in self.preds:
|
||||
name = pred.name
|
||||
arity = len(pred.argtypes)
|
||||
key = (name,arity)
|
||||
cluster = clusters.get(key, None)
|
||||
if cluster is None:
|
||||
cluster = Cluster(name, arity)
|
||||
clusters[key] = cluster
|
||||
cluster.preds.append(pred)
|
||||
self.clusters = clusters
|
||||
|
||||
# for each cluster, create a dtree
|
||||
def _dtreefy(self):
|
||||
dtrees = {}
|
||||
for key, cluster in self.clusters.iteritems():
|
||||
dtree = DTree(0, cluster.preds, cluster)
|
||||
dtrees[key] = dtree
|
||||
self.dtrees = dtrees
|
||||
|
||||
def _user_vars(self, arity):
|
||||
return tuple(("X%d" % i) for i in range(arity))
|
||||
|
||||
def _lib_vars(self, arity):
|
||||
return tuple(("Y%d" % i) for i in range(arity))
|
||||
|
||||
class YAPConstraintPrologGenerator(YAPConstraintGeneratorBase):
|
||||
|
||||
def __init__(self, filename):
|
||||
super(YAPConstraintPrologGenerator, self).__init__(filename)
|
||||
|
||||
def _prolog_clauses(self):
|
||||
clauses = []
|
||||
for (name, arity), dtree in self.dtrees.iteritems():
|
||||
user_vars = self._user_vars(arity)
|
||||
lib_vars = self._lib_vars(arity)
|
||||
head = "%s(%s)" % (name, ",".join(user_vars))
|
||||
body = dtree._generate_body(user_vars, lib_vars)
|
||||
clause = PrologClause(head, body)
|
||||
clauses.append(clause)
|
||||
return clauses
|
||||
|
||||
def generate(self):
|
||||
out = OStream(sys.stdout)
|
||||
for clause in self._prolog_clauses():
|
||||
clause.pp(out, 0)
|
||||
|
||||
class YAPConstraintCCGenerator(YAPConstraintGeneratorBase):
|
||||
|
||||
def __init__(self, filename):
|
||||
super(YAPConstraintCCGenerator, self).__init__(filename)
|
||||
|
||||
def _cc_descriptors(self):
|
||||
descriptors = []
|
||||
for (name, arity), dtree in self.dtrees.iteritems():
|
||||
descriptors.extend(dtree._cc_descriptors(name,()))
|
||||
return descriptors
|
||||
|
||||
def generate_impl(self):
|
||||
for d in self._cc_descriptors():
|
||||
d.generate_impl()
|
||||
|
||||
def generate_init(self):
|
||||
for d in self._cc_descriptors():
|
||||
d.generate_init()
|
||||
|
||||
# output stream that keeps track of the current column
|
||||
# to facilitate proper indentation
|
||||
|
||||
import sys
|
||||
|
||||
class OStream(object):
|
||||
|
||||
def __init__(self, fd=sys.stdout):
|
||||
self.file = fd
|
||||
self.column = 0
|
||||
|
||||
def write(self, s):
|
||||
reset = False
|
||||
for x in s.split('\n'):
|
||||
if reset:
|
||||
self.newline()
|
||||
else:
|
||||
reset = True
|
||||
self.file.write(x)
|
||||
self.column += len(x)
|
||||
|
||||
def newline(self):
|
||||
self.file.write("\n")
|
||||
self.column = 0
|
||||
|
||||
def writeln(self, s=None):
|
||||
if s is not None:
|
||||
self.write(s)
|
||||
self.newline()
|
||||
|
||||
def indent_to(self, n):
|
||||
if n<self.column:
|
||||
self.newline()
|
||||
n = n - self.column
|
||||
while n>0:
|
||||
self.write(' ')
|
||||
n -= 1
|
||||
|
||||
# representation of prolog code that automatically supports proper indentation
|
||||
|
||||
class PrologObject(object):
|
||||
pass
|
||||
|
||||
class PrologClause(PrologObject):
|
||||
|
||||
def __init__(self, head, body):
|
||||
self.head = head
|
||||
self.body = body
|
||||
|
||||
def pp(self, out, offset):
|
||||
out.indent_to(offset)
|
||||
out.write(self.head)
|
||||
out.writeln(" :-")
|
||||
self.body.pp(out, offset+8)
|
||||
out.writeln(".")
|
||||
out.writeln()
|
||||
|
||||
class PrologLiteral(PrologObject):
|
||||
|
||||
def __init__(self, lit):
|
||||
self.literal = lit
|
||||
|
||||
def pp(self, out, offset):
|
||||
out.indent_to(offset)
|
||||
out.write(self.literal)
|
||||
|
||||
class PrologIF(PrologObject):
|
||||
|
||||
def __init__(self, cond, left, right):
|
||||
self.cond = cond
|
||||
self.left = left
|
||||
self.right = right
|
||||
|
||||
def pp(self, out, offset):
|
||||
out.indent_to(offset)
|
||||
out.write("("),
|
||||
indent = offset+1
|
||||
self.cond.pp(out, indent)
|
||||
out.writeln()
|
||||
out.indent_to(indent)
|
||||
out.write("-> ")
|
||||
self.left.pp(out, indent+3)
|
||||
out.writeln()
|
||||
out.indent_to(indent)
|
||||
out.write("; ")
|
||||
self.right.pp(out, indent+3)
|
||||
out.write(")")
|
||||
|
||||
ENUM_CLASSES = None
|
||||
ENUM_CLASSES_AVOID = ('ScriptMode','ViewSelStatus','ExecStatus',
|
||||
'ActorProperty','SpaceStatus')
|
||||
|
||||
def enum_classes():
|
||||
global ENUM_CLASSES
|
||||
if ENUM_CLASSES is None:
|
||||
filename = "gecode-enums-%s.py" % gecode_version()
|
||||
import imp
|
||||
ENUM_CLASSES = imp.load_source(
|
||||
"gecode_enums",
|
||||
filename).ENUM_CLASSES
|
||||
ENUM_CLASSES = tuple(x for x in ENUM_CLASSES if x.TYPE not in ENUM_CLASSES_AVOID)
|
||||
return ENUM_CLASSES
|
||||
|
||||
class YAPEnumImpl(object):
|
||||
|
||||
def generate(self):
|
||||
self._generate_atoms()
|
||||
self._generate_from_term()
|
||||
|
||||
def _generate_atoms(self):
|
||||
for x in self.ENUM:
|
||||
print "static YAP_Term gecode_%s;" % x
|
||||
print
|
||||
|
||||
def _generate_from_term(self):
|
||||
print "static %s gecode_%s_from_term(YAP_Term X)" % (self.TYPE,self.TYPE)
|
||||
print "{"
|
||||
for x in self.ENUM:
|
||||
print " if (X==gecode_%s) return %s;" % (x,x)
|
||||
print ' cerr << "this should never happen" << endl; exit(1);'
|
||||
print "}"
|
||||
print
|
||||
|
||||
def _generate_from_term_forward_decl(self):
|
||||
print "static %s gecode_%s_from_term(YAP_Term);" % (self.TYPE,self.TYPE)
|
||||
|
||||
class YAPEnumImplGenerator(object):
|
||||
|
||||
def generate(self):
|
||||
for c in enum_classes():
|
||||
class C(c,YAPEnumImpl): pass
|
||||
o = C()
|
||||
o.generate()
|
||||
|
||||
class YAPEnumForwardGenerator(object):
|
||||
|
||||
def generate(self):
|
||||
for c in enum_classes():
|
||||
class C(c,YAPEnumImpl): pass
|
||||
o = C()
|
||||
o._generate_from_term_forward_decl()
|
||||
|
||||
class YAPEnumInit(object):
|
||||
|
||||
def generate(self):
|
||||
for x in self.ENUM:
|
||||
print '{ YAP_Atom X= YAP_LookupAtom("%s");' % x
|
||||
print ' gecode_%s = YAP_MkAtomTerm(X);' % x
|
||||
print ' YAP_AtomGetHold(X); }'
|
||||
print
|
||||
|
||||
class YAPEnumInitGenerator(object):
|
||||
|
||||
def generate(self):
|
||||
for c in enum_classes():
|
||||
class C(c,YAPEnumInit): pass
|
||||
o = C()
|
||||
o.generate()
|
||||
|
||||
class YAPEnumProlog(object):
|
||||
|
||||
def generate(self):
|
||||
for x in self.ENUM:
|
||||
print "is_%s_('%s')." % (self.TYPE, x)
|
||||
print
|
||||
for x in self.ENUM:
|
||||
print "is_%s_('%s','%s')." % (self.TYPE, x, x)
|
||||
print
|
||||
print "is_%s(X,Y) :- nonvar(X), is_%s_(X,Y)." % (self.TYPE,self.TYPE)
|
||||
print "is_%s(X) :- is_%s(X,_)." % (self.TYPE,self.TYPE)
|
||||
print
|
||||
|
||||
class YAPEnumPrologGenerator(object):
|
||||
|
||||
def generate(self):
|
||||
for c in enum_classes():
|
||||
class C(c,YAPEnumProlog): pass
|
||||
o = C()
|
||||
o.generate()
|
||||
|
||||
class CCDescriptor(object):
|
||||
|
||||
def __init__(self, name, argtypes, api):
|
||||
self.name = name
|
||||
self.argtypes = argtypes
|
||||
self.api = api
|
||||
|
||||
def generate_impl(self):
|
||||
print "static int gecode_constraint_%s(void)" % self.api
|
||||
print "{"
|
||||
i = 1
|
||||
args = []
|
||||
has_space = False
|
||||
for t in self.argtypes:
|
||||
v = "X%d" % i
|
||||
a = "YAP_ARG%d" % i
|
||||
if t=="Space":
|
||||
v = "*space"
|
||||
print " GenericSpace* space = gecode_Space_from_term(%s);" % a
|
||||
has_space = True
|
||||
else:
|
||||
extra = ""
|
||||
if t in ("IntVar","BoolVar","SetVar","FloatVar","IntVarArgs","BoolVarArgs","SetVarArgs","FloatVarArgs"):
|
||||
extra = "space,"
|
||||
if has_space == False:
|
||||
print " GenericSpace* space = gecode_Space_from_term(%s);" % a
|
||||
has_space = True
|
||||
print " %s %s = gecode_%s_from_term(%s%s);" % (t,v,t,extra,a)
|
||||
args.append(v)
|
||||
i += 1
|
||||
print " %s(%s);" % (self.name, ",".join(args))
|
||||
print " return TRUE;"
|
||||
print "}"
|
||||
print
|
||||
|
||||
def generate_init(self):
|
||||
print 'YAP_UserCPredicate("gecode_constraint_%s", gecode_constraint_%s, %d);' \
|
||||
% (self.api, self.api, len(self.argtypes))
|
||||
|
||||
GECODE_VERSION = None
|
||||
|
||||
def gecode_version():
|
||||
global GECODE_VERSION
|
||||
if GECODE_VERSION is not None:
|
||||
return GECODE_VERSION
|
||||
from distutils.ccompiler import new_compiler
|
||||
try:
|
||||
from distutils.ccompiler import customize_compiler
|
||||
except:
|
||||
from distutils.sysconfig import customize_compiler
|
||||
import os
|
||||
cxx = new_compiler()
|
||||
customize_compiler(cxx)
|
||||
pid = os.getpid()
|
||||
file_hh = "_gecode_version_%d.hh" % pid
|
||||
file_txt = "_gecode_version_%d.txt" % pid
|
||||
f = file(file_hh,"w")
|
||||
f.write("""#include "gecode/support/config.hpp"
|
||||
@@GECODE_VERSION""")
|
||||
f.close()
|
||||
cxx.preprocess(file_hh,output_file=file_txt)
|
||||
f = open(file_txt)
|
||||
version = ""
|
||||
for line in f:
|
||||
if line.startswith("@@"):
|
||||
version = line[3:-2]
|
||||
break
|
||||
f.close()
|
||||
os.remove(file_hh)
|
||||
os.remove(file_txt)
|
||||
GECODE_VERSION = version
|
||||
return version
|
||||
|
||||
def generate_files():
|
||||
DIR = "../%s" % gecode_version()
|
||||
import os, os.path
|
||||
DIR = os.path.abspath(DIR)
|
||||
if not os.path.exists(DIR):
|
||||
os.mkdir(DIR)
|
||||
filename = "gecode-prototypes-%s.hh" % gecode_version()
|
||||
import sys
|
||||
stdout = sys.stdout
|
||||
try:
|
||||
sys.stdout = file(os.path.join(DIR,"gecode-version.txt"),"w")
|
||||
print gecode_version()
|
||||
sys.stdout.close()
|
||||
sys.stdout = file(os.path.join(DIR,"gecode_yap_auto_generated.yap"),"w")
|
||||
prolog_print_notice()
|
||||
YAPEnumPrologGenerator().generate()
|
||||
YAPConstraintPrologGenerator(filename).generate()
|
||||
sys.stdout.close()
|
||||
sys.stdout = file(os.path.join(DIR,"gecode_yap_cc_impl_auto_generated.icc"),"w")
|
||||
cc_print_notice()
|
||||
YAPEnumImplGenerator().generate()
|
||||
YAPConstraintCCGenerator(filename).generate_impl()
|
||||
sys.stdout.close()
|
||||
sys.stdout = file(os.path.join(DIR,"gecode_yap_cc_init_auto_generated.icc"),"w")
|
||||
cc_print_notice()
|
||||
YAPEnumInitGenerator().generate()
|
||||
YAPConstraintCCGenerator(filename).generate_init()
|
||||
sys.stdout.close()
|
||||
sys.stdout = file(os.path.join(DIR,"gecode_yap_cc_forward_auto_generated.icc"),"w")
|
||||
cc_print_notice()
|
||||
YAPEnumForwardGenerator().generate()
|
||||
sys.stdout.close()
|
||||
finally:
|
||||
sys.stdout = stdout
|
||||
|
||||
if __name__ == '__main__':
|
||||
generate_files()
|
1716
packages/gecode/dev/extractor/Doxyfile.in
Normal file
1716
packages/gecode/dev/extractor/Doxyfile.in
Normal file
File diff suppressed because it is too large
Load Diff
36
packages/gecode/dev/extractor/Makefile
Normal file
36
packages/gecode/dev/extractor/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
GECODEDIR := $(shell g++ $(CPPFLAGS) $(CXXFLAGS) -H -E gecodedir.hh 2>&1 >/dev/null | grep gecode/kernel.hh | awk '{print $$2}' | sed 's|/kernel.hh||')
|
||||
GECODECONFIG := $(GECODEDIR)/support/config.hpp
|
||||
GECODEVERSION := $(shell cat $(GECODECONFIG) | egrep '\<GECODE_VERSION\>' | awk '{print $$3}' | sed 's/"//g')
|
||||
PROTOTYPES = ../gecode-prototypes-$(GECODEVERSION).hh
|
||||
ENUMS = ../gecode-enums-$(GECODEVERSION).py
|
||||
|
||||
all: $(PROTOTYPES) $(ENUMS)
|
||||
|
||||
$(PROTOTYPES): % : xml/namespaceGecode.xml extract-prototypes.xsl
|
||||
cat notice.hh > $@ || { rm -f $@; exit 1; }
|
||||
xsltproc extract-prototypes.xsl $< \
|
||||
| grep EXPORT \
|
||||
| grep -v Symmetry \
|
||||
| sed 's/Gecode:://g' \
|
||||
| sed 's/< /</g' \
|
||||
| sed 's/ >/>/g' \
|
||||
| sed 's/ \&/\&/g' \
|
||||
| sed 's/, /,/g' \
|
||||
| sed 's/forceinline //g' \
|
||||
| sed 's/GECODE_INT_EXPORT //g' \
|
||||
| sed 's/GECODE_FLOAT_EXPORT //g' \
|
||||
| sed 's/GECODE_SET_EXPORT //g' \
|
||||
| grep -v '*' | sort >> $@ || { rm -f $@; exit 1; }
|
||||
|
||||
$(ENUMS): % : xml/namespaceGecode.xml extract-enums.xsl
|
||||
cat notice.py > $@ || { rm -f $@; exit 1; }
|
||||
xsltproc extract-enums.xsl $< >> $@ || { rm -f $@; exit 1; }
|
||||
|
||||
xml/namespaceGecode.xml: Doxyfile
|
||||
doxygen Doxyfile
|
||||
|
||||
Doxyfile: Doxyfile.in
|
||||
cat $< | sed "s#@GECODEDIR@#$(GECODEDIR)#" > $@ || { rm -f $@; exit 1; }
|
||||
|
||||
clean:
|
||||
-rm -rf *~ gecode-prototypes-*.hh gecode-enums-*.py Doxyfile xml
|
2
packages/gecode/dev/extractor/README
Normal file
2
packages/gecode/dev/extractor/README
Normal file
@ -0,0 +1,2 @@
|
||||
This directory contains support code for automatically extracting
|
||||
prototypes from the local Gecode installation.
|
31
packages/gecode/dev/extractor/extract-enums.xsl
Normal file
31
packages/gecode/dev/extractor/extract-enums.xsl
Normal file
@ -0,0 +1,31 @@
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="text" version="1.0"/>
|
||||
<xsl:template match="/">
|
||||
<xsl:text>ENUM_CLASSES = []
|
||||
|
||||
</xsl:text>
|
||||
<xsl:for-each select="/doxygen/compounddef/sectiondef[@kind='enum']/memberdef">
|
||||
<xsl:text>class </xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:text>(object):
|
||||
</xsl:text>
|
||||
<xsl:text> TYPE = '</xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:text>'
|
||||
ENUM = [</xsl:text>
|
||||
<xsl:for-each select="enumvalue">
|
||||
<xsl:if test="position()!=1"><xsl:text>,</xsl:text></xsl:if>
|
||||
<xsl:text>'</xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:text>'</xsl:text>
|
||||
</xsl:for-each>
|
||||
<xsl:text>]
|
||||
|
||||
ENUM_CLASSES.append(</xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:text>)
|
||||
|
||||
</xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
21
packages/gecode/dev/extractor/extract-prototypes.xsl
Normal file
21
packages/gecode/dev/extractor/extract-prototypes.xsl
Normal file
@ -0,0 +1,21 @@
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="text" version="1.0"/>
|
||||
<xsl:template match="/">
|
||||
<xsl:for-each select="/doxygen/compounddef/sectiondef[@kind='func']/memberdef[starts-with(@id,'group__TaskModel') and not(starts-with(name,'operator')) and name!='tiebreak' and name!='wait' and not(starts-with(@id,'group__TaskModelMiniModel'))]">
|
||||
<xsl:value-of select="type"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="name"/>
|
||||
<xsl:for-each select="param">
|
||||
<xsl:if test="position()=1"><xsl:text>(</xsl:text></xsl:if>
|
||||
<xsl:if test="position()!=1"><xsl:text>,</xsl:text></xsl:if>
|
||||
<xsl:value-of select="type"/>
|
||||
<xsl:for-each select="defval">
|
||||
<xsl:text>=</xsl:text>
|
||||
<xsl:value-of select="."/>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<xsl:text>);
|
||||
</xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
1
packages/gecode/dev/extractor/gecodedir.hh
Normal file
1
packages/gecode/dev/extractor/gecodedir.hh
Normal file
@ -0,0 +1 @@
|
||||
#include "gecode/kernel.hh"
|
3
packages/gecode/dev/extractor/notice.hh
Normal file
3
packages/gecode/dev/extractor/notice.hh
Normal file
@ -0,0 +1,3 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
3
packages/gecode/dev/extractor/notice.py
Normal file
3
packages/gecode/dev/extractor/notice.py
Normal file
@ -0,0 +1,3 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
113
packages/gecode/dev/gecode-enums-3.6.0.py
Normal file
113
packages/gecode/dev/gecode-enums-3.6.0.py
Normal file
@ -0,0 +1,113 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
113
packages/gecode/dev/gecode-enums-3.7.0.py
Normal file
113
packages/gecode/dev/gecode-enums-3.7.0.py
Normal file
@ -0,0 +1,113 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
113
packages/gecode/dev/gecode-enums-3.7.1.py
Normal file
113
packages/gecode/dev/gecode-enums-3.7.1.py
Normal file
@ -0,0 +1,113 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
113
packages/gecode/dev/gecode-enums-3.7.2.py
Normal file
113
packages/gecode/dev/gecode-enums-3.7.2.py
Normal file
@ -0,0 +1,113 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
113
packages/gecode/dev/gecode-enums-3.7.3.py
Normal file
113
packages/gecode/dev/gecode-enums-3.7.3.py
Normal file
@ -0,0 +1,113 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
119
packages/gecode/dev/gecode-enums-4.0.0.py
Normal file
119
packages/gecode/dev/gecode-enums-4.0.0.py
Normal file
@ -0,0 +1,119 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class ReifyMode(object):
|
||||
TYPE = 'ReifyMode'
|
||||
ENUM = ['RM_EQV','RM_IMP','RM_PMI']
|
||||
|
||||
ENUM_CLASSES.append(ReifyMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class IntVarBranch(object):
|
||||
TYPE = 'IntVarBranch'
|
||||
ENUM = ['INT_VAR_NONE','INT_VAR_RND','INT_VAR_DEGREE_MIN','INT_VAR_DEGREE_MAX','INT_VAR_AFC_MIN','INT_VAR_AFC_MAX','INT_VAR_MIN_MIN','INT_VAR_MIN_MAX','INT_VAR_MAX_MIN','INT_VAR_MAX_MAX','INT_VAR_SIZE_MIN','INT_VAR_SIZE_MAX','INT_VAR_SIZE_DEGREE_MIN','INT_VAR_SIZE_DEGREE_MAX','INT_VAR_SIZE_AFC_MIN','INT_VAR_SIZE_AFC_MAX','INT_VAR_REGRET_MIN_MIN','INT_VAR_REGRET_MIN_MAX','INT_VAR_REGRET_MAX_MIN','INT_VAR_REGRET_MAX_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntVarBranch)
|
||||
|
||||
class IntValBranch(object):
|
||||
TYPE = 'IntValBranch'
|
||||
ENUM = ['INT_VAL_MIN','INT_VAL_MED','INT_VAL_MAX','INT_VAL_RND','INT_VAL_SPLIT_MIN','INT_VAL_SPLIT_MAX','INT_VAL_RANGE_MIN','INT_VAL_RANGE_MAX','INT_VALUES_MIN','INT_VALUES_MAX']
|
||||
|
||||
ENUM_CLASSES.append(IntValBranch)
|
||||
|
||||
class IntAssign(object):
|
||||
TYPE = 'IntAssign'
|
||||
ENUM = ['INT_ASSIGN_MIN','INT_ASSIGN_MED','INT_ASSIGN_MAX','INT_ASSIGN_RND']
|
||||
|
||||
ENUM_CLASSES.append(IntAssign)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
||||
class SetVarBranch(object):
|
||||
TYPE = 'SetVarBranch'
|
||||
ENUM = ['SET_VAR_NONE','SET_VAR_RND','SET_VAR_DEGREE_MIN','SET_VAR_DEGREE_MAX','SET_VAR_AFC_MIN','SET_VAR_AFC_MAX','SET_VAR_MIN_MIN','SET_VAR_MIN_MAX','SET_VAR_MAX_MIN','SET_VAR_MAX_MAX','SET_VAR_SIZE_MIN','SET_VAR_SIZE_MAX','SET_VAR_SIZE_DEGREE_MIN','SET_VAR_SIZE_DEGREE_MAX','SET_VAR_SIZE_AFC_MIN','SET_VAR_SIZE_AFC_MAX']
|
||||
|
||||
ENUM_CLASSES.append(SetVarBranch)
|
||||
|
||||
class SetValBranch(object):
|
||||
TYPE = 'SetValBranch'
|
||||
ENUM = ['SET_VAL_MIN_INC','SET_VAL_MIN_EXC','SET_VAL_MED_INC','SET_VAL_MED_EXC','SET_VAL_MAX_INC','SET_VAL_MAX_EXC','SET_VAL_RND_INC','SET_VAL_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetValBranch)
|
||||
|
||||
class SetAssign(object):
|
||||
TYPE = 'SetAssign'
|
||||
ENUM = ['SET_ASSIGN_MIN_INC','SET_ASSIGN_MIN_EXC','SET_ASSIGN_MED_INC','SET_ASSIGN_MED_EXC','SET_ASSIGN_MAX_INC','SET_ASSIGN_MAX_EXC','SET_ASSIGN_RND_INC','SET_ASSIGN_RND_EXC']
|
||||
|
||||
ENUM_CLASSES.append(SetAssign)
|
||||
|
95
packages/gecode/dev/gecode-enums-4.2.0.py
Normal file
95
packages/gecode/dev/gecode-enums-4.2.0.py
Normal file
@ -0,0 +1,95 @@
|
||||
# This file was automatically extracted from Gecode source files.
|
||||
# It is subject to the same Copyright as the source files from which
|
||||
# it is derived, and is distributed under the same Licensing conditions.
|
||||
ENUM_CLASSES = []
|
||||
|
||||
class ScriptMode(object):
|
||||
TYPE = 'ScriptMode'
|
||||
ENUM = ['SM_SOLUTION','SM_TIME','SM_STAT','SM_GIST']
|
||||
|
||||
ENUM_CLASSES.append(ScriptMode)
|
||||
|
||||
class RestartMode(object):
|
||||
TYPE = 'RestartMode'
|
||||
ENUM = ['RM_NONE','RM_CONSTANT','RM_LINEAR','RM_LUBY','RM_GEOMETRIC']
|
||||
|
||||
ENUM_CLASSES.append(RestartMode)
|
||||
|
||||
class FloatRelType(object):
|
||||
TYPE = 'FloatRelType'
|
||||
ENUM = ['FRT_EQ','FRT_NQ','FRT_LQ','FRT_LE','FRT_GQ','FRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(FloatRelType)
|
||||
|
||||
class ReifyMode(object):
|
||||
TYPE = 'ReifyMode'
|
||||
ENUM = ['RM_EQV','RM_IMP','RM_PMI']
|
||||
|
||||
ENUM_CLASSES.append(ReifyMode)
|
||||
|
||||
class IntRelType(object):
|
||||
TYPE = 'IntRelType'
|
||||
ENUM = ['IRT_EQ','IRT_NQ','IRT_LQ','IRT_LE','IRT_GQ','IRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(IntRelType)
|
||||
|
||||
class BoolOpType(object):
|
||||
TYPE = 'BoolOpType'
|
||||
ENUM = ['BOT_AND','BOT_OR','BOT_IMP','BOT_EQV','BOT_XOR']
|
||||
|
||||
ENUM_CLASSES.append(BoolOpType)
|
||||
|
||||
class IntConLevel(object):
|
||||
TYPE = 'IntConLevel'
|
||||
ENUM = ['ICL_VAL','ICL_BND','ICL_DOM','ICL_DEF']
|
||||
|
||||
ENUM_CLASSES.append(IntConLevel)
|
||||
|
||||
class TaskType(object):
|
||||
TYPE = 'TaskType'
|
||||
ENUM = ['TT_FIXP','TT_FIXS','TT_FIXE']
|
||||
|
||||
ENUM_CLASSES.append(TaskType)
|
||||
|
||||
class ExtensionalPropKind(object):
|
||||
TYPE = 'ExtensionalPropKind'
|
||||
ENUM = ['EPK_DEF','EPK_SPEED','EPK_MEMORY']
|
||||
|
||||
ENUM_CLASSES.append(ExtensionalPropKind)
|
||||
|
||||
class ViewSelStatus(object):
|
||||
TYPE = 'ViewSelStatus'
|
||||
ENUM = ['VSS_BEST','VSS_BETTER','VSS_TIE','VSS_WORSE']
|
||||
|
||||
ENUM_CLASSES.append(ViewSelStatus)
|
||||
|
||||
class ExecStatus(object):
|
||||
TYPE = 'ExecStatus'
|
||||
ENUM = ['__ES_SUBSUMED','ES_FAILED','ES_NOFIX','ES_OK','ES_FIX','ES_NOFIX_FORCE','__ES_PARTIAL']
|
||||
|
||||
ENUM_CLASSES.append(ExecStatus)
|
||||
|
||||
class ActorProperty(object):
|
||||
TYPE = 'ActorProperty'
|
||||
ENUM = ['AP_DISPOSE','AP_WEAKLY']
|
||||
|
||||
ENUM_CLASSES.append(ActorProperty)
|
||||
|
||||
class SpaceStatus(object):
|
||||
TYPE = 'SpaceStatus'
|
||||
ENUM = ['SS_FAILED','SS_SOLVED','SS_BRANCH']
|
||||
|
||||
ENUM_CLASSES.append(SpaceStatus)
|
||||
|
||||
class SetRelType(object):
|
||||
TYPE = 'SetRelType'
|
||||
ENUM = ['SRT_EQ','SRT_NQ','SRT_SUB','SRT_SUP','SRT_DISJ','SRT_CMPL','SRT_LQ','SRT_LE','SRT_GQ','SRT_GR']
|
||||
|
||||
ENUM_CLASSES.append(SetRelType)
|
||||
|
||||
class SetOpType(object):
|
||||
TYPE = 'SetOpType'
|
||||
ENUM = ['SOT_UNION','SOT_DUNION','SOT_INTER','SOT_MINUS']
|
||||
|
||||
ENUM_CLASSES.append(SetOpType)
|
||||
|
209
packages/gecode/dev/gecode-prototypes-3.6.0.hh
Normal file
209
packages/gecode/dev/gecode-prototypes-3.6.0.hh
Normal file
@ -0,0 +1,209 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,const IntArgs&,const IntArgs&,SetVar,IntVar);
|
221
packages/gecode/dev/gecode-prototypes-3.7.0.hh
Normal file
221
packages/gecode/dev/gecode-prototypes-3.7.0.hh
Normal file
@ -0,0 +1,221 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
221
packages/gecode/dev/gecode-prototypes-3.7.1.hh
Normal file
221
packages/gecode/dev/gecode-prototypes-3.7.1.hh
Normal file
@ -0,0 +1,221 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
221
packages/gecode/dev/gecode-prototypes-3.7.2.hh
Normal file
221
packages/gecode/dev/gecode-prototypes-3.7.2.hh
Normal file
@ -0,0 +1,221 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
221
packages/gecode/dev/gecode-prototypes-3.7.3.hh
Normal file
221
packages/gecode/dev/gecode-prototypes-3.7.3.hh
Normal file
@ -0,0 +1,221 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
222
packages/gecode/dev/gecode-prototypes-4.0.0.hh
Normal file
222
packages/gecode/dev/gecode-prototypes-4.0.0.hh
Normal file
@ -0,0 +1,222 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void assign(Home,BoolVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const BoolVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const IntVarArgs&,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,const SetVarArgs&,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,IntVar,IntAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void assign(Home,SetVar,SetAssign,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void branch(Home,BoolVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,const TieBreakVarBranch<IntVarBranch>&,IntValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,const TieBreakVarBranch<SetVarBranch>&,SetValBranch,const TieBreakVarBranchOptions&=TieBreakVarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const VarBranchOptions&=VarBranchOptions::def,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,IntVar,IntValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void branch(Home,SetVar,SetValBranch,const ValBranchOptions&=ValBranchOptions::def);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const SetVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,BoolVar);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,BoolVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,BoolVar);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,Reify,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,BoolVar);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,BoolVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,BoolVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,BoolVar);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
280
packages/gecode/dev/gecode-prototypes-4.2.0.hh
Normal file
280
packages/gecode/dev/gecode-prototypes-4.2.0.hh
Normal file
@ -0,0 +1,280 @@
|
||||
// This file was automatically extracted from Gecode source files.
|
||||
// It is subject to the same Copyright as the source files from which
|
||||
// it is derived, and is distributed under the same Licensing conditions.
|
||||
BrancherHandle assign(Home,BoolVar,IntAssign,BoolVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,const BoolVarArgs&,IntAssign,BoolBranchFilter=NULL,BoolVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,const FloatVarArgs&,FloatAssign,FloatBranchFilter=NULL,FloatVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,const IntVarArgs&,IntAssign,IntBranchFilter=NULL,IntVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,const SetVarArgs&,SetAssign,SetBranchFilter=NULL,SetVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,FloatVar,FloatAssign,FloatVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,IntVar,IntAssign,IntVarValPrint=NULL);
|
||||
BrancherHandle assign(Home,SetVar,SetAssign,SetVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,BoolVar,IntValBranch,BoolVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,BoolBranchFilter=NULL,BoolVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const BoolVarArgs&,IntVarBranch,IntValBranch,const Symmetries&,BoolBranchFilter=NULL,BoolVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const BoolVarArgs&,TieBreak<IntVarBranch>,IntValBranch,BoolBranchFilter=NULL,BoolVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const BoolVarArgs&,TieBreak<IntVarBranch>,IntValBranch,const Symmetries&,BoolBranchFilter=NULL,BoolVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const FloatVarArgs&,FloatVarBranch,FloatValBranch,FloatBranchFilter=NULL,FloatVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const FloatVarArgs&,TieBreak<FloatVarBranch>,FloatValBranch,FloatBranchFilter=NULL,FloatVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,const Symmetries&,IntBranchFilter=NULL,IntVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const IntVarArgs&,IntVarBranch,IntValBranch,IntBranchFilter=NULL,IntVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const IntVarArgs&,TieBreak<IntVarBranch>,IntValBranch,const Symmetries&,IntBranchFilter=NULL,IntVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const IntVarArgs&,TieBreak<IntVarBranch>,IntValBranch,IntBranchFilter=NULL,IntVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,const Symmetries&,SetBranchFilter=NULL,SetVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const SetVarArgs&,SetVarBranch,SetValBranch,SetBranchFilter=NULL,SetVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const SetVarArgs&,TieBreak<SetVarBranch>,SetValBranch,const Symmetries&,SetBranchFilter=NULL,SetVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,const SetVarArgs&,TieBreak<SetVarBranch>,SetValBranch,SetBranchFilter=NULL,SetVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,FloatVar,FloatValBranch,FloatVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,IntVar,IntValBranch,IntVarValPrint=NULL);
|
||||
BrancherHandle branch(Home,SetVar,SetValBranch,SetVarValPrint=NULL);
|
||||
void abs(Home,FloatVar,FloatVar);
|
||||
void abs(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void atmostOne(Home,const SetVarArgs&,unsigned int);
|
||||
void binpacking(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cardinality(Home,const SetVarArgs&,unsigned int,unsigned int);
|
||||
void cardinality(Home,SetVar,IntVar);
|
||||
void cardinality(Home,SetVar,unsigned int,unsigned int);
|
||||
void channel(Home,BoolVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,IntVar,int=0,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const BoolVarArgs&,SetVar);
|
||||
void channel(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const IntVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,const IntVarArgs&,int,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void channel(Home,const SetVarArgs&,const SetVarArgs&);
|
||||
void channel(Home,FloatVar,IntVar);
|
||||
void channel(Home,IntVar,FloatVar);
|
||||
void channelSorted(Home,const IntVarArgs&,SetVar);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void circuit(Home,int,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void clause(Home,BoolOpType,const BoolVarArgs&,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void convex(Home,SetVar);
|
||||
void convex(Home,SetVar,SetVar);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSetArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntSet&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,int,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void count(Home,const IntVarArgs&,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,int,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulative(Home,IntVar,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void cumulatives(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntArgs&,bool,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void distinct(Home,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void div(Home,FloatVar,FloatVar,FloatVar);
|
||||
void div(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void divmod(Home,IntVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const BoolVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const FloatVarArgs&,const FloatVarArgs&);
|
||||
void dom(Home,const FloatVarArgs&,FloatNum,FloatNum);
|
||||
void dom(Home,const FloatVarArgs&,FloatVal);
|
||||
void dom(Home,const IntVarArgs&,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,const SetVarArgs&,const SetVarArgs&);
|
||||
void dom(Home,const SetVarArgs&,SetRelType,const IntSet&);
|
||||
void dom(Home,const SetVarArgs&,SetRelType,int);
|
||||
void dom(Home,const SetVarArgs&,SetRelType,int,int);
|
||||
void dom(Home,FloatVar,FloatNum,FloatNum);
|
||||
void dom(Home,FloatVar,FloatNum,FloatNum,Reify);
|
||||
void dom(Home,FloatVar,FloatVal);
|
||||
void dom(Home,FloatVar,FloatVal,Reify);
|
||||
void dom(Home,FloatVar,FloatVar);
|
||||
void dom(Home,IntVar,const IntSet&,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,const IntSet&,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,int,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,int,Reify,IntConLevel=ICL_DEF);
|
||||
void dom(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&);
|
||||
void dom(Home,SetVar,SetRelType,const IntSet&,Reify);
|
||||
void dom(Home,SetVar,SetRelType,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int);
|
||||
void dom(Home,SetVar,SetRelType,int,int,Reify);
|
||||
void dom(Home,SetVar,SetRelType,int,Reify);
|
||||
void dom(Home,SetVar,SetVar);
|
||||
void element(Home,const BoolVarArgs&,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const BoolVarArgs&,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntSetArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const IntSetArgs&,IntVar,SetVar);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,const SetVarArgs&,IntVar,int,IntVar,int,SetVar);
|
||||
void element(Home,const SetVarArgs&,IntVar,SetVar);
|
||||
void element(Home,IntSharedArray,IntVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,BoolVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,int,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,IntSharedArray,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void element(Home,SetOpType,const IntArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntSetArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const IntVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void element(Home,SetOpType,const SetVarArgs&,SetVar,SetVar,const IntSet&=IntSet(Set::Limits::min,Set::Limits::max));
|
||||
void extensional(Home,const BoolVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const BoolVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,const TupleSet&,ExtensionalPropKind=EPK_DEF,IntConLevel=ICL_DEF);
|
||||
void extensional(Home,const IntVarArgs&,DFA,IntConLevel=ICL_DEF);
|
||||
void ite(Home,BoolVar,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const BoolVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const FloatValArgs&,const FloatVarArgs&,FloatRelType,FloatNum);
|
||||
void linear(Home,const FloatValArgs&,const FloatVarArgs&,FloatRelType,FloatNum,Reify);
|
||||
void linear(Home,const FloatValArgs&,const FloatVarArgs&,FloatRelType,FloatVar);
|
||||
void linear(Home,const FloatValArgs&,const FloatVarArgs&,FloatRelType,FloatVar,Reify);
|
||||
void linear(Home,const FloatVarArgs&,FloatRelType,FloatNum);
|
||||
void linear(Home,const FloatVarArgs&,FloatRelType,FloatNum,Reify);
|
||||
void linear(Home,const FloatVarArgs&,FloatRelType,FloatVar);
|
||||
void linear(Home,const FloatVarArgs&,FloatRelType,FloatVar,Reify);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const BoolVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntArgs&,const IntVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void linear(Home,const IntVarArgs&,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void max(Home,const FloatVarArgs&,FloatVar);
|
||||
void max(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,FloatVar,FloatVar,FloatVar);
|
||||
void max(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void max(Home,SetVar,IntVar);
|
||||
void max(Home,SetVar,IntVar,Reify);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const BoolVarArgs&,BoolVar,Reify,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void member(Home,const IntVarArgs&,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void min(Home,const FloatVarArgs&,FloatVar);
|
||||
void min(Home,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,FloatVar,FloatVar,FloatVar);
|
||||
void min(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void min(Home,SetVar,IntVar);
|
||||
void min(Home,SetVar,IntVar,Reify);
|
||||
void mod(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void mult(Home,FloatVar,FloatVar,FloatVar);
|
||||
void mult(Home,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void nooverlap(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void notMax(Home,SetVar,IntVar);
|
||||
void notMin(Home,SetVar,IntVar);
|
||||
void nroot(Home,FloatVar,int,FloatVar);
|
||||
void nroot(Home,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const BoolVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void nvalues(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,const IntVarArgs&,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntArgs&,int,const IntVarArgs&,IntVar,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void path(Home,int,const IntVarArgs&,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void pow(Home,FloatVar,int,FloatVar);
|
||||
void pow(Home,IntVar,int,IntVar,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const IntVarArgs&,int,int,IntConLevel=ICL_DEF);
|
||||
void precede(Home,const SetVarArgs&,const IntArgs&);
|
||||
void precede(Home,const SetVarArgs&,int,int);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolOpType,const BoolVarArgs&,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,BoolOpType,BoolVar,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,BoolVar,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,BoolVar,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,BoolVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const BoolVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const FloatVarArgs&,FloatRelType,FloatVal);
|
||||
void rel(Home,const FloatVarArgs&,FloatRelType,FloatVar);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,const IntSet&,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,const IntVarArgs&,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,FloatVar,FloatRelType,FloatVal);
|
||||
void rel(Home,FloatVar,FloatRelType,FloatVal,Reify);
|
||||
void rel(Home,FloatVar,FloatRelType,FloatVar);
|
||||
void rel(Home,FloatVar,FloatRelType,FloatVar,Reify);
|
||||
void rel(Home,IntVar,IntRelType,int,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,int,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,IntVar,Reify,IntConLevel=ICL_DEF);
|
||||
void rel(Home,IntVar,IntRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar);
|
||||
void rel(Home,IntVar,SetRelType,SetVar,Reify);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const IntVarArgs&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,const IntSet&,SetVar);
|
||||
void rel(Home,SetOpType,const SetVarArgs&,SetVar);
|
||||
void rel(Home,SetVar,IntRelType,IntVar);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,const IntSet&,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,const IntSet&);
|
||||
void rel(Home,SetVar,SetOpType,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar);
|
||||
void rel(Home,SetVar,SetRelType,IntVar,Reify);
|
||||
void rel(Home,SetVar,SetRelType,SetVar);
|
||||
void rel(Home,SetVar,SetRelType,SetVar,Reify);
|
||||
void sequence(Home,const BoolVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const IntVarArgs&,const IntSet&,int,int,int,IntConLevel=ICL_DEF);
|
||||
void sequence(Home,const SetVarArgs&);
|
||||
void sequence(Home,const SetVarArgs&,SetVar);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sorted(Home,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void sqr(Home,FloatVar,FloatVar);
|
||||
void sqr(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void sqrt(Home,FloatVar,FloatVar);
|
||||
void sqrt(Home,IntVar,IntVar,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const IntVarArgs&,const IntVarArgs&,const IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,const BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unary(Home,const TaskTypeArgs&,const IntVarArgs&,const IntArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,BoolVarArgs&,IntConLevel=ICL_DEF);
|
||||
void unshare(Home,IntVarArgs&,IntConLevel=ICL_DEF);
|
||||
void weights(Home,IntSharedArray,IntSharedArray,SetVar,IntVar);
|
156
packages/gecode/disjunctor.hh
Normal file
156
packages/gecode/disjunctor.hh
Normal file
@ -0,0 +1,156 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
#ifndef __GECODE_DISJUNCTOR_HH__
|
||||
#define __GECODE_DISJUNCTOR_HH__
|
||||
|
||||
#include <gecode/kernel.hh>
|
||||
#include <gecode/int.hh>
|
||||
#include <gecode/set.hh>
|
||||
|
||||
namespace Gecode { namespace Disjunctor_ {
|
||||
|
||||
using namespace generic_gecode;
|
||||
|
||||
//=========================================================================
|
||||
// from a user perspective, a Disjunctor corresponds to a set of
|
||||
// speculative clauses:
|
||||
//
|
||||
// - when a non-committed clause fails, it is simply discarded
|
||||
// - when a single clause remains, it is committed
|
||||
//
|
||||
// from an implementation perspective, a Disjunctor is an object shared by
|
||||
// several clauses, that contains a counter keeping track of how many
|
||||
// clauses remain. when the counter reaches 1, the remaining clause
|
||||
// becomes committed.
|
||||
//=========================================================================
|
||||
|
||||
// following the example in MPG
|
||||
struct Disjunctor: public LocalHandle
|
||||
{
|
||||
Disjunctor();
|
||||
Disjunctor(Space& home);
|
||||
Disjunctor(const Disjunctor& d);
|
||||
int get() const;
|
||||
void incr();
|
||||
void decr();
|
||||
void dispose(Space& home);
|
||||
};
|
||||
|
||||
//=========================================================================
|
||||
// a Clause encapsulates the speculative execution of a set of propagators.
|
||||
// Therefore, these propagators must be posted in a separate (sub)space.
|
||||
// However they normally want to constrain variables of the original home
|
||||
// space: for each such variable X, a variable Y local to the subspace must
|
||||
// be created and used instead, and a forwarder must be created from X to
|
||||
// Y. A Clause is then a Propagator that subscribes to the Xs. Whenever a
|
||||
// X changes, the domains of the Xs are forwarded into the Ys and
|
||||
// constraint propagation is run in the subspace. When a clause is
|
||||
// committed, after propagation, the domains of Ys are forwarded back into
|
||||
// the Xs.
|
||||
//=========================================================================
|
||||
|
||||
// TODO: copy (difficulty is forwarder list)
|
||||
|
||||
class SubSpace;
|
||||
|
||||
class Clause: public Propagator {
|
||||
Disjunctor disj;
|
||||
SubSpace*const subhome;
|
||||
public:
|
||||
Clause(Space& home_, Disjunctor disj_);
|
||||
Clause(Space& home, bool share, Clause& c);
|
||||
virtual Propagator* copy(Space& home, bool share);
|
||||
virtual size_t dispose(Space& home);
|
||||
virtual PropCost cost(const Space&, const ModEventDelta&) const;
|
||||
virtual ExecStatus propagate(Space& home, const ModEventDelta&);
|
||||
// user API
|
||||
operator GenericSpace&();
|
||||
operator Space&();
|
||||
operator Home();
|
||||
GenericSpace* generic_space() const;
|
||||
Space* space() const;
|
||||
void forward(Space& home, IntVar outer, IntVar inner);
|
||||
void forward(Space& home, BoolVar outer, BoolVar inner);
|
||||
void forward(Space& home, SetVar outer, SetVar inner);
|
||||
protected:
|
||||
ExecStatus forward_in();
|
||||
ExecStatus forward_out(Space& outer_home);
|
||||
bool committed() const;
|
||||
};
|
||||
|
||||
//=========================================================================
|
||||
// a SubSpace is the Space associated with a Clause. It also contains the
|
||||
// forwarder linked-list because we want it to manage the memory for that
|
||||
// list.
|
||||
//=========================================================================
|
||||
|
||||
class BasicForwarder;
|
||||
using Int::IntView;
|
||||
using Int::BoolView;
|
||||
using Set::SetView;
|
||||
|
||||
class SubSpace: public GenericSpace
|
||||
{
|
||||
private:
|
||||
Space* homeDuringCloning;
|
||||
// linked-list of pairs of a variable in the parent space and a
|
||||
// corresponding variable in the subspace
|
||||
BasicForwarder* forwarder;
|
||||
// auxiliary methods for adding an entry to the forwarder list
|
||||
void forward(IntView outer, IntView inner);
|
||||
void forward(BoolView outer, BoolView inner);
|
||||
void forward(SetView outer, SetView inner);
|
||||
// for forwarding domains into and out of the subhome
|
||||
ExecStatus forward_in();
|
||||
ExecStatus forward_out(Space&);
|
||||
// for cancelling subscriptions
|
||||
void cancel(Space& home, Clause&);
|
||||
// allow Clause to use this private API
|
||||
friend class Clause;
|
||||
public:
|
||||
SubSpace();
|
||||
SubSpace(bool share, SubSpace& s);
|
||||
virtual Space* copy(bool share);
|
||||
SubSpace* copy(Space& home, bool share);
|
||||
};
|
||||
}}
|
||||
|
||||
namespace Gecode
|
||||
{
|
||||
using Disjunctor_::Disjunctor;
|
||||
|
||||
class Clause
|
||||
{
|
||||
generic_gecode::GenericSpace& _home;
|
||||
Disjunctor_::Clause* _clause;
|
||||
public:
|
||||
Clause(generic_gecode::GenericSpace& home, Disjunctor disj);
|
||||
operator generic_gecode::GenericSpace&();
|
||||
operator Space&();
|
||||
operator Home();
|
||||
generic_gecode::GenericSpace* generic_space();
|
||||
generic_gecode::GenericSpace* generic_parent();
|
||||
Space* space();
|
||||
void forward(IntVar outer, IntVar inner);
|
||||
void forward(BoolVar outer, BoolVar inner);
|
||||
void forward(SetVar outer, SetVar inner);
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
380
packages/gecode/disjunctor.icc
Normal file
380
packages/gecode/disjunctor.icc
Normal file
@ -0,0 +1,380 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
#include "disjunctor.hh"
|
||||
|
||||
namespace Gecode { namespace Disjunctor_ {
|
||||
|
||||
//=========================================================================
|
||||
// Disjunctor (following example in MPG)
|
||||
//=========================================================================
|
||||
|
||||
struct DisjunctorObject: public LocalObject
|
||||
{
|
||||
int n;
|
||||
DisjunctorObject(Space& home) : LocalObject(home), n(0) {}
|
||||
DisjunctorObject(Space& home, bool share, DisjunctorObject& d)
|
||||
: LocalObject(home, share, d), n(d.n) {}
|
||||
virtual LocalObject* copy(Space& home, bool share)
|
||||
{ return new (home) DisjunctorObject(home, share, *this); }
|
||||
virtual size_t dispose(Space&) { return sizeof(*this); }
|
||||
};
|
||||
|
||||
Disjunctor::Disjunctor(): LocalHandle() {}
|
||||
Disjunctor::Disjunctor(Space& home)
|
||||
: LocalHandle(new (home) DisjunctorObject(home)) {}
|
||||
Disjunctor::Disjunctor(const Disjunctor& d): LocalHandle(d) {}
|
||||
int Disjunctor::get() const { return static_cast<DisjunctorObject*>(object())->n; }
|
||||
void Disjunctor::incr() { static_cast<DisjunctorObject*>(object())->n += 1; }
|
||||
void Disjunctor::decr() { static_cast<DisjunctorObject*>(object())->n -= 1; }
|
||||
void Disjunctor::dispose(Space& home)
|
||||
{ static_cast<DisjunctorObject*>(object())->dispose(home); }
|
||||
|
||||
//=========================================================================
|
||||
// Forwarder<View>
|
||||
// used to forward the domain of a view V1 into a view V2 located in a
|
||||
// subspace (the subspace of a speculative clause). V2 represents V1 in
|
||||
// that space.
|
||||
//
|
||||
// BasicForwarder
|
||||
// base class of all Forwarders. It declares the virtual functions
|
||||
// that must be implemented to do the actual work, and contains the pointer
|
||||
// implementing the singly-linked list of Forwarders associated with each
|
||||
// clause. It also redefines new and delete to manage memory in the
|
||||
// subspace.
|
||||
//=========================================================================
|
||||
|
||||
struct BasicForwarder
|
||||
{
|
||||
BasicForwarder* next;
|
||||
|
||||
BasicForwarder() : next(NULL) {}
|
||||
|
||||
// forward V1's domain into V2. This is used each time the Clause (as a
|
||||
// a propagator) is woken to perform propagation.
|
||||
|
||||
virtual ExecStatus forward_in(Space& inner_home) = 0;
|
||||
|
||||
// forward V2's domain into V1. This is used after propagation in the
|
||||
// case where the Clause has been committed to (because it is the last
|
||||
// one remaining).
|
||||
|
||||
virtual void forward_out(Space& outer_home) = 0;
|
||||
|
||||
// needed by delete to know how much to free
|
||||
virtual size_t size() const = 0;
|
||||
|
||||
// usage: new (home) FRWRDR(...);
|
||||
// to allocate the instance of FRWRDR on home's heap
|
||||
|
||||
static void* operator new(size_t n, Space& home)
|
||||
{ return home.ralloc(n); }
|
||||
|
||||
// usage: delete (home) PTR;
|
||||
// to free the instance pointed to by PTR from home's heap
|
||||
|
||||
static void operator delete(void* ptr, Space& home)
|
||||
{ home.rfree(ptr, ((BasicForwarder*)ptr)->size()); }
|
||||
|
||||
virtual BasicForwarder*
|
||||
copy(Space& outer_home, Space& inner_home, bool share) = 0;
|
||||
|
||||
virtual void cancel(Space& home, Clause&) = 0;
|
||||
};
|
||||
|
||||
// Forwarder parametrized by View
|
||||
|
||||
template <typename View>
|
||||
struct Forwarder: public BasicForwarder
|
||||
{
|
||||
View outer;
|
||||
View inner;
|
||||
Forwarder(View v1, View v2): outer(v1), inner(v2) {}
|
||||
Forwarder() {}
|
||||
virtual ExecStatus forward_in(Space& home);
|
||||
virtual void forward_out(Space& home);
|
||||
virtual size_t size() const { return sizeof(*this); }
|
||||
virtual BasicForwarder* copy(Space& outer_home, Space& inner_home, bool share)
|
||||
{
|
||||
Forwarder<View>* fwd = new (inner_home) Forwarder<View>();
|
||||
fwd->outer.update(outer_home, share, outer);
|
||||
fwd->inner.update(inner_home, share, inner);
|
||||
return fwd;
|
||||
}
|
||||
virtual void cancel(Space& home, Clause& c);
|
||||
};
|
||||
|
||||
// instances of Forwarder that we actually use
|
||||
|
||||
typedef Forwarder<Int::IntView> IntForwarder;
|
||||
typedef Forwarder<Int::BoolView> BoolForwarder;
|
||||
typedef Forwarder<Set::SetView> SetForwarder;
|
||||
|
||||
//=========================================================================
|
||||
// IntForwarder
|
||||
//=========================================================================
|
||||
|
||||
template <>
|
||||
ExecStatus IntForwarder::forward_in(Space& home) // inner home
|
||||
{
|
||||
Int::ViewRanges<Int::IntView> r(outer);
|
||||
GECODE_ME_CHECK(inner.inter_r(home,r));
|
||||
return ES_OK;
|
||||
}
|
||||
|
||||
template <>
|
||||
void IntForwarder::forward_out(Space& home) // outer home
|
||||
{
|
||||
// it is guaranteed by design that after successful propagation the
|
||||
// domain of the inner variable is a non-empty narrowing of the domain of
|
||||
// the outer variable. therefore, we can simply replace the domain of
|
||||
// the outer variable with the domain of the inner variable.
|
||||
Int::ViewRanges<Int::IntView> r(inner);
|
||||
outer.narrow_r(home, r, false);
|
||||
}
|
||||
|
||||
template <>
|
||||
void IntForwarder::cancel(Space& home, Clause& c)
|
||||
{ outer.cancel(home, c, Int::PC_INT_DOM); }
|
||||
|
||||
//=========================================================================
|
||||
// BoolForwarder
|
||||
//=========================================================================
|
||||
|
||||
template <>
|
||||
ExecStatus BoolForwarder::forward_in(Space& home)
|
||||
{
|
||||
Int::ViewRanges<Int::BoolView> r(outer);
|
||||
GECODE_ME_CHECK(inner.inter_r(home,r));
|
||||
return ES_OK;
|
||||
}
|
||||
|
||||
template <>
|
||||
void BoolForwarder::forward_out(Space& home)
|
||||
{
|
||||
Int::ViewRanges<Int::BoolView> r(inner);
|
||||
outer.narrow_r(home, r, false);
|
||||
}
|
||||
|
||||
template <>
|
||||
void BoolForwarder::cancel(Space& home, Clause& c)
|
||||
{ outer.cancel(home, c, Int::PC_INT_DOM); }
|
||||
|
||||
//=========================================================================
|
||||
// SetForwarder
|
||||
//=========================================================================
|
||||
|
||||
template <>
|
||||
ExecStatus SetForwarder::forward_in(Space& home)
|
||||
{
|
||||
Set::GlbRanges<SetView> gr(outer);
|
||||
GECODE_ME_CHECK(inner.includeI(home,gr));
|
||||
Set::LubRanges<SetView> lr(outer);
|
||||
GECODE_ME_CHECK(inner.intersectI(home,lr));
|
||||
GECODE_ME_CHECK(inner.cardMin(home, outer.cardMin()));
|
||||
GECODE_ME_CHECK(inner.cardMax(home, outer.cardMax()));
|
||||
return ES_OK;
|
||||
}
|
||||
|
||||
template <>
|
||||
void SetForwarder::forward_out(Space& home)
|
||||
{
|
||||
Set::GlbRanges<SetView> gr(inner);
|
||||
outer.includeI(home, gr);
|
||||
Set::LubRanges<SetView> lr(inner);
|
||||
outer.intersectI(home, lr);
|
||||
outer.cardMin(home, inner.cardMin());
|
||||
outer.cardMax(home, inner.cardMax());
|
||||
}
|
||||
|
||||
template <>
|
||||
void SetForwarder::cancel(Space& home, Clause& c)
|
||||
{ outer.cancel(home, c, Set::PC_SET_ANY); }
|
||||
|
||||
//=========================================================================
|
||||
// SubSpace
|
||||
//=========================================================================
|
||||
|
||||
void SubSpace::forward(IntView outer, IntView inner)
|
||||
{
|
||||
BasicForwarder* fwd = new (*this) IntForwarder(outer, inner);
|
||||
fwd->next = forwarder;
|
||||
forwarder = fwd;
|
||||
}
|
||||
|
||||
void SubSpace::forward(BoolView outer, BoolView inner)
|
||||
{
|
||||
BasicForwarder* fwd = new (*this) BoolForwarder(outer, inner);
|
||||
fwd->next = forwarder;
|
||||
forwarder = fwd;
|
||||
}
|
||||
|
||||
void SubSpace::forward(SetView outer, SetView inner)
|
||||
{
|
||||
BasicForwarder* fwd = new (*this) SetForwarder(outer, inner);
|
||||
fwd->next = forwarder;
|
||||
forwarder = fwd;
|
||||
}
|
||||
|
||||
ExecStatus SubSpace::forward_in()
|
||||
{
|
||||
for (BasicForwarder* p=forwarder; p!=NULL; p=p->next)
|
||||
GECODE_ES_CHECK(p->forward_in(*this));
|
||||
return ES_OK;
|
||||
}
|
||||
|
||||
ExecStatus SubSpace::forward_out(Space& home) // outer home
|
||||
{
|
||||
for (BasicForwarder* p=forwarder; p!=NULL; p=p->next)
|
||||
p->forward_out(home);
|
||||
return ES_OK;
|
||||
}
|
||||
|
||||
SubSpace::SubSpace(): GenericSpace(), forwarder(NULL) {}
|
||||
|
||||
SubSpace::SubSpace(bool share, SubSpace& s)
|
||||
: GenericSpace(share, s), forwarder(NULL)
|
||||
{
|
||||
BasicForwarder** prev = &forwarder;
|
||||
for (BasicForwarder* p=s.forwarder; p!=NULL; p=p->next)
|
||||
{
|
||||
BasicForwarder* fwd = p->copy(*s.homeDuringCloning, *this, share);
|
||||
*prev = fwd;
|
||||
prev = &fwd->next;
|
||||
}
|
||||
}
|
||||
|
||||
Space* SubSpace::copy(bool share)
|
||||
{ return new SubSpace(share,*this); }
|
||||
|
||||
SubSpace* SubSpace::copy(Space& home, bool share)
|
||||
{ homeDuringCloning = &home; return static_cast<SubSpace*>(clone(share)); }
|
||||
|
||||
void SubSpace::cancel(Space& home, Clause& c)
|
||||
{
|
||||
for (BasicForwarder*p = forwarder; p!=NULL; p=p->next)
|
||||
p->cancel(home, c);
|
||||
}
|
||||
|
||||
//=========================================================================
|
||||
// Clause
|
||||
//=========================================================================
|
||||
|
||||
Clause::operator GenericSpace&() { return *subhome; }
|
||||
Clause::operator Space&() { return *subhome; }
|
||||
Clause::operator Home() { return *subhome; }
|
||||
|
||||
GenericSpace* Clause::generic_space() const { return subhome; }
|
||||
Space* Clause::space() const { return subhome; }
|
||||
|
||||
Clause::Clause(Space& home_, Disjunctor disj_)
|
||||
: Propagator(home_), disj(disj_), subhome(new SubSpace())
|
||||
{
|
||||
disj.incr();
|
||||
}
|
||||
|
||||
Clause::Clause(Space& home, bool share, Clause& c)
|
||||
: Propagator(home, share, c), subhome(c.subhome->copy(home, share))
|
||||
{
|
||||
disj.update(home, share, c.disj);
|
||||
}
|
||||
|
||||
Propagator* Clause::copy(Space& home, bool share)
|
||||
{ return new (home) Clause(home, share, *this); }
|
||||
|
||||
void Clause::forward(Space& home, IntVar outer, IntVar inner)
|
||||
{
|
||||
IntView oview(outer);
|
||||
IntView iview(inner);
|
||||
subhome->forward(oview, iview);
|
||||
oview.subscribe(home, *this, Int::PC_INT_DOM);
|
||||
}
|
||||
|
||||
void Clause::forward(Space& home, BoolVar outer, BoolVar inner)
|
||||
{
|
||||
BoolView oview(outer);
|
||||
BoolView iview(inner);
|
||||
subhome->forward(oview, iview);
|
||||
oview.subscribe(home, *this, Int::PC_INT_DOM);
|
||||
}
|
||||
|
||||
void Clause::forward(Space& home, SetVar outer, SetVar inner)
|
||||
{
|
||||
SetView oview(outer);
|
||||
SetView iview(inner);
|
||||
subhome->forward(oview, iview);
|
||||
oview.subscribe(home, *this, Set::PC_SET_ANY);
|
||||
}
|
||||
|
||||
ExecStatus Clause::forward_in()
|
||||
{ return subhome->forward_in(); }
|
||||
|
||||
ExecStatus Clause::forward_out(Space& home) // outer home
|
||||
{ return subhome->forward_out(home); }
|
||||
|
||||
inline bool Clause::committed() const { return disj.get() == 1; }
|
||||
|
||||
ExecStatus Clause::propagate(Space& home, const ModEventDelta&)
|
||||
{
|
||||
if (forward_in() == ES_FAILED ||
|
||||
subhome->status() == SS_FAILED )
|
||||
{
|
||||
if (committed()) return ES_FAILED;
|
||||
disj.decr();
|
||||
return home.ES_SUBSUMED(*this);
|
||||
}
|
||||
if (committed()) forward_out(home);
|
||||
// maybe do something clever about subsumption later
|
||||
return ES_FIX;
|
||||
}
|
||||
|
||||
size_t Clause::dispose(Space& home)
|
||||
{
|
||||
subhome->cancel(home, *this);
|
||||
delete subhome;
|
||||
// the memory for the disj's LocalObject is not recovered
|
||||
(void) Propagator::dispose(home);
|
||||
return sizeof(*this);
|
||||
}
|
||||
|
||||
PropCost Clause::cost(const Space&, const ModEventDelta&) const
|
||||
{
|
||||
// consider a clause to be crazy expensive
|
||||
return PropCost::crazy(PropCost::HI,10);
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Clause (user API)
|
||||
//===========================================================================
|
||||
|
||||
Clause::Clause(generic_gecode::GenericSpace& home, Disjunctor disj)
|
||||
: _home(home), _clause(new (home) Disjunctor_::Clause(home, disj)) {}
|
||||
Clause::operator generic_gecode::GenericSpace&() { return *_clause; }
|
||||
Clause::operator Space&() { return *_clause; }
|
||||
Clause::operator Home() { return *_clause; }
|
||||
generic_gecode::GenericSpace* Clause::generic_space() { return _clause->generic_space(); }
|
||||
generic_gecode::GenericSpace* Clause::generic_parent() { return &_home; }
|
||||
Space* Clause::space() { return _clause->space(); }
|
||||
void Clause::forward(IntVar outer, IntVar inner)
|
||||
{ _clause->forward(_home, outer, inner); }
|
||||
void Clause::forward(BoolVar outer, BoolVar inner)
|
||||
{ _clause->forward(_home, outer, inner); }
|
||||
void Clause::forward(SetVar outer, SetVar inner)
|
||||
{ _clause->forward(_home, outer, inner); }
|
||||
|
||||
}
|
37
packages/gecode/disjunctor1.yap
Normal file
37
packages/gecode/disjunctor1.yap
Normal file
@ -0,0 +1,37 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
|
||||
disjunctor1(X_,Y_) :-
|
||||
Space := space,
|
||||
[X,Y] := intvars(Space,2,0,3),
|
||||
D := disjunctor(Space),
|
||||
C1 := clause(D),
|
||||
[X1,Y1] := intvars(C1,2,0,3),
|
||||
C1 += rel(X1,'IRT_EQ',1),
|
||||
C1 += rel(Y1,'IRT_EQ',1),
|
||||
C1 += forward([X,Y],[X1,Y1]),
|
||||
C2 := clause(D),
|
||||
[X2,Y2] := intvars(C2,2,0,3),
|
||||
C2 += rel(X2,'IRT_EQ',2),
|
||||
C2 += rel(Y2,'IRT_EQ',2),
|
||||
C2 += forward([X,Y],[X2,Y2]),
|
||||
Space += branch([X,Y],'INT_VAR_SIZE_MIN','INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
[X_,Y_] := val(SolSpace,[X,Y]).
|
37
packages/gecode/disjunctor2.yap
Normal file
37
packages/gecode/disjunctor2.yap
Normal file
@ -0,0 +1,37 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
|
||||
disjunctor2(X_,Y_) :-
|
||||
Space := space,
|
||||
[X,Y] := intvars(Space,2,0,3),
|
||||
D := disjunctor(Space),
|
||||
C1 := clause(D),
|
||||
[X1,Y1] := intvars(C1,2,0,3),
|
||||
C1 += forward([X,Y],[X1,Y1]),
|
||||
C1 += rel(X1,'IRT_EQ',0),
|
||||
C1 += rel(Y1,'IRT_EQ',0),
|
||||
C2 := clause(D),
|
||||
[X2,Y2] := intvars(C2,2,0,3),
|
||||
C2 += forward([X,Y],[X2,Y2]),
|
||||
Z2 := intvar(C2,1,2),
|
||||
C2 += linear([-1,1,1],[X2,Y2,Z2],'IRT_EQ',0),
|
||||
Space += branch([X,Y],'INT_VAR_SIZE_MIN','INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
[X_,Y_] := val(SolSpace,[X,Y]).
|
80
packages/gecode/examples/photo.yap
Normal file
80
packages/gecode/examples/photo.yap
Normal file
@ -0,0 +1,80 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
:- use_module(library(maplist)).
|
||||
|
||||
% 5 people want to have a photograph together, but they have preferences.
|
||||
photo(Ex, Solution,Amount) :-
|
||||
db(Ex, People, Preferences),
|
||||
Space := space,
|
||||
length(People, Len),
|
||||
Len0 is Len-1,
|
||||
People := intvars(Space,Len,0,Len0),
|
||||
Space += distinct(People),
|
||||
% Bools are the satisfied constraints
|
||||
maplist(preferences(Space, Len), Preferences, Bools),
|
||||
length(Preferences, PLen),
|
||||
Sum := intvar(Space,0,PLen),
|
||||
Space += linear(Bools,'IRT_EQ',Sum),
|
||||
% add all satisfied constraints
|
||||
Space += maximize(Sum),
|
||||
Space += branch(People,'INT_VAR_SIZE_MIN','INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
Solution := val(SolSpace,People),
|
||||
Amount := val(SolSpace,Sum).
|
||||
|
||||
%reification, use with care
|
||||
preferences(Space, Len, X-Y, B) :-
|
||||
NLen is -Len,
|
||||
I0 := intvar(Space, NLen, Len),
|
||||
I := intvar(Space, 0, Len),
|
||||
B := boolvar(Space),
|
||||
Space += reify(B, 'RM_EQV', R),
|
||||
Space += linear([1,-1],[X,Y],'IRT_EQ', I0),
|
||||
Space += abs(I0, I),
|
||||
Space += rel(I, 'IRT_EQ', 1, R).
|
||||
|
||||
|
||||
db(s,[Alice,Bob,Carl,Deb,Evan], [Alice-Carl,
|
||||
Carl-Deb,
|
||||
Deb-Alice,
|
||||
Evan-Alice,
|
||||
Bob-Evan,
|
||||
Carl-Evan,
|
||||
Deb-Evan,
|
||||
Evan-Bob]).
|
||||
|
||||
db(l,[Betty,Chris,Donald,Fred,Gary,Mary,Paul,Peter,Susan],
|
||||
[Betty-Donald,
|
||||
Betty-Gary,
|
||||
Betty-Peter,
|
||||
Chris-Gary,
|
||||
Chris-Susan,
|
||||
Donald-Fred,
|
||||
Donald-Gary,
|
||||
Fred-Betty,
|
||||
Fred-Gary,
|
||||
Gary-Mary,
|
||||
Gary-Betty,
|
||||
Mary-Betty,
|
||||
Mary-Susan,
|
||||
Paul-Donald,
|
||||
Paul-Peter,
|
||||
Peter-Susan,
|
||||
Peter-Paul]).
|
67
packages/gecode/examples/queens.yap
Normal file
67
packages/gecode/examples/queens.yap
Normal file
@ -0,0 +1,67 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
:- use_module(library(maplist)).
|
||||
|
||||
% use alldiff constraints
|
||||
queens(N, Solution) :-
|
||||
Space := space,
|
||||
length(Queens, N),
|
||||
Queens := intvars(Space,N,1,N),
|
||||
Space += distinct(Queens),
|
||||
foldl(inc, Queens, Inc, 0, _),
|
||||
foldl(dec, Queens, Dec, 0, _),
|
||||
Space += distinct(Inc,Queens),
|
||||
Space += distinct(Dec,Queens),
|
||||
Space += branch(Queens, 'INT_VAR_SIZE_MIN', 'INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
Solution := val(SolSpace,Queens).
|
||||
|
||||
inc(_, I0, I0, I) :-
|
||||
I is I0+1.
|
||||
|
||||
dec(_, I0, I0, I) :-
|
||||
I is I0-1.
|
||||
|
||||
%
|
||||
% Using gecode linear constraints for diagonals.
|
||||
%
|
||||
lqueens(N, Solution) :-
|
||||
Space := space,
|
||||
length(Queens, N),
|
||||
Queens := intvars(Space,N,1,N),
|
||||
Space += distinct(Queens),
|
||||
lconstrain( Queens, Space, 0),
|
||||
Space += branch(Queens, 'INT_VAR_SIZE_MIN', 'INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
Solution := val(SolSpace,Queens).
|
||||
|
||||
lconstrain([], _, _).
|
||||
lconstrain( [Q|Queens], Space, I0) :-
|
||||
I is I0+1,
|
||||
foldl(constrain(Q, I0, Space), Queens, I, _),
|
||||
lconstrain( Queens, Space, I).
|
||||
|
||||
constrain(Q, I, Space, R, J, J1) :-
|
||||
% Q+I != R+J, Q-I != R-J <=> Q-R != J-I, Q-R != I-J,
|
||||
J1 is J+1,
|
||||
Sum is I-J,
|
||||
Diff is J-I,
|
||||
Space += linear([1,-1], [Q,R], 'IRT_NQ', Diff),
|
||||
Space += linear([1,-1], [Q,R], 'IRT_NQ', Sum).
|
41
packages/gecode/examples/send_more_money.yap
Normal file
41
packages/gecode/examples/send_more_money.yap
Normal file
@ -0,0 +1,41 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
|
||||
% S E N D
|
||||
% + M O R E
|
||||
% ---------
|
||||
% M O N E Y
|
||||
send_more_money(Solution) :-
|
||||
Space := space,
|
||||
Letters := intvars(Space,8,0,9),
|
||||
[S,E,N,D,M,O,R,Y] = Letters,
|
||||
Space += rel(M,'IRT_NQ',0),
|
||||
Space += rel(S,'IRT_NQ',0),
|
||||
Space += distinct(Letters),
|
||||
C = [1000, 100, 10, 1,
|
||||
1000, 100, 10, 1,
|
||||
-10000, -1000, -100, -10, -1],
|
||||
X = [S,E,N,D,
|
||||
M,O,R,E,
|
||||
M,O,N,E,Y],
|
||||
Space += linear(C, X, 'IRT_EQ', 0),
|
||||
Space += branch(Letters, 'INT_VAR_SIZE_MIN', 'INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
Solution := val(SolSpace,Letters).
|
45
packages/gecode/examples/send_most_money.yap
Normal file
45
packages/gecode/examples/send_most_money.yap
Normal file
@ -0,0 +1,45 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- use_module(library(gecode)).
|
||||
|
||||
% S E N D
|
||||
% + M O S T
|
||||
% ---------
|
||||
% M O N E Y
|
||||
send_most_money(Solution,Amount) :-
|
||||
Space := space,
|
||||
Letters := intvars(Space,8,0,9),
|
||||
[S,E,N,D,M,O,T,Y] = Letters,
|
||||
Space += rel(M,'IRT_NQ',0),
|
||||
Space += rel(S,'IRT_NQ',0),
|
||||
Space += distinct(Letters),
|
||||
C = [1000, 100, 10, 1,
|
||||
1000, 100, 10, 1,
|
||||
-10000, -1000, -100, -10, -1],
|
||||
X = [S,E,N,D,
|
||||
M,O,S,T,
|
||||
M,O,N,E,Y],
|
||||
Space += linear(C, X, 'IRT_EQ', 0),
|
||||
Money := intvar(Space,0,99999),
|
||||
Space += linear([10000,1000,100,10,1],[M,O,N,E,Y],'IRT_EQ',Money),
|
||||
Space += maximize(Money),
|
||||
Space += branch(Letters,'INT_VAR_SIZE_MIN','INT_VAL_MIN'),
|
||||
SolSpace := search(Space),
|
||||
Solution := val(SolSpace,Letters),
|
||||
Amount := val(SolSpace,Money).
|
358
packages/gecode/gecode3-common.icc
Normal file
358
packages/gecode/gecode3-common.icc
Normal file
@ -0,0 +1,358 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
#ifndef GECODE_COMMON
|
||||
#define GECODE_COMMON
|
||||
|
||||
#include "gecode/int.hh"
|
||||
#include "gecode/set.hh"
|
||||
#include "gecode/search.hh"
|
||||
#include <vector>
|
||||
|
||||
namespace generic_gecode
|
||||
{
|
||||
using namespace std;
|
||||
using namespace Gecode;
|
||||
|
||||
// description of the optimization criterion
|
||||
struct Optimizing
|
||||
{
|
||||
enum What { OPT_NONE, OPT_INT, OPT_RATIO };
|
||||
enum How { OPT_MIN, OPT_MAX };
|
||||
int num;
|
||||
int den;
|
||||
What what;
|
||||
How how;
|
||||
Optimizing(): num(-1), den(-1), what(OPT_NONE), how(OPT_MAX) {}
|
||||
Optimizing(Optimizing& o)
|
||||
: num(o.num), den(o.den), what(o.what), how(o.how) {}
|
||||
void check_ok() const
|
||||
{ if (what!=OPT_NONE)
|
||||
throw Exception("gecode-python","too many optimization criteria"); }
|
||||
void maximize(int i)
|
||||
{ check_ok(); what = OPT_INT; how = OPT_MAX; num = i; };
|
||||
void maximize(int i,int j)
|
||||
{ check_ok(); what = OPT_RATIO; how = OPT_MAX; num = i; den = j; };
|
||||
void minimize(int i)
|
||||
{ check_ok(); what = OPT_INT; how = OPT_MIN; num = i; };
|
||||
void minimize(int i,int j)
|
||||
{ check_ok(); what = OPT_RATIO; how = OPT_MIN; num = i; den = j; };
|
||||
};
|
||||
|
||||
struct GenericSpace;
|
||||
|
||||
struct GenericEngine
|
||||
{
|
||||
virtual GenericSpace* next(void)=0;
|
||||
virtual ~GenericEngine() {};
|
||||
};
|
||||
|
||||
struct GenericDFS: GenericEngine
|
||||
{
|
||||
DFS<GenericSpace> engine;
|
||||
GenericDFS(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct GenericBAB: GenericEngine
|
||||
{
|
||||
BAB<GenericSpace> engine;
|
||||
GenericBAB(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct GenericRestart: GenericEngine
|
||||
{
|
||||
Restart<GenericSpace> engine;
|
||||
GenericRestart(GenericSpace* s,Search::Options& opt): engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct LoadingDock
|
||||
{
|
||||
vector<IntVar> ivars;
|
||||
vector<BoolVar> bvars;
|
||||
vector<SetVar> svars;
|
||||
vector<int> ikeep;
|
||||
vector<int> bkeep;
|
||||
vector<int> skeep;
|
||||
|
||||
bool keeping_some() const
|
||||
{
|
||||
return (ikeep.size() != 0)
|
||||
|| (bkeep.size() != 0)
|
||||
|| (skeep.size() != 0);
|
||||
}
|
||||
|
||||
IntVar get_ivar(int i) const { return ivars[i]; }
|
||||
BoolVar get_bvar(int i) const { return bvars[i]; }
|
||||
SetVar get_svar(int i) const { return svars[i]; }
|
||||
|
||||
int enter_ivar(const IntVar& v)
|
||||
{ ivars.push_back(v); return static_cast<int>(ivars.size()-1); }
|
||||
|
||||
int enter_bvar(const BoolVar& v)
|
||||
{ bvars.push_back(v); return static_cast<int>(bvars.size()-1); }
|
||||
|
||||
int enter_svar(const SetVar& v)
|
||||
{ svars.push_back(v); return static_cast<int>(svars.size()-1); }
|
||||
|
||||
int keep_ivar(int i) { ikeep.push_back(i); return static_cast<int>(ikeep.size()-1); }
|
||||
int keep_bvar(int i) { bkeep.push_back(i); return static_cast<int>(bkeep.size()-1); }
|
||||
int keep_svar(int i) { skeep.push_back(i); return static_cast<int>(skeep.size()-1); }
|
||||
|
||||
void freeze(Space& home,
|
||||
IntVarArray& iarr, BoolVarArray& barr, SetVarArray& sarr,
|
||||
int& num, int& den)
|
||||
{
|
||||
if (keeping_some())
|
||||
{
|
||||
// make sure that optimization vars (if any) are kept
|
||||
if (num != -1)
|
||||
{
|
||||
const int _num(num);
|
||||
const int _den(den);
|
||||
int n = static_cast<int>(ikeep.size());
|
||||
bool num_found(false);
|
||||
bool den_found(false);
|
||||
for (;n--;)
|
||||
{
|
||||
const int idx(ikeep[n]);
|
||||
if (idx==_num)
|
||||
{ num_found=true; if (den_found) break; }
|
||||
if (idx==_den)
|
||||
{ den_found=true; if (num_found) break; }
|
||||
}
|
||||
if (!num_found)
|
||||
{ ikeep.push_back(_num);
|
||||
num=static_cast<int>(ikeep.size()-1); }
|
||||
if (_den != -1 && !den_found)
|
||||
{ ikeep.push_back(_den);
|
||||
den=static_cast<int>(ikeep.size()-1); }
|
||||
}
|
||||
{ int n = static_cast<int>(ikeep.size());
|
||||
iarr = IntVarArray(home, n);
|
||||
for (;n--;) iarr[n]=ivars[ikeep[n]]; }
|
||||
{ int n = static_cast<int>(bkeep.size());
|
||||
barr = BoolVarArray(home, n);
|
||||
for (;n--;) barr[n]=bvars[bkeep[n]]; }
|
||||
{ int n = static_cast<int>(skeep.size());
|
||||
sarr = SetVarArray(home, n);
|
||||
for (;n--;) sarr[n]=svars[skeep[n]]; }
|
||||
}
|
||||
else
|
||||
{
|
||||
{ int n = static_cast<int>(ivars.size());
|
||||
iarr = IntVarArray(home, n);
|
||||
for (;n--;) iarr[n]=ivars[n]; }
|
||||
{ int n = static_cast<int>(bvars.size());
|
||||
barr = BoolVarArray(home, n);
|
||||
for (;n--;) barr[n]=bvars[n]; }
|
||||
{ int n = static_cast<int>(svars.size());
|
||||
sarr = SetVarArray(home, n);
|
||||
for (;n--;) sarr[n]=svars[n]; }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct GenericSpace: Space
|
||||
{
|
||||
Optimizing optim;
|
||||
IntVarArray ivars;
|
||||
BoolVarArray bvars;
|
||||
SetVarArray svars;
|
||||
LoadingDock* dock;
|
||||
bool keeping_some; // iff only SOME of the vars are kept
|
||||
|
||||
Space* space() { return this; }
|
||||
|
||||
GenericSpace(bool share, GenericSpace& s)
|
||||
: Space(share, s), optim(s.optim), dock(NULL), keeping_some(s.keeping_some)
|
||||
{
|
||||
ivars.update(*this, share, s.ivars);
|
||||
bvars.update(*this, share, s.bvars);
|
||||
svars.update(*this, share, s.svars);
|
||||
}
|
||||
|
||||
Space* copy(bool share)
|
||||
{ freeze(); return new GenericSpace(share, *this); }
|
||||
|
||||
GenericSpace() : dock(new LoadingDock()), keeping_some(false) {}
|
||||
~GenericSpace() { delete dock; }
|
||||
|
||||
// throw some C++ exception on behalf of glue code
|
||||
void kaboom(const char* s)
|
||||
{ throw Exception("gecode-python", s); }
|
||||
int ikaboom(const char* s)
|
||||
{ kaboom(s); return 0; }
|
||||
|
||||
// freeze the space before handing it off to a search engine
|
||||
void freeze()
|
||||
{
|
||||
if (dock)
|
||||
{
|
||||
keeping_some = dock->keeping_some();
|
||||
dock->freeze(*this, ivars, bvars, svars, optim.num, optim.den);
|
||||
delete dock;
|
||||
dock = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
IntVar get_ivar(int i) const { return (dock)?dock->get_ivar(i):ivars[i]; }
|
||||
BoolVar get_bvar(int i) const { return (dock)?dock->get_bvar(i):bvars[i]; }
|
||||
SetVar get_svar(int i) const { return (dock)?dock->get_svar(i):svars[i]; }
|
||||
|
||||
int keep_ivar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_ivar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
int keep_bvar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_bvar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
int keep_svar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_svar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
bool frozen() const { return dock==NULL; }
|
||||
bool has_keepers() const { return keeping_some; }
|
||||
// when frozen and has_keepers: which is just has_keepers actually
|
||||
bool use_keep_index() const { return has_keepers(); }
|
||||
|
||||
GenericEngine* new_engine(bool restart, Search::Options& opt)
|
||||
{
|
||||
freeze();
|
||||
return (optim.what == Optimizing::OPT_NONE)
|
||||
? static_cast<GenericEngine*>(new GenericDFS(this,opt))
|
||||
: (restart
|
||||
? static_cast<GenericEngine*>(new GenericRestart(this,opt))
|
||||
: static_cast<GenericEngine*>(new GenericBAB(this,opt)));
|
||||
}
|
||||
|
||||
int _new_ivar(IntVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_ivar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_ivar(int lo, int hi)
|
||||
{
|
||||
IntVar v(*this, lo, hi);
|
||||
return _new_ivar(v);
|
||||
}
|
||||
|
||||
int new_ivar(IntSet& s)
|
||||
{
|
||||
IntVar v(*this, s);
|
||||
return _new_ivar(v);
|
||||
}
|
||||
|
||||
int _new_bvar(BoolVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_bvar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_bvar()
|
||||
{
|
||||
BoolVar v(*this, 0, 1);
|
||||
return _new_bvar(v);
|
||||
}
|
||||
|
||||
int _new_svar(SetVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_svar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_svar(int glbMin, int glbMax, int lubMin, int lubMax,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glbMin, glbMax, lubMin, lubMax, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(IntSet glb, int lubMin, int lubMax,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glb, lubMin, lubMax, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(int glbMin, int glbMax, IntSet lub,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glbMin, glbMax, lub, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(IntSet glb, IntSet lub,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glb, lub, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
void minimize(int i) { optim.minimize(i); }
|
||||
void minimize(int i, int j) { optim.minimize(i,j); }
|
||||
void maximize(int i) { optim.maximize(i); }
|
||||
void maximize(int i, int j) { optim.maximize(i,j); }
|
||||
|
||||
virtual void constrain(const Space& s)
|
||||
{
|
||||
const GenericSpace& sol = static_cast<const GenericSpace&>(s);
|
||||
switch (optim.what)
|
||||
{
|
||||
case Optimizing::OPT_NONE:
|
||||
break;
|
||||
case Optimizing::OPT_INT:
|
||||
rel(*this, ivars[optim.num],
|
||||
((optim.how==Optimizing::OPT_MIN) ? IRT_LE : IRT_GR),
|
||||
sol.ivars[optim.num].val());
|
||||
break;
|
||||
case Optimizing::OPT_RATIO:
|
||||
{
|
||||
IntArgs c(2, sol.ivars[optim.den].val(),
|
||||
- sol.ivars[optim.num].val());
|
||||
IntVarArgs v(2);
|
||||
v[0] = ivars[optim.num];
|
||||
v[1] = ivars[optim.den];
|
||||
linear(*this, c, v,
|
||||
((optim.how==Optimizing::OPT_MIN) ? IRT_LE : IRT_GR), 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef DISJUNCTOR
|
||||
#include "disjunctor.icc"
|
||||
#endif
|
||||
|
||||
#endif
|
1183
packages/gecode/gecode3_yap.cc
Normal file
1183
packages/gecode/gecode3_yap.cc
Normal file
File diff suppressed because it is too large
Load Diff
848
packages/gecode/gecode3_yap_hand_written.yap
Normal file
848
packages/gecode/gecode3_yap_hand_written.yap
Normal file
@ -0,0 +1,848 @@
|
||||
%% -*- prolog -*-
|
||||
%%=============================================================================
|
||||
%% Copyright (C) 2011 by Denys Duchier
|
||||
%%
|
||||
%% This program is free software: you can redistribute it and/or modify it
|
||||
%% under the terms of the GNU Lesser General Public License as published by the
|
||||
%% Free Software Foundation, either version 3 of the License, or (at your
|
||||
%% option) any later version.
|
||||
%%
|
||||
%% This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
%% more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU Lesser General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
%%=============================================================================
|
||||
|
||||
:- module(gecode, [(:=)/2, op(500, xfx, ':='),
|
||||
(+=)/2, op(500, xfx, '+=')]).
|
||||
|
||||
:- op(500, xfx, ':=').
|
||||
:- op(500, xfx, '+=').
|
||||
:- load_foreign_files([gecode_yap],[],gecode_init).
|
||||
|
||||
is_int(X,Y) :- integer(X), Y=X.
|
||||
is_int(X) :- integer(X).
|
||||
|
||||
is_bool_(true,true).
|
||||
is_bool_(false,false).
|
||||
is_bool(X,Y) :- nonvar(X), Y=X.
|
||||
is_bool(X) :- is_bool(X,_).
|
||||
|
||||
is_IntVar_('IntVar'(I,K),N) :-
|
||||
integer(I),
|
||||
integer(K),
|
||||
nb_getval(gecode_space_use_keep_index,B),
|
||||
(B=true -> N=K ; N=I).
|
||||
is_BoolVar_('BoolVar'(I,K),N) :-
|
||||
integer(I),
|
||||
integer(K),
|
||||
nb_getval(gecode_space_use_keep_index,B),
|
||||
(B=true -> N=K ; N=I).
|
||||
is_SetVar_('SetVar'(I,K),N) :-
|
||||
integer(I),
|
||||
integer(K),
|
||||
nb_getval(gecode_space_use_keep_index,B),
|
||||
(B=true -> N=K ; N=I).
|
||||
|
||||
is_IntVar(X,I) :- nonvar(X), is_IntVar_(X,I).
|
||||
is_BoolVar(X,I) :- nonvar(X), is_BoolVar_(X,I).
|
||||
is_SetVar(X,I) :- nonvar(X), is_SetVar_(X,I).
|
||||
|
||||
is_IntVar(X) :- is_IntVar(X,_).
|
||||
is_BoolVar(X) :- is_BoolVar(X,_).
|
||||
is_SetVar(X) :- is_SetVar(X,_).
|
||||
|
||||
is_IntVarArgs_([],[]).
|
||||
is_IntVarArgs_([H|T],[H2|T2]) :- is_IntVar(H,H2), is_IntVarArgs(T,T2).
|
||||
is_IntVarArgs(X,Y) :- nonvar(X), is_IntVarArgs_(X,Y).
|
||||
is_IntVarArgs(X) :- \+ \+ is_IntVarArgs(X,_).
|
||||
|
||||
is_BoolVarArgs_([],[]).
|
||||
is_BoolVarArgs_([H|T],[H2|T2]) :- is_BoolVar(H,H2), is_BoolVarArgs(T,T2).
|
||||
is_BoolVarArgs(X,Y) :- nonvar(X), is_BoolVarArgs_(X,Y).
|
||||
is_BoolVarArgs(X) :- \+ \+ is_BoolVarArgs(X,_).
|
||||
|
||||
is_SetVarArgs_([],[]).
|
||||
is_SetVarArgs_([H|T],[H2|T2]) :- is_SetVar(H,H2), is_SetVarArgs(T,T2).
|
||||
is_SetVarArgs(X,Y) :- nonvar(X), is_SetVarArgs_(X,Y).
|
||||
is_SetVarArgs(X) :- \+ \+ is_SetVarArgs(X,_).
|
||||
|
||||
is_IntArgs_([],[]).
|
||||
is_IntArgs_([H|T],[H|T2]) :- integer(H), is_IntArgs(T,T2).
|
||||
is_IntArgs(X,Y) :- nonvar(X), is_IntArgs_(X,Y).
|
||||
is_IntArgs(X) :- \+ \+ is_IntArgs(X,_).
|
||||
|
||||
is_IntSharedArray(X) :- is_IntArgs(X).
|
||||
is_IntSharedArray(X,Y) :- is_IntArgs(X,Y).
|
||||
|
||||
is_TaskTypeArgs_([],[]).
|
||||
is_TaskTypeArgs_([H|T],[H2|T2]) :- is_TaskType(H,H2), is_TaskTypeArgs(T,T2).
|
||||
is_TaskTypeArgs(X,Y) :- nonvar(X), is_TaskTypeArgs_(X,Y).
|
||||
is_TaskTypeArgs(X) :- \+ \+ is_TaskTypeArgs(X,_).
|
||||
|
||||
is_IntSet_('IntSet'(L),L).
|
||||
is_IntSet(X,Y) :- nonvar(X), is_IntSet_(X,Y).
|
||||
is_IntSet(X) :- is_IntSet(X,_).
|
||||
|
||||
is_IntSetArgs_([],[]).
|
||||
is_IntSetArgs_([H|T],[H2|T2]) :- is_IntSet(H,H2), is_IntSetArgs(T,T2).
|
||||
is_IntSetArgs(X,Y) :- nonvar(X), is_IntSetArgs_(X,Y).
|
||||
is_IntSetArgs(X) :- \+ \+ is_IntSetArgs(X,_).
|
||||
|
||||
new_intset(X,I,J) :- intset(X,I,J).
|
||||
new_intset(X,L) :- intset(X,L).
|
||||
|
||||
intset(X, I, J) :-
|
||||
integer(I),
|
||||
integer(J),
|
||||
X='IntSet'([(I,J)]).
|
||||
intset(X, L) :-
|
||||
is_list_of_intset_specs(L,L2),
|
||||
X='IntSet'(L2).
|
||||
|
||||
is_list_of_intset_specs(X,Y) :-
|
||||
nonvar(X), is_list_of_intset_specs_(X,Y).
|
||||
is_list_of_intset_specs_([],[]).
|
||||
is_list_of_intset_specs_([H|T],[H2|T2]) :-
|
||||
is_intset_spec(H,H2),
|
||||
is_list_of_intset_specs(T,T2).
|
||||
|
||||
is_intset_spec(X,Y) :- nonvar(X), is_intset_spec_(X,Y).
|
||||
is_intset_spec_((I,J),(I,J)) :- !, integer(I), integer(J).
|
||||
is_intset_spec_(I,(I,I)) :- integer(I).
|
||||
|
||||
assert_var(X,Y) :-
|
||||
var(X) -> X=Y; throw(gecode_error(expected(var))).
|
||||
assert_is_int(X,Y) :-
|
||||
integer(X) -> X=Y ; throw(gecode_error(expected(int))).
|
||||
assert_is_Space(X,Y) :-
|
||||
is_Space(X,Y) -> true ; throw(gecode_error(expected(space))).
|
||||
assert_is_IntSet(X,Y) :-
|
||||
is_IntSet(X,Y) -> true ; throw(gecode_error(expected(intset))).
|
||||
assert_is_IntVar(X,Y) :-
|
||||
is_IntVar(X,Y) -> true ; throw(gecode_error(expected(intvar))).
|
||||
assert_is_BoolVar(X,Y) :-
|
||||
is_BoolVar(X,Y) -> true ; throw(gecode_error(expected(boolvar))).
|
||||
assert_is_SetVar(X,Y) :-
|
||||
is_SetVar(X,Y) -> true ; throw(gecode_error(expected(setvar))).
|
||||
assert_is_IntArgs(X,Y) :-
|
||||
is_IntArgs(X,Y) -> true ; throw(gecode_error(expected(intargs))).
|
||||
assert_is_IntVarArgs(X,Y) :-
|
||||
is_IntVarArgs(X,Y) -> true ; throw(gecode_error(expected(intvarargs))).
|
||||
assert_is_BoolVarArgs(X,Y) :-
|
||||
is_BoolVarArgs(X,Y) -> true ; throw(gecode_error(expected(boolvarargs))).
|
||||
assert_is_SetVarArgs(X,Y) :-
|
||||
is_SetVarArgs(X,Y) -> true ; throw(gecode_error(expected(setvarargs))).
|
||||
|
||||
assert_var(X) :- assert_var(X,_).
|
||||
assert_is_int(X) :- assert_is_int(X,_).
|
||||
assert_is_Space(X) :- assert_is_Space(X,_).
|
||||
assert_is_IntSet(X) :- assert_is_IntSet(X,_).
|
||||
assert_is_IntVar(X) :- assert_is_IntVar(X,_).
|
||||
assert_is_BoolVar(X) :- assert_is_BoolVar(X,_).
|
||||
assert_is_SetVar(X) :- assert_is_SetVar(X,_).
|
||||
assert_is_IntArgs(X) :- assert_is_IntArgs(X,_).
|
||||
assert_is_IntVarArgs(X) :- assert_is_IntVarArgs(X,_).
|
||||
assert_is_BoolVarArgs(X) :- assert_is_BoolVarArgs(X,_).
|
||||
assert_is_SetVarArgs(X) :- assert_is_SetVarArgs(X,_).
|
||||
|
||||
new_space(Space) :-
|
||||
assert_var(Space),
|
||||
gecode_new_space(Space_),
|
||||
Space='Space'(Space_).
|
||||
|
||||
%% checking that an argument is a space sets a global variable
|
||||
%% indicating whether variables need to be translated to their
|
||||
%% original index or to their "keep" index.
|
||||
%%
|
||||
%% these bindings are going to take advantage of the fact that,
|
||||
%% when a space is involved, it is checked first, thus setting
|
||||
%% this global variable. subsequent accesses to variables are
|
||||
%% then correctly translated.
|
||||
|
||||
is_Space_('Space'(X),X) :-
|
||||
gecode_space_use_keep_index(X,B),
|
||||
nb_setval(gecode_space_use_keep_index,B).
|
||||
is_Space(X,Y) :- nonvar(X), is_Space_(X,Y).
|
||||
is_Space(X) :- is_Space(X,_).
|
||||
|
||||
%% AUTOGENERATE ALL VARIANTS LATER!
|
||||
|
||||
new_intvars([], Space, Lo, Hi).
|
||||
new_intvars([IVar|IVars], Space, Lo, Hi) :-
|
||||
new_intvar(IVar, Space, Lo, Hi),
|
||||
new_intvars(IVars, Space, Lo, Hi).
|
||||
|
||||
new_intvars([], Space, IntSet).
|
||||
new_intvars([IVar|IVars], Space, IntSet) :-
|
||||
new_intvar(IVar, Space, IntSet),
|
||||
new_intvars(IVars, Space, IntSet).
|
||||
|
||||
new_boolvars([], Space).
|
||||
new_boolvars([BVar|BVars], Space) :-
|
||||
new_boolvar(BVar, Space),
|
||||
new_boolvars(BVars, Space).
|
||||
|
||||
new_setvars([], Space, X1, X2, X3, X4, X5, X6).
|
||||
new_setvars([SVar|SVars], Space, X1, X2, X3, X4, X5, X6) :-
|
||||
new_setvar(SVar, Space, X1, X2, X3, X4, X5, X6),
|
||||
new_setvars(SVars, Space, X1, X2, X3, X4, X5, X6).
|
||||
|
||||
new_setvars([], Space, X1, X2, X3, X4, X5).
|
||||
new_setvars([SVar|SVars], Space, X1, X2, X3, X4, X5) :-
|
||||
new_setvar(SVar, Space, X1, X2, X3, X4, X5),
|
||||
new_setvars(SVars, Space, X1, X2, X3, X4, X5).
|
||||
|
||||
new_setvars([], Space, X1, X2, X3, X4).
|
||||
new_setvars([SVar|SVars], Space, X1, X2, X3, X4) :-
|
||||
new_setvar(SVar, Space, X1, X2, X3, X4),
|
||||
new_setvars(SVars, Space, X1, X2, X3, X4).
|
||||
|
||||
new_setvars([], Space, X1, X2, X3).
|
||||
new_setvars([SVar|SVars], Space, X1, X2, X3) :-
|
||||
new_setvar(SVar, Space, X1, X2, X3),
|
||||
new_setvars(SVars, Space, X1, X2, X3).
|
||||
|
||||
new_setvars([], Space, X1, X2).
|
||||
new_setvars([SVar|SVars], Space, X1, X2) :-
|
||||
new_setvar(SVar, Space, X1, X2),
|
||||
new_setvars(SVars, Space, X1, X2).
|
||||
|
||||
%% AUTOGENERATE LATER
|
||||
|
||||
assert_integer(X) :- assert_is_int(X).
|
||||
|
||||
new_intvar(IVar, Space, Lo, Hi) :- !,
|
||||
assert_var(IVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
assert_integer(Lo),
|
||||
assert_integer(Hi),
|
||||
gecode_new_intvar_from_bounds(Idx,Space_,Lo,Hi),
|
||||
IVar='IntVar'(Idx,-1).
|
||||
new_intvar(IVar, Space, IntSet) :- !,
|
||||
assert_var(IVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
assert_is_IntSet(IntSet, L),
|
||||
gecode_new_intvar_from_intset(Idx,Space_,L),
|
||||
IVar='IntVar'(Idx,-1).
|
||||
|
||||
new_boolvar(BVar, Space) :- !,
|
||||
assert_var(BVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
gecode_new_boolvar(Idx,Space_),
|
||||
BVar='BoolVar'(Idx,-1).
|
||||
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax,CardMin,CardMax) 6 new_setvar_1
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax,CardMin) 5 new_setvar_2
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax) 4 new_setvar_3
|
||||
%% (Glb,LubMin,LubMax,CardMin,CardMax) 5 new_setvar_4
|
||||
%% (Glb,LubMin,LubMax,CardMin) 4 new_setvar_5
|
||||
%% (Glb,LubMin,LubMax) 3 new_setvar_6
|
||||
%% (GlbMin,GlbMax,Lub,CardMin,CardMax) 5 new_setvar_7
|
||||
%% (GlbMin,GlbMax,Lub,CardMin) 4 new_setvar_8
|
||||
%% (GlbMin,GlbMax,Lub) 3 new_setvar_9
|
||||
%% (Glb,Lub,CardMin,CardMax) 4 new_setvar_10
|
||||
%% (Glb,Lub,CardMin) 3 new_setvar_11
|
||||
%% (Glb,Lub) 2 new_setvar_12
|
||||
|
||||
%% 6 arguments
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax,CardMin,CardMax) 6 new_setvar_1
|
||||
new_setvar(SVar, Space, GlbMin, GlbMax, LubMin, LubMax, CardMin, CardMax) :-
|
||||
assert_var(SVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
assert_integer(GlbMin),
|
||||
assert_integer(GlbMax),
|
||||
assert_integer(LubMin),
|
||||
assert_integer(LubMax),
|
||||
assert_integer(CardMin),
|
||||
assert_integer(CardMax),
|
||||
gecode_new_setvar(Idx, Space_, GlbMin, GlbMax, LubMib, LubMax, CardMin, CardMax),
|
||||
SVar='SetVar'(Idx,-1).
|
||||
|
||||
%% 5 arguments
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax,CardMin) 5 new_setvar_2
|
||||
%% (Glb,LubMin,LubMax,CardMin,CardMax) 5 new_setvar_4
|
||||
%% (GlbMin,GlbMax,Lub,CardMin,CardMax) 5 new_setvar_7
|
||||
new_setvar(SVar, Space, X1, X2, X3, X4, X5) :-
|
||||
assert_var(SVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
(integer(X1)
|
||||
->
|
||||
assert_integer(X2),
|
||||
assert_integer(X4),
|
||||
assert_integer(X5),
|
||||
(is_IntSet(X3,X3_)
|
||||
-> gecode_new_setvar_7(Idx,Space_,X1,X2,X3_,X4,X5)
|
||||
; gecode_new_setvar_2(Idx,Space_,X1,X2,X3,X4,X5))
|
||||
;
|
||||
assert_is_IntSet(X1,X1_),
|
||||
assert_integer(X2),
|
||||
assert_integer(X3),
|
||||
assert_integer(X4),
|
||||
assert_integer(X5),
|
||||
gecode_new_setvar_4(Idx,Space_,X1_,X2,X3,X4,X5)),
|
||||
SVar='SetVar'(Idx,-1).
|
||||
|
||||
%% 4 arguments
|
||||
%% (GlbMin,GlbMax,LubMin,LubMax) 4 new_setvar_3
|
||||
%% (Glb,LubMin,LubMax,CardMin) 4 new_setvar_5
|
||||
%% (GlbMin,GlbMax,Lub,CardMin) 4 new_setvar_8
|
||||
%% (Glb,Lub,CardMin,CardMax) 4 new_setvar_10
|
||||
new_setvar(SVar,Space,X1,X2,X3,X4) :-
|
||||
assert_var(SVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
assert_integer(X4),
|
||||
(is_IntSet(X1,X1_)
|
||||
-> (is_IntSet(X2,X2_)
|
||||
->
|
||||
assert_integer(X3),
|
||||
gecode_new_setvar_10(Idx,Space_,X1_,X2_,X3,X4)
|
||||
;
|
||||
assert_integer(X2),
|
||||
assert_integer(X3),
|
||||
gecode_new_setvar_5(Idx,Space_,X1_,X2,X3,X4))
|
||||
;
|
||||
assert_integer(X1),
|
||||
assert_integer(X2),
|
||||
(is_IntSet(X3,X3_)
|
||||
->
|
||||
gecode_new_setvar_8(Idx,Space_,X1,X2,X3_,X4)
|
||||
;
|
||||
assert_integer(X3),
|
||||
gecode_new_setvar_3(Idx,Space_,X1,X2,X3,X4))),
|
||||
SVar='SetVar'(Idx,-1).
|
||||
|
||||
%% 3 arguments
|
||||
%% (Glb,LubMin,LubMax) 3 new_setvar_6
|
||||
%% (GlbMin,GlbMax,Lub) 3 new_setvar_9
|
||||
%% (Glb,Lub,CardMin) 3 new_setvar_11
|
||||
new_setvar(SVar,Space,X1,X2,X3) :-
|
||||
assert_var(SVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
(is_IntSet(X1,X1_)
|
||||
-> (is_IntSet(X2,X2_)
|
||||
->
|
||||
assert_integer(X3),
|
||||
gecode_new_setvar_11(Idx,Space_,X1_,X2_,X3)
|
||||
;
|
||||
assert_integer(X2),
|
||||
assert_integer(X3),
|
||||
gecode_new_setvar_6(Idx,Space_,X1_,X2,X3))
|
||||
;
|
||||
assert_integer(X1),
|
||||
assert_integer(X2),
|
||||
assert_is_IntSet(X3,X3_),
|
||||
gecode_new_setvar_9(Idx,Space_,X1,X2,X3_)),
|
||||
SVar='SetVar'(Idx,-1).
|
||||
|
||||
%% 2 arguments
|
||||
%% (Glb,Lub) 2 new_setvar_12
|
||||
new_setvar(SVar,Space,X1,X2) :-
|
||||
assert_var(SVar),
|
||||
assert_is_Space_or_Clause(Space,Space_),
|
||||
assert_is_IntSet(X1,X1_),
|
||||
assert_is_IntSet(X2,X2_),
|
||||
gecode_new_setvar_12(Idx,Space_,X1_,X2_),
|
||||
SVar='SetVar'(Idx,-1).
|
||||
|
||||
minimize(Space,IVar) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
assert_is_IntVar(IVar,IVar_),
|
||||
gecode_space_minimize(Space_,IVar_).
|
||||
maximize(Space,IVar) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
assert_is_IntVar(IVar,IVar_),
|
||||
gecode_space_maximize(Space_,IVar_).
|
||||
minimize(Space,IVar1,IVar2) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
assert_is_IntVar(IVar1,IVar1_),
|
||||
assert_is_IntVar(IVar2,IVar2_),
|
||||
gecode_space_minimize_ratio(Space_,IVar1_,IVar2_).
|
||||
maximize(Space,IVar1,IVar2) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
assert_is_IntVar(IVar1,IVar1_),
|
||||
assert_is_IntVar(IVar2,IVar2_),
|
||||
gecode_space_maximize_ratio(Space_,IVar1_,IVar2_).
|
||||
|
||||
gecode_search_options_init(search_options(0,1.0,8,2)).
|
||||
gecode_search_options_offset(restart,1).
|
||||
gecode_search_options_offset(threads,2).
|
||||
gecode_search_options_offset(c_d ,3).
|
||||
gecode_search_options_offset(a_d ,4).
|
||||
|
||||
gecode_search_option_set(O,V,R) :-
|
||||
gecode_search_options_offset(O,I),
|
||||
setarg(I,R,V).
|
||||
|
||||
gecode_search_options_from_alist(L,R) :-
|
||||
gecode_search_options_init(R),
|
||||
gecode_search_options_process_alist(L,R).
|
||||
|
||||
gecode_search_options_process_alist([],R).
|
||||
gecode_search_options_process_alist([H|T],R) :- !,
|
||||
gecode_search_options_process1(H,R),
|
||||
gecode_search_options_process_alist(T,R).
|
||||
|
||||
gecode_search_options_process1(restart,R) :- !,
|
||||
gecode_search_option_set(restart,1,R).
|
||||
gecode_search_options_process1(threads=N,R) :- !,
|
||||
(integer(N) -> V is float(N)
|
||||
; (float(N) -> V=N
|
||||
; throw(bad_search_option_value(threads=N)))),
|
||||
gecode_search_option_set(threads,V,R).
|
||||
gecode_search_options_process1(c_d=N,R) :- !,
|
||||
(integer(N) -> V=N
|
||||
; throw(bad_search_option_value(c_d=N))),
|
||||
gecode_search_option_set(c_d,V,R).
|
||||
gecode_search_options_process1(a_d=N,R) :- !,
|
||||
(integer(N) -> V=N
|
||||
; throw(bad_search_option_value(a_d=N))),
|
||||
gecode_search_option_set(a_d,V,R).
|
||||
gecode_search_options_process1(O,_) :-
|
||||
throw(gecode_error(unrecognized_search_option(O))).
|
||||
|
||||
search(Space, Solution) :-
|
||||
search(Space, Solution, []).
|
||||
|
||||
search(Space, Solution, Alist) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
assert_var(Solution),
|
||||
gecode_search_options_from_alist(Alist,O),
|
||||
gecode_new_engine(Space_,Engine_,O),
|
||||
gecode_engine_search(Engine_,Solution_),
|
||||
Solution='Space'(Solution_).
|
||||
|
||||
|
||||
%% INSPECTING VARIABLES
|
||||
|
||||
get_for_vars([],Space,[],F).
|
||||
get_for_vars([V|Vs],Space,[V2|V2s],F) :-
|
||||
call_with_args(F,V,Space,V2),
|
||||
get_for_vars(Vs,Space,V2s,F).
|
||||
|
||||
get_assigned(Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_assigned(Space_,Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_assigned(Space_,Var_)
|
||||
; is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_assigned(Space_,Var_)
|
||||
; throw(gecode_error(expected(variable)))).
|
||||
|
||||
get_min(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_min(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_min(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_min)).
|
||||
|
||||
get_max(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_max(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_max(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_max)).
|
||||
|
||||
get_med(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_med(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_med(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_med)).
|
||||
|
||||
get_val(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_val(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_val(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_val)).
|
||||
|
||||
get_size(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_size(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_size(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_size)).
|
||||
|
||||
get_width(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_width(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_width(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_width)).
|
||||
|
||||
get_regret_min(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_regret_min(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_regret_min(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_regret_min)).
|
||||
|
||||
get_regret_max(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_regret_max(X, Space_, Var_)
|
||||
; is_BoolVar(Var,Var_)
|
||||
-> gecode_boolvar_regret_max(X, Space_, Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_regret_max)).
|
||||
|
||||
get_glbSize(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_glbSize(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_glbSize)).
|
||||
|
||||
get_lubSize(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_lubSize(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_lubSize)).
|
||||
|
||||
get_unknownSize(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_unknownSize(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_unknownSize)).
|
||||
|
||||
get_cardMin(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_cardMin(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_cardMin)).
|
||||
|
||||
get_cardMax(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_cardMax(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_cardMax)).
|
||||
|
||||
get_lubMin(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_lubMin(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_lubMin)).
|
||||
|
||||
get_lubMax(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_lubMax(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_lubMax)).
|
||||
|
||||
get_glbMin(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_glbMin(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_glbMin)).
|
||||
|
||||
get_glbMax(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_glbMax(X,Space_,Var_)
|
||||
; get_for_vars(X, Space, Var, gecode:get_glbMax)).
|
||||
|
||||
get_glb_ranges(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_glb_ranges(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_glb_ranges)).
|
||||
|
||||
get_lub_ranges(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_lub_ranges(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_lub_ranges)).
|
||||
|
||||
get_unknown_ranges(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_unknown_ranges(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_unknown_ranges)).
|
||||
|
||||
get_glb_values(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_glb_values(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_glb_values)).
|
||||
|
||||
get_lub_values(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_lub_values(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_lub_values)).
|
||||
|
||||
get_unknown_values(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_SetVar(Var,Var_)
|
||||
-> gecode_setvar_unknown_values(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_unknown_values)).
|
||||
|
||||
get_ranges(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_ranges(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_ranges)).
|
||||
|
||||
get_values(X, Space, Var) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
(is_IntVar(Var,Var_)
|
||||
-> gecode_intvar_values(X,Space_,Var_)
|
||||
; get_for_vars(X,Space,Var,gecode:get_values)).
|
||||
|
||||
new_disjunctor(X, Space) :-
|
||||
assert_is_Space(Space,Space_),
|
||||
gecode_new_disjunctor(D,Space_),
|
||||
X='Disjunctor'(D).
|
||||
|
||||
is_Disjunctor_('Disjunctor'(D),D).
|
||||
is_Disjunctor(X,Y) :- nonvar(X), is_Disjunctor_(X,Y).
|
||||
is_Disjunctor(X) :- is_Disjunctor(X,_).
|
||||
|
||||
assert_is_Disjunctor(X,Y) :-
|
||||
is_Disjunctor(X,Y) -> true ; throw(gecode_error(expected(disjunctor))).
|
||||
|
||||
new_clause(X, Disj) :-
|
||||
assert_is_Disjunctor(Disj,Disj_),
|
||||
gecode_new_clause(C, Disj_),
|
||||
X='Clause'(C).
|
||||
|
||||
is_Clause_('Clause'(C),C) :-
|
||||
gecode_space_use_keep_index(C,B),
|
||||
nb_setval(gecode_space_use_keep_index,B).
|
||||
is_Clause(X,Y) :- nonvar(X), is_Clause_(X,Y).
|
||||
is_Clause(X) :- is_Clause(X,_).
|
||||
|
||||
assert_is_Clause(X,Y) :-
|
||||
is_Clause(X,Y) -> true ; throw(gecode_error(expected(clause))).
|
||||
|
||||
is_Space_or_Clause(X,Y) :-
|
||||
(is_Space(X,Y);is_Clause(X,Y)), !.
|
||||
assert_is_Space_or_Clause(X,Y) :-
|
||||
is_Space_or_Clause(X,Y) -> true
|
||||
; throw(gecode_error(expected(space,clause))).
|
||||
|
||||
new_forward(Clause, X, Y) :-
|
||||
assert_is_Clause(Clause, Clause_),
|
||||
(is_IntVar(X,X_)
|
||||
-> (is_IntVar(Y,Y_)
|
||||
-> gecode_clause_intvar_forward(Clause_,X_,Y_)
|
||||
; throw(gecode_error(forward)))
|
||||
; (is_BoolVar(X,X_)
|
||||
-> (is_BoolVar(Y,Y_)
|
||||
-> gecode_clause_boolvar_forward(Clause_,X_,Y_)
|
||||
; throw(gecode_error(forward)))
|
||||
; (is_SetVar(X,X_)
|
||||
-> (is_SetVar(Y,Y_)
|
||||
-> gecode_clause_setvar_forward(Clause_,X_,Y_)
|
||||
; throw(gecode_error(forward)))
|
||||
; (X=[]
|
||||
-> Y=[]
|
||||
;(X=[H1|T1],Y=[H2|T2])
|
||||
-> (new_forward(Clause,H1,H2),
|
||||
new_forward(Clause,T1,T2))
|
||||
; throw(gecode_error(forward)))))).
|
||||
|
||||
new_intvars_(L,Space,N,I,J) :- length(L,N), new_intvars(L,Space,I,J).
|
||||
new_intvars_(L,Space,N,IntSet) :- length(L,N), new_intvars(L,Space,IntSet).
|
||||
new_boolvars_(L,Space,N) :- length(L,N), new_boolvars(L,Space).
|
||||
new_setvars_(L,Space,N,X1,X2,X3,X4,X5,X6) :- length(L,N), new_setvars(L,Space,X1,X2,X3,X4,X5,X6).
|
||||
new_setvars_(L,Space,N,X1,X2,X3,X4,X5) :- length(L,N), new_setvars(L,Space,X1,X2,X3,X4,X5).
|
||||
new_setvars_(L,Space,N,X1,X2,X3,X4) :- length(L,N), new_setvars(L,Space,X1,X2,X3,X4).
|
||||
new_setvars_(L,Space,N,X1,X2,X3) :- length(L,N), new_setvars(L,Space,X1,X2,X3).
|
||||
new_setvars_(L,Space,N,X1,X2) :- length(L,N), new_setvars(L,Space,X1,X2).
|
||||
|
||||
keep_(Space, Var) :-
|
||||
(Var = 'IntVar'(I,J)
|
||||
-> (J = -1 -> (gecode_intvar_keep(Space,I,K),setarg(2,Var,K))
|
||||
; throw(gecode_error(variable_already_kept(Var))))
|
||||
; (Var = 'BoolVar'(I,J)
|
||||
-> (J = -1 -> (gecode_boolvar_keep(Space,I,K),setarg(2,Var,K))
|
||||
; throw(gecode_error(variable_already_kept(Var))))
|
||||
; (Var = 'SetVar'(I,J)
|
||||
-> (J = -1 -> (gecode_setvar_keep(Space,I,K),setarg(2,Var,K))
|
||||
; throw(gecode_error(variable_already_kept(Var))))
|
||||
; keep_list_(Space,Var)))).
|
||||
|
||||
keep_list_(Space, []) :- !.
|
||||
keep_list_(Space, [H|T]) :- !,
|
||||
keep_(Space,H), keep_list_(Space,T).
|
||||
keep_list_(_, X) :-
|
||||
throw(gecode_error(not_a_variable(X))).
|
||||
|
||||
%% more concise interface:
|
||||
(X := Y) :- var(Y), !, throw(gecode_error((X := Y))).
|
||||
(X := intset(I,J)) :- !, new_intset(X,I,J).
|
||||
(X := intset(L)) :- !, new_intset(X,L).
|
||||
(X := space) :- !, new_space(X).
|
||||
(X := intvar(Space,I,J)) :- !, new_intvar(X,Space,I,J).
|
||||
(X := intvar(Space,IntSet)) :- !, new_intvar(X,Space,IntSet).
|
||||
(X := boolvar(Space)) :- !, new_boolvar(X,Space).
|
||||
(X := setvar(Space,X1,X2,X3,X4,X5,X6)) :- !, new_setvar(X,Space,X1,X2,X3,X4,X5,X6).
|
||||
(X := setvar(Space,X1,X2,X3,X4,X5)) :- !, new_setvar(X,Space,X1,X2,X3,X4,X5).
|
||||
(X := setvar(Space,X1,X2,X3,X4)) :- !, new_setvar(X,Space,X1,X2,X3,X4).
|
||||
(X := setvar(Space,X1,X2,X3)) :- !, new_setvar(X,Space,X1,X2,X3).
|
||||
(X := setvar(Space,X1,X2)) :- !, new_setvar(X,Space,X1,X2).
|
||||
(X := intvars(Space,N,I,J)) :- !, new_intvars_(X,Space,N,I,J).
|
||||
(X := intvars(Space,N,IntSet)) :- !, new_intvars_(X,Space,N,IntSet).
|
||||
(X := boolvars(Space,N)) :- !, new_boolvars_(X,Space,N).
|
||||
(X := setvars(Space,N,X1,X2,X3,X4,X5,X6)) :- !, new_setvars_(X,Space,N,X1,X2,X3,X4,X5,X6).
|
||||
(X := setvars(Space,N,X1,X2,X3,X4,X5)) :- !, new_setvars_(X,Space,N,X1,X2,X3,X4,X5).
|
||||
(X := setvars(Space,N,X1,X2,X3,X4)) :- !, new_setvars_(X,Space,N,X1,X2,X3,X4).
|
||||
(X := setvars(Space,N,X1,X2,X3)) :- !, new_setvars_(X,Space,N,X1,X2,X3).
|
||||
(X := setvars(Space,N,X1,X2)) :- !, new_setvars_(X,Space,N,X1,X2).
|
||||
|
||||
(X := min(Space,Var)) :- !, get_min(X,Space,Var).
|
||||
(X := max(Space,Var)) :- !, get_max(X,Space,Var).
|
||||
(X := med(Space,Var)) :- !, get_med(X,Space,Var).
|
||||
(X := val(Space,Var)) :- !, get_val(X,Space,Var).
|
||||
(X := size(Space,Var)) :- !, get_size(X,Space,Var).
|
||||
(X := width(Space,Var)) :- !, get_width(X,Space,Var).
|
||||
(X := regret_min(Space,Var)) :- !, get_regret_min(X,Space,Var).
|
||||
(X := regret_max(Space,Var)) :- !, get_regret_max(X,Space,Var).
|
||||
(X := ranges(Space,Var)) :- !, get_ranges(X,Space,Var).
|
||||
(X := values(Space,Var)) :- !, get_values(X,Space,Var).
|
||||
|
||||
(X := glbSize(Space,Var)) :- !, get_glbSize(X,Space,Var).
|
||||
(X := lubSize(Space,Var)) :- !, get_lubSize(X,Space,Var).
|
||||
(X := unknownSize(Space,Var)) :- !, get_unknownSize(X,Space,Var).
|
||||
(X := cardMin(Space,Var)) :- !, get_cardMin(X,Space,Var).
|
||||
(X := cardMax(Space,Var)) :- !, get_cardMax(X,Space,Var).
|
||||
(X := lubMin(Space,Var)) :- !, get_lubMin(X,Space,Var).
|
||||
(X := lubMax(Space,Var)) :- !, get_lubMax(X,Space,Var).
|
||||
(X := glbMin(Space,Var)) :- !, get_glbMin(X,Space,Var).
|
||||
(X := glbMax(Space,Var)) :- !, get_glbMax(X,Space,Var).
|
||||
(X := glb_ranges(Space,Var)) :- !, get_glb_ranges(X,Space,Var).
|
||||
(X := lub_ranges(Space,Var)) :- !, get_lub_ranges(X,Space,Var).
|
||||
(X := unknown_ranges(Space,Var)) :- !, get_unknown_ranges(X,Space,Var).
|
||||
(X := glb_values(Space,Var)) :- !, get_glb_values(X,Space,Var).
|
||||
(X := lub_values(Space,Var)) :- !, get_lub_values(X,Space,Var).
|
||||
(X := unknown_values(Space,Var)) :- !, get_unknown_values(X,Space,Var).
|
||||
|
||||
(X := disjunctor(Space)) :- !, new_disjunctor(X,Space).
|
||||
(X := clause(Disj)) :- !, new_clause(X,Disj).
|
||||
|
||||
(X := search(Y)) :- !, search(Y,X).
|
||||
(X := search(Y,L)) :- !, search(Y,X,L).
|
||||
|
||||
% these should be autogenerated:
|
||||
(C += forward(X,Y)) :- !, new_forward(C,X,Y).
|
||||
(Space += abs(X1,X2)) :- !, abs(Space,X1,X2).
|
||||
(Space += abs(X1,X2,X3)) :- !, abs(Space,X1,X2,X3).
|
||||
(Space += assign(X1,X2)) :- !, assign(Space,X1,X2).
|
||||
(Space += atmostOne(X1,X2)) :- !, atmostOne(Space,X1,X2).
|
||||
(Space += binpacking(X1,X2,X3)) :- !, binpacking(Space,X1,X2,X3).
|
||||
(Space += binpacking(X1,X2,X3,X4)) :- !, binpacking(Space,X1,X2,X3,X4).
|
||||
(Space += branch(X1,X2)) :- !, branch(Space,X1,X2).
|
||||
(Space += branch(X1,X2,X3)) :- !, branch(Space,X1,X2,X3).
|
||||
(Space += cardinality(X1,X2)) :- !, cardinality(Space,X1,X2).
|
||||
(Space += cardinality(X1,X2,X3)) :- !, cardinality(Space,X1,X2,X3).
|
||||
(Space += channel(X1,X2)) :- !, channel(Space,X1,X2).
|
||||
(Space += channel(X1,X2,X3)) :- !, channel(Space,X1,X2,X3).
|
||||
(Space += channel(X1,X2,X3,X4)) :- !, channel(Space,X1,X2,X3,X4).
|
||||
(Space += channel(X1,X2,X3,X4,X5)) :- !, channel(Space,X1,X2,X3,X4,X5).
|
||||
(Space += channelSorted(X1,X2)) :- !, channelSorted(Space,X1,X2).
|
||||
(Space += circuit(X1)) :- !, circuit(Space,X1).
|
||||
(Space += circuit(X1,X2)) :- !, circuit(Space,X1,X2).
|
||||
(Space += circuit(X1,X2,X3)) :- !, circuit(Space,X1,X2,X3).
|
||||
(Space += circuit(X1,X2,X3,X4)) :- !, circuit(Space,X1,X2,X3,X4).
|
||||
(Space += circuit(X1,X2,X3,X4,X5)) :- !, circuit(Space,X1,X2,X3,X4,X5).
|
||||
(Space += circuit(X1,X2,X3,X4,X5,X6)) :- !, circuit(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += clause(X1,X2,X3,X4)) :- !, clause(Space,X1,X2,X3,X4).
|
||||
(Space += clause(X1,X2,X3,X4,X5)) :- !, clause(Space,X1,X2,X3,X4,X5).
|
||||
(Space += convex(X1)) :- !, convex(Space,X1).
|
||||
(Space += convex(X1,X2)) :- !, convex(Space,X1,X2).
|
||||
(Space += count(X1,X2)) :- !, count(Space,X1,X2).
|
||||
(Space += count(X1,X2,X3)) :- !, count(Space,X1,X2,X3).
|
||||
(Space += count(X1,X2,X3,X4)) :- !, count(Space,X1,X2,X3,X4).
|
||||
(Space += count(X1,X2,X3,X4,X5)) :- !, count(Space,X1,X2,X3,X4,X5).
|
||||
(Space += cumulative(X1,X2,X3,X4)) :- !, cumulative(Space,X1,X2,X3,X4).
|
||||
(Space += cumulative(X1,X2,X3,X4,X5)) :- !, cumulative(Space,X1,X2,X3,X4,X5).
|
||||
(Space += cumulative(X1,X2,X3,X4,X5,X6)) :- !, cumulative(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += cumulative(X1,X2,X3,X4,X5,X6,X7)) :- !, cumulative(Space,X1,X2,X3,X4,X5,X6,X7).
|
||||
(Space += cumulatives(X1,X2,X3,X4,X5,X6,X7)) :- !, cumulatives(Space,X1,X2,X3,X4,X5,X6,X7).
|
||||
(Space += cumulatives(X1,X2,X3,X4,X5,X6,X7,X8)) :- !, cumulatives(Space,X1,X2,X3,X4,X5,X6,X7,X8).
|
||||
(Space += distinct(X1)) :- !, distinct(Space,X1).
|
||||
(Space += distinct(X1,X2)) :- !, distinct(Space,X1,X2).
|
||||
(Space += distinct(X1,X2,X3)) :- !, distinct(Space,X1,X2,X3).
|
||||
(Space += div(X1,X2,X3)) :- !, div(Space,X1,X2,X3).
|
||||
(Space += div(X1,X2,X3,X4)) :- !, div(Space,X1,X2,X3,X4).
|
||||
(Space += divmod(X1,X2,X3,X4)) :- !, divmod(Space,X1,X2,X3,X4).
|
||||
(Space += divmod(X1,X2,X3,X4,X5)) :- !, divmod(Space,X1,X2,X3,X4,X5).
|
||||
(Space += dom(X1,X2)) :- !, dom(Space,X1,X2).
|
||||
(Space += dom(X1,X2,X3)) :- !, dom(Space,X1,X2,X3).
|
||||
(Space += dom(X1,X2,X3,X4)) :- !, dom(Space,X1,X2,X3,X4).
|
||||
(Space += dom(X1,X2,X3,X4,X5)) :- !, dom(Space,X1,X2,X3,X4,X5).
|
||||
(Space += element(X1,X2,X3)) :- !, element(Space,X1,X2,X3).
|
||||
(Space += element(X1,X2,X3,X4)) :- !, element(Space,X1,X2,X3,X4).
|
||||
(Space += element(X1,X2,X3,X4,X5)) :- !, element(Space,X1,X2,X3,X4,X5).
|
||||
(Space += element(X1,X2,X3,X4,X5,X6)) :- !, element(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += element(X1,X2,X3,X4,X5,X6,X7)) :- !, element(Space,X1,X2,X3,X4,X5,X6,X7).
|
||||
(Space += linear(X1,X2,X3)) :- !, linear(Space,X1,X2,X3).
|
||||
(Space += linear(X1,X2,X3,X4)) :- !, linear(Space,X1,X2,X3,X4).
|
||||
(Space += linear(X1,X2,X3,X4,X5)) :- !, linear(Space,X1,X2,X3,X4,X5).
|
||||
(Space += linear(X1,X2,X3,X4,X5,X6)) :- !, linear(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += max(X1,X2)) :- !, max(Space,X1,X2).
|
||||
(Space += max(X1,X2,X3)) :- !, max(Space,X1,X2,X3).
|
||||
(Space += max(X1,X2,X3,X4)) :- !, max(Space,X1,X2,X3,X4).
|
||||
(Space += min(X1,X2)) :- !, min(Space,X1,X2).
|
||||
(Space += min(X1,X2,X3)) :- !, min(Space,X1,X2,X3).
|
||||
(Space += min(X1,X2,X3,X4)) :- !, min(Space,X1,X2,X3,X4).
|
||||
(Space += mod(X1,X2,X3)) :- !, mod(Space,X1,X2,X3).
|
||||
(Space += mod(X1,X2,X3,X4)) :- !, mod(Space,X1,X2,X3,X4).
|
||||
(Space += mult(X1,X2,X3)) :- !, mult(Space,X1,X2,X3).
|
||||
(Space += mult(X1,X2,X3,X4)) :- !, mult(Space,X1,X2,X3,X4).
|
||||
(Space += nooverlap(X1,X2,X3,X4)) :- !, nooverlap(Space,X1,X2,X3,X4).
|
||||
(Space += nooverlap(X1,X2,X3,X4,X5)) :- !, nooverlap(Space,X1,X2,X3,X4,X5).
|
||||
(Space += nooverlap(X1,X2,X3,X4,X5,X6)) :- !, nooverlap(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += nooverlap(X1,X2,X3,X4,X5,X6,X7)) :- !, nooverlap(Space,X1,X2,X3,X4,X5,X6,X7).
|
||||
(Space += nooverlap(X1,X2,X3,X4,X5,X6,X7,X8)) :- !, nooverlap(Space,X1,X2,X3,X4,X5,X6,X7,X8).
|
||||
(Space += notMax(X1,X2)) :- !, notMax(Space,X1,X2).
|
||||
(Space += notMin(X1,X2)) :- !, notMin(Space,X1,X2).
|
||||
(Space += path(X1,X2,X3)) :- !, path(Space,X1,X2,X3).
|
||||
(Space += path(X1,X2,X3,X4)) :- !, path(Space,X1,X2,X3,X4).
|
||||
(Space += path(X1,X2,X3,X4,X5)) :- !, path(Space,X1,X2,X3,X4,X5).
|
||||
(Space += path(X1,X2,X3,X4,X5,X6)) :- !, path(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += path(X1,X2,X3,X4,X5,X6,X7)) :- !, path(Space,X1,X2,X3,X4,X5,X6,X7).
|
||||
(Space += path(X1,X2,X3,X4,X5,X6,X7,X8)) :- !, path(Space,X1,X2,X3,X4,X5,X6,X7,X8).
|
||||
(Space += precede(X1,X2)) :- !, precede(Space,X1,X2).
|
||||
(Space += precede(X1,X2,X3)) :- !, precede(Space,X1,X2,X3).
|
||||
(Space += precede(X1,X2,X3,X4)) :- !, precede(Space,X1,X2,X3,X4).
|
||||
(Space += rel(X1,X2)) :- !, rel(Space,X1,X2).
|
||||
(Space += rel(X1,X2,X3)) :- !, rel(Space,X1,X2,X3).
|
||||
(Space += rel(X1,X2,X3,X4)) :- !, rel(Space,X1,X2,X3,X4).
|
||||
(Space += rel(X1,X2,X3,X4,X5)) :- !, rel(Space,X1,X2,X3,X4,X5).
|
||||
(Space += sequence(X1)) :- !, sequence(Space,X1).
|
||||
(Space += sequence(X1,X2)) :- !, sequence(Space,X1,X2).
|
||||
(Space += sequence(X1,X2,X3,X4,X5)) :- !, sequence(Space,X1,X2,X3,X4,X5).
|
||||
(Space += sequence(X1,X2,X3,X4,X5,X6)) :- !, sequence(Space,X1,X2,X3,X4,X5,X6).
|
||||
(Space += sorted(X1,X2)) :- !, sorted(Space,X1,X2).
|
||||
(Space += sorted(X1,X2,X3)) :- !, sorted(Space,X1,X2,X3).
|
||||
(Space += sorted(X1,X2,X3,X4)) :- !, sorted(Space,X1,X2,X3,X4).
|
||||
(Space += sqr(X0,X1,X2,X3)) :- !, sqr(Space,X0,X1,X2,X3).
|
||||
(Space += sqr(X1,X2)) :- !, sqr(Space,X1,X2).
|
||||
(Space += sqrt(X1,X2)) :- !, sqrt(Space,X1,X2).
|
||||
(Space += sqrt(X1,X2,X3)) :- !, sqrt(Space,X1,X2,X3).
|
||||
(Space += unary(X1,X2)) :- !, unary(Space,X1,X2).
|
||||
(Space += unary(X1,X2,X3)) :- !, unary(Space,X1,X2,X3).
|
||||
(Space += unary(X1,X2,X3,X4)) :- !, unary(Space,X1,X2,X3,X4).
|
||||
(Space += unary(X1,X2,X3,X4,X5)) :- !, unary(Space,X1,X2,X3,X4,X5).
|
||||
(Space += unshare(X1)) :- !, unshare(Space,X1).
|
||||
(Space += unshare(X1,X2)) :- !, unshare(Space,X1,X2).
|
||||
(Space += weights(X1,X2,X3,X4)) :- !; weights(Space,X1,X2,X3,X4).
|
||||
|
||||
(Space += minimize(X)) :- !, minimize(Space,X).
|
||||
(Space += maximize(X)) :- !, maximize(Space,X).
|
||||
(Space += minimize(X,Y)) :- !, minimize(Space,X,Y).
|
||||
(Space += maximize(X,Y)) :- !, maximize(Space,X,Y).
|
||||
|
||||
(Space += keep(X)) :- !, keep_(Space,X).
|
413
packages/gecode/gecode4-common.icc
Normal file
413
packages/gecode/gecode4-common.icc
Normal file
@ -0,0 +1,413 @@
|
||||
// -*- c++ -*-
|
||||
//=============================================================================
|
||||
// Copyright (C) 2011 by Denys Duchier
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License as published by the
|
||||
// Free Software Foundation, either version 3 of the License, or (at your
|
||||
// option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
// more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//=============================================================================
|
||||
|
||||
#ifndef GECODE_COMMON
|
||||
#define GECODE_COMMON
|
||||
|
||||
#include "gecode/driver.hh"
|
||||
#include "gecode/int.hh"
|
||||
#include "gecode/set.hh"
|
||||
#include "gecode/search.hh"
|
||||
#include <vector>
|
||||
|
||||
namespace generic_gecode
|
||||
{
|
||||
using namespace std;
|
||||
using namespace Gecode;
|
||||
|
||||
// description of the optimization criterion
|
||||
struct Optimizing
|
||||
{
|
||||
enum What { OPT_NONE, OPT_INT, OPT_RATIO };
|
||||
enum How { OPT_MIN, OPT_MAX };
|
||||
int num;
|
||||
int den;
|
||||
What what;
|
||||
How how;
|
||||
Optimizing(): num(-1), den(-1), what(OPT_NONE), how(OPT_MAX) {}
|
||||
Optimizing(Optimizing& o)
|
||||
: num(o.num), den(o.den), what(o.what), how(o.how) {}
|
||||
void check_ok() const
|
||||
{ if (what!=OPT_NONE)
|
||||
throw Exception("gecode-python","too many optimization criteria"); }
|
||||
void maximize(int i)
|
||||
{ check_ok(); what = OPT_INT; how = OPT_MAX; num = i; };
|
||||
void maximize(int i,int j)
|
||||
{ check_ok(); what = OPT_RATIO; how = OPT_MAX; num = i; den = j; };
|
||||
void minimize(int i)
|
||||
{ check_ok(); what = OPT_INT; how = OPT_MIN; num = i; };
|
||||
void minimize(int i,int j)
|
||||
{ check_ok(); what = OPT_RATIO; how = OPT_MIN; num = i; den = j; };
|
||||
};
|
||||
|
||||
struct GenericSpace;
|
||||
|
||||
struct GenericEngine
|
||||
{
|
||||
virtual GenericSpace* next(void)=0;
|
||||
virtual ~GenericEngine() {};
|
||||
};
|
||||
|
||||
struct GenericDFS: GenericEngine
|
||||
{
|
||||
DFS<GenericSpace> engine;
|
||||
GenericDFS(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct GenericRestartDFS: GenericEngine
|
||||
{
|
||||
RBS<DFS,GenericSpace> engine;
|
||||
GenericRestartDFS(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct GenericBAB: GenericEngine
|
||||
{
|
||||
BAB<GenericSpace> engine;
|
||||
GenericBAB(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
struct GenericRestartBAB: GenericEngine
|
||||
{
|
||||
RBS<BAB,GenericSpace> engine;
|
||||
GenericRestartBAB(GenericSpace* s,Search::Options& opt) : engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
|
||||
#ifdef OLD
|
||||
struct GenericRestart: GenericEngine
|
||||
{
|
||||
Restart<GenericSpace> engine;
|
||||
GenericRestart(GenericSpace* s,Search::Options& opt): engine(s,opt) {}
|
||||
virtual GenericSpace* next(void) { return engine.next(); }
|
||||
};
|
||||
#endif
|
||||
|
||||
struct LoadingDock
|
||||
{
|
||||
vector<IntVar> ivars;
|
||||
vector<BoolVar> bvars;
|
||||
vector<FloatVar> fvars;
|
||||
vector<SetVar> svars;
|
||||
vector<int> ikeep;
|
||||
vector<int> bkeep;
|
||||
vector<int> fkeep;
|
||||
vector<int> skeep;
|
||||
|
||||
bool keeping_some() const
|
||||
{
|
||||
return (ikeep.size() != 0)
|
||||
|| (bkeep.size() != 0)
|
||||
|| (fkeep.size() != 0)
|
||||
|| (skeep.size() != 0);
|
||||
}
|
||||
|
||||
IntVar get_ivar(int i) const { return ivars[i]; }
|
||||
BoolVar get_bvar(int i) const { return bvars[i]; }
|
||||
FloatVar get_fvar(int i) const { return fvars[i]; }
|
||||
SetVar get_svar(int i) const { return svars[i]; }
|
||||
|
||||
int enter_ivar(const IntVar& v)
|
||||
{ ivars.push_back(v); return static_cast<int>(ivars.size()-1); }
|
||||
|
||||
int enter_bvar(const BoolVar& v)
|
||||
{ bvars.push_back(v); return static_cast<int>(bvars.size()-1); }
|
||||
|
||||
int enter_fvar(const FloatVar& v)
|
||||
{ fvars.push_back(v); return static_cast<int>(fvars.size()-1); }
|
||||
|
||||
int enter_svar(const SetVar& v)
|
||||
{ svars.push_back(v); return static_cast<int>(svars.size()-1); }
|
||||
|
||||
int keep_ivar(int i) { ikeep.push_back(i); return static_cast<int>(ikeep.size()-1); }
|
||||
int keep_bvar(int i) { bkeep.push_back(i); return static_cast<int>(bkeep.size()-1); }
|
||||
int keep_fvar(int i) { fkeep.push_back(i); return static_cast<int>(fkeep.size()-1); }
|
||||
int keep_svar(int i) { skeep.push_back(i); return static_cast<int>(skeep.size()-1); }
|
||||
|
||||
void freeze(Space& home,
|
||||
IntVarArray& iarr, BoolVarArray& barr, SetVarArray& sarr, FloatVarArray& farr,
|
||||
int& num, int& den)
|
||||
{
|
||||
if (keeping_some())
|
||||
{
|
||||
// make sure that optimization vars (if any) are kept
|
||||
if (num != -1)
|
||||
{
|
||||
const int _num(num);
|
||||
const int _den(den);
|
||||
int n = static_cast<int>(ikeep.size());
|
||||
bool num_found(false);
|
||||
bool den_found(false);
|
||||
for (;n--;)
|
||||
{
|
||||
const int idx(ikeep[n]);
|
||||
if (idx==_num)
|
||||
{ num_found=true; if (den_found) break; }
|
||||
if (idx==_den)
|
||||
{ den_found=true; if (num_found) break; }
|
||||
}
|
||||
if (!num_found)
|
||||
{ ikeep.push_back(_num);
|
||||
num=static_cast<int>(ikeep.size()-1); }
|
||||
if (_den != -1 && !den_found)
|
||||
{ ikeep.push_back(_den);
|
||||
den=static_cast<int>(ikeep.size()-1); }
|
||||
}
|
||||
{ int n = static_cast<int>(ikeep.size());
|
||||
iarr = IntVarArray(home, n);
|
||||
for (;n--;) iarr[n]=ivars[ikeep[n]]; }
|
||||
{ int n = static_cast<int>(bkeep.size());
|
||||
barr = BoolVarArray(home, n);
|
||||
for (;n--;) barr[n]=bvars[bkeep[n]]; }
|
||||
{ int n = static_cast<int>(skeep.size());
|
||||
sarr = SetVarArray(home, n);
|
||||
for (;n--;) sarr[n]=svars[skeep[n]]; }
|
||||
{ int n = static_cast<int>(fkeep.size());
|
||||
farr = FloatVarArray(home, n);
|
||||
for (;n--;) farr[n]=fvars[skeep[n]]; }
|
||||
}
|
||||
else
|
||||
{
|
||||
{ int n = static_cast<int>(ivars.size());
|
||||
iarr = IntVarArray(home, n);
|
||||
for (;n--;) iarr[n]=ivars[n]; }
|
||||
{ int n = static_cast<int>(bvars.size());
|
||||
barr = BoolVarArray(home, n);
|
||||
for (;n--;) barr[n]=bvars[n]; }
|
||||
{ int n = static_cast<int>(svars.size());
|
||||
sarr = SetVarArray(home, n);
|
||||
for (;n--;) sarr[n]=svars[n]; }
|
||||
{ int n = static_cast<int>(fvars.size());
|
||||
farr = FloatVarArray(home, n);
|
||||
for (;n--;) farr[n]=fvars[n]; }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct GenericSpace: Space
|
||||
{
|
||||
Optimizing optim;
|
||||
IntVarArray ivars;
|
||||
BoolVarArray bvars;
|
||||
FloatVarArray fvars;
|
||||
SetVarArray svars;
|
||||
LoadingDock* dock;
|
||||
bool keeping_some; // iff only SOME of the vars are kept
|
||||
|
||||
Space* space() { return this; }
|
||||
|
||||
GenericSpace(bool share, GenericSpace& s)
|
||||
: Space(share, s), optim(s.optim), dock(NULL), keeping_some(s.keeping_some)
|
||||
{
|
||||
ivars.update(*this, share, s.ivars);
|
||||
bvars.update(*this, share, s.bvars);
|
||||
svars.update(*this, share, s.svars);
|
||||
fvars.update(*this, share, s.fvars);
|
||||
}
|
||||
|
||||
Space* copy(bool share)
|
||||
{ freeze(); return new GenericSpace(share, *this); }
|
||||
|
||||
GenericSpace() : dock(new LoadingDock()), keeping_some(false) {}
|
||||
~GenericSpace() { delete dock; }
|
||||
|
||||
// throw some C++ exception on behalf of glue code
|
||||
void kaboom(const char* s)
|
||||
{ throw Exception("gecode-python", s); }
|
||||
int ikaboom(const char* s)
|
||||
{ kaboom(s); return 0; }
|
||||
|
||||
// freeze the space before handing it off to a search engine
|
||||
void freeze()
|
||||
{
|
||||
if (dock)
|
||||
{
|
||||
keeping_some = dock->keeping_some();
|
||||
dock->freeze(*this, ivars, bvars, svars, fvars, optim.num, optim.den);
|
||||
delete dock;
|
||||
dock = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
IntVar get_ivar(int i) const { return (dock)?dock->get_ivar(i):ivars[i]; }
|
||||
BoolVar get_bvar(int i) const { return (dock)?dock->get_bvar(i):bvars[i]; }
|
||||
SetVar get_svar(int i) const { return (dock)?dock->get_svar(i):svars[i]; }
|
||||
FloatVar get_fvar(int i) const { return (dock)?dock->get_fvar(i):fvars[i]; }
|
||||
|
||||
int keep_ivar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_ivar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
int keep_bvar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_bvar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
int keep_svar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_svar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
int keep_fvar(int i)
|
||||
{
|
||||
if (dock) return dock->keep_fvar(i);
|
||||
else return ikaboom("too late to keep");
|
||||
}
|
||||
|
||||
bool frozen() const { return dock==NULL; }
|
||||
bool has_keepers() const { return keeping_some; }
|
||||
// when frozen and has_keepers: which is just has_keepers actually
|
||||
bool use_keep_index() const { return has_keepers(); }
|
||||
|
||||
GenericEngine* new_engine(bool restart, Search::Options& opt)
|
||||
{
|
||||
freeze();
|
||||
return (optim.what == Optimizing::OPT_NONE)
|
||||
? ( restart
|
||||
? static_cast<GenericEngine*>(new GenericRestartDFS(this,opt))
|
||||
: static_cast<GenericEngine*>(new GenericDFS(this,opt)) )
|
||||
: (restart
|
||||
? static_cast<GenericEngine*>(new GenericRestartBAB(this,opt))
|
||||
:
|
||||
static_cast<GenericEngine*>(new GenericBAB(this,opt)) );
|
||||
}
|
||||
|
||||
int _new_ivar(IntVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_ivar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_ivar(int lo, int hi)
|
||||
{
|
||||
IntVar v(*this, lo, hi);
|
||||
return _new_ivar(v);
|
||||
}
|
||||
|
||||
int new_ivar(IntSet& s)
|
||||
{
|
||||
IntVar v(*this, s);
|
||||
return _new_ivar(v);
|
||||
}
|
||||
|
||||
int _new_fvar(FloatVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_fvar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_fvar(double lo, double hi)
|
||||
{
|
||||
FloatVar v(*this, lo, hi);
|
||||
return _new_fvar(v);
|
||||
}
|
||||
|
||||
int _new_bvar(BoolVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_bvar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_bvar()
|
||||
{
|
||||
BoolVar v(*this, 0, 1);
|
||||
return _new_bvar(v);
|
||||
}
|
||||
|
||||
int _new_svar(SetVar& v)
|
||||
{
|
||||
if (dock) return dock->enter_svar(v);
|
||||
else return ikaboom("too late to create vars");
|
||||
}
|
||||
|
||||
int new_svar(int glbMin, int glbMax, int lubMin, int lubMax,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glbMin, glbMax, lubMin, lubMax, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(IntSet glb, int lubMin, int lubMax,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glb, lubMin, lubMax, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(int glbMin, int glbMax, IntSet lub,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glbMin, glbMax, lub, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
int new_svar(IntSet glb, IntSet lub,
|
||||
unsigned int cardMin=0,
|
||||
unsigned int cardMax=Set::Limits::card)
|
||||
{
|
||||
SetVar v(*this, glb, lub, cardMin, cardMax);
|
||||
return _new_svar(v);
|
||||
}
|
||||
|
||||
void minimize(int i) { optim.minimize(i); }
|
||||
void minimize(int i, int j) { optim.minimize(i,j); }
|
||||
void maximize(int i) { optim.maximize(i); }
|
||||
void maximize(int i, int j) { optim.maximize(i,j); }
|
||||
|
||||
virtual void constrain(const Space& s)
|
||||
{
|
||||
const GenericSpace& sol = static_cast<const GenericSpace&>(s);
|
||||
switch (optim.what)
|
||||
{
|
||||
case Optimizing::OPT_NONE:
|
||||
break;
|
||||
case Optimizing::OPT_INT:
|
||||
rel(*this, ivars[optim.num],
|
||||
((optim.how==Optimizing::OPT_MIN) ? IRT_LE : IRT_GR),
|
||||
sol.ivars[optim.num].val());
|
||||
break;
|
||||
case Optimizing::OPT_RATIO:
|
||||
{
|
||||
IntArgs c(2, sol.ivars[optim.den].val(),
|
||||
- sol.ivars[optim.num].val());
|
||||
IntVarArgs v(2);
|
||||
v[0] = ivars[optim.num];
|
||||
v[1] = ivars[optim.den];
|
||||
linear(*this, c, v,
|
||||
((optim.how==Optimizing::OPT_MIN) ? IRT_LE : IRT_GR), 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef DISJUNCTOR
|
||||
#include "disjunctor.icc"
|
||||
#endif
|
||||
|
||||
#endif
|
1094
packages/gecode/gecode4_yap_hand_written.yap
Normal file
1094
packages/gecode/gecode4_yap_hand_written.yap
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user