sports-league.cpp
Go to the documentation of this file.
static void run(const Options &opt, Script *s=nullptr)
void hag(int w, IntArgs &h, IntArgs &a, IntArgs &g)
Home, away, and game information.
Definition sports-league.cpp:143
int gn(int h, int a) const
Game number for game between home team h and away team a.
Definition sports-league.cpp:73
const IntVar & h(int p, int w) const
Home team in period p and week w.
Definition sports-league.cpp:194
IntVar & g(int p, int w)
Return game number for game in period p and week w.
Definition sports-league.cpp:206
const IntVar & a(int p, int w) const
Away team in period p and week w.
Definition sports-league.cpp:202
const IntVar & g(int p, int w) const
Return game number for game in period p and week w.
Definition sports-league.cpp:210
Driver::ScriptBase< Driver::IgnoreStepOption< Space > > Script
Base-class for scripts.
Definition driver.hh:1002
void branch(Home home, const FloatVarArgs &x, FloatVarBranch vars, FloatValBranch vals, FloatBranchFilter bf=nullptr, FloatVarValPrint vvp=nullptr)
Branch over x with variable selection vars and value selection vals.
Definition branch.cpp:39
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVar x1)
Post propagator for .
Definition rel.cpp:68
Gecode toplevel namespace
IntValBranch INT_VAL_SPLIT_MIN(void)
Select values not greater than mean of smallest and largest value.
Definition val.hpp:75
void count(Home home, const IntVarArgs &x, int n, IntRelType irt, int m, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Definition count.cpp:40
void distinct(Home home, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF)
Post propagator for for all .
Definition distinct.cpp:46
void element(Home home, IntSharedArray n, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF)
Post domain consistent propagator for .
Definition element.cpp:39
void values(Home home, const IntVarArgs &x, IntSet y, IntPropLevel ipl=IPL_DEF)
Post constraint .
Definition aliases.hpp:143
