Generate random selection of assignments.
More...
#include <int.hh>
|
int * | vals |
| The current values for the variables.
|
|
int | a |
| How many assigments still to be generated.
|
|
int | _n1 |
| How many variables in the second set.
|
|
Gecode::IntSet | _d1 |
| Domain for second set of variables Generate new value according to domain d.
|
|
int | n |
| Number of variables.
|
|
Gecode::IntSet | d |
| Domain for each variable.
|
|
Generate random selection of assignments.
Definition at line 116 of file int.hh.
◆ RandomMixAssignment()
Initialize for a assignments for n0 variables and values d0.
Definition at line 121 of file int.hpp.
◆ ~RandomMixAssignment()
Test::Int::RandomMixAssignment::~RandomMixAssignment |
( |
void | | ) |
|
|
inlinevirtual |
Destructor.
Definition at line 144 of file int.hpp.
◆ randval()
int Test::Int::RandomMixAssignment::randval |
( |
const Gecode::IntSet & | d | ) |
|
|
inlineprotected |
◆ operator()()
bool Test::Int::RandomMixAssignment::operator() |
( |
void | | ) |
const |
|
inlinevirtual |
◆ operator++()
void Test::Int::RandomMixAssignment::operator++ |
( |
void | | ) |
|
|
virtual |
◆ operator[]()
int Test::Int::RandomMixAssignment::operator[] |
( |
int | i | ) |
const |
|
inlinevirtual |
◆ vals
int* Test::Int::RandomMixAssignment::vals |
|
protected |
The current values for the variables.
Definition at line 118 of file int.hh.
int Test::Int::RandomMixAssignment::a |
|
protected |
How many assigments still to be generated.
Definition at line 119 of file int.hh.
◆ _n1
int Test::Int::RandomMixAssignment::_n1 |
|
protected |
How many variables in the second set.
Definition at line 120 of file int.hh.
◆ _d1
Domain for second set of variables Generate new value according to domain d.
Definition at line 121 of file int.hh.
The documentation for this class was generated from the following files: