43 unsigned long long int
47 unsigned long long int
53 unsigned long long int
57 unsigned long long int
66 1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,16,
67 1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,16,32
69 unsigned long long int
73 unsigned long long int
79 unsigned long long int
81 return static_cast<unsigned long long int>(
scale *
n);
83 unsigned long long int
86 return static_cast<unsigned long long int>(
scale *
n);
90 unsigned long long int
95 unsigned long long int
101 unsigned long long int
109 unsigned long long int
120 unsigned long long int
124 unsigned long long int
132 unsigned long long int
136 unsigned long long int
165 unsigned long long int min,
166 unsigned long long int max,
167 unsigned long long int n) {
Cutoff generator appending two cutoff generators.
unsigned long long int n
How many number to take from the first.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
Cutoff * c1
First cutoff generators.
Cutoff * c2
Second cutoff generators.
Cutoff generator for constant sequence.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
unsigned long long int c
Constant.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
Cutoff generator for the geometric sequence.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
double n
Current cutoff value.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
double scale
Scale factor.
Cutoff generator for linear sequence.
unsigned long long int n
Next number in sequence.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
unsigned long long int scale
Scale factor.
Cutoff generator for the Luby sequence.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
static const unsigned long long int n_start
Number of pre-computed luby values.
unsigned long long int i
Iteration number.
unsigned long long int scale
Scale factor.
static unsigned long long int luby(unsigned long long int i)
Compute Luby number for step i.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
static unsigned long int start[n_start]
Precomputed luby-values.
Cutoff generator merging two cutoff generators.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
Cutoff * c1
First cutoff generator.
Cutoff * c2
Second cutoff generator.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
Cutoff generator for the random sequence.
unsigned long long int n
Random values.
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
unsigned long long int step
Step size.
unsigned long long int cur
Current value.
unsigned long long int min
Minimum cutoff value.
Support::RandomGenerator rnd
Random number generator.
Cutoff generator that repeats a cutoff from another cutoff generator.
virtual unsigned long long int operator()(void) const
Return the current cutoff value.
unsigned long long int cutoff
virtual unsigned long long int operator++(void)
Increment and return the next cutoff value.
Base class for cutoff generators for restart-based meta engine.
static Cutoff * luby(unsigned long long int scale=Config::slice)
Create generator for luby sequence with scale-factor scale.
static Cutoff * repeat(Cutoff *c, unsigned long long int n)
Create generator that repeats n times each cutoff value from c.
static Cutoff * merge(Cutoff *c1, Cutoff *c2)
Merge cutoff values from c1 with values from c2.
static Cutoff * constant(unsigned long long int scale=Config::slice)
Create generator for constant sequence with constant s.
static Cutoff * linear(unsigned long long int scale=Config::slice)
Create generator for linear sequence scaled by scale.
static Cutoff * rnd(unsigned int seed, unsigned long long int min, unsigned long long int max, unsigned long long int n)
Cutoff(void)
Default constructor.
static Cutoff * append(Cutoff *c1, unsigned long long int n, Cutoff *c2)
Append cutoff values from c2 after n values from c1.
static Cutoff * geometric(unsigned long long int scale=Config::slice, double base=Config::base)
Gecode toplevel namespace
void min(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
void max(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .