Test::Branch::IntTestSpace Class Reference
Space for executing integer tests. More...
Public Member Functions | |
IntTestSpace (int n, Gecode::IntSet &d) | |
Initialize test space. | |
IntTestSpace (bool share, IntTestSpace &s) | |
Constructor for cloning s. | |
virtual Gecode::Space * | copy (bool share) |
Copy space during cloning. | |
Public Attributes | |
Gecode::IntVarArray | x |
Variables to be tested. | |
Gecode::IntVarBranch | vara |
Variable selection criteria. | |
Gecode::IntVarBranch | varb |
Gecode::IntValBranch | val |
Varlue selection criterion. | |
Collection of possible arguments for integer branchers | |
| |
const char * | int_var_branch_name [] |
Names for integer variable selections. | |
const int | n_int_var_branch |
Number of integer variable selections. | |
const char * | int_val_branch_name [] |
Names for integer value selections. | |
const int | n_int_val_branch |
Number of integer value selections. | |
double | int_merit (const Gecode::Space &, Gecode::IntVar x, int) |
Test function for branch merit function. | |
double | bool_merit (const Gecode::Space &, Gecode::BoolVar x, int) |
Test function for branch merit function. |
Detailed Description
Space for executing integer tests.
Definition at line 70 of file branch.cpp.
Constructor & Destructor Documentation
Test::Branch::IntTestSpace::IntTestSpace | ( | int | n, | |
Gecode::IntSet & | d | |||
) | [inline] |
Initialize test space.
Definition at line 79 of file branch.cpp.
Test::Branch::IntTestSpace::IntTestSpace | ( | bool | share, | |
IntTestSpace & | s | |||
) | [inline] |
Constructor for cloning s.
Definition at line 84 of file branch.cpp.
Member Function Documentation
virtual Gecode::Space* Test::Branch::IntTestSpace::copy | ( | bool | share | ) | [inline, virtual] |
Friends And Related Function Documentation
const char* int_var_branch_name[] [related] |
{ "SINGLE VARIABLE", "INT_VAR_NONE", "INT_VAR_RND", "INT_VAR_MERIT_MIN", "INT_VAR_MERIT_MAX", "INT_VAR_DEGREE_MIN", "INT_VAR_DEGREE_MAX", "INT_VAR_AFC_MIN", "INT_VAR_AFC_MAX", "INT_VAR_ACTIVITY_MIN", "INT_VAR_ACTIVITY_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_DEGREE_SIZE_MIN", "INT_VAR_DEGREE_SIZE_MAX", "INT_VAR_AFC_SIZE_MIN", "INT_VAR_AFC_SIZE_MAX", "INT_VAR_ACTIVITY_SIZE_MIN", "INT_VAR_ACTIVITY_SIZE_MAX", "INT_VAR_REGRET_MIN_MIN", "INT_VAR_REGRET_MIN_MAX", "INT_VAR_REGRET_MAX_MIN", "INT_VAR_REGRET_MAX_MAX" }
Names for integer variable selections.
Definition at line 161 of file branch.cpp.
const int n_int_var_branch [related] |
sizeof(int_var_branch_name)/sizeof(const char*)
Number of integer variable selections.
Definition at line 191 of file branch.cpp.
const char* int_val_branch_name[] [related] |
{ "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_VAL", "INT_VALUES_MIN", "INT_VALUES_MAX", "INT_VAL_NEAR_MIN", "INT_VAL_NEAR_MAX", "INT_VAL_NEAR_INC", "INT_VAL_NEAR_DEC", }
Names for integer value selections.
Definition at line 202 of file branch.cpp.
const int n_int_val_branch [related] |
sizeof(int_val_branch_name)/sizeof(const char*)
Number of integer value selections.
Definition at line 220 of file branch.cpp.
double int_merit | ( | const Gecode::Space & | , | |
Gecode::IntVar | x, | |||
int | ||||
) | [related] |
Test function for branch merit function.
Definition at line 194 of file branch.cpp.
double bool_merit | ( | const Gecode::Space & | , | |
Gecode::BoolVar | x, | |||
int | ||||
) | [related] |
Test function for branch merit function.
Definition at line 198 of file branch.cpp.
Member Data Documentation
Variables to be tested.
Definition at line 73 of file branch.cpp.
Variable selection criteria.
Definition at line 75 of file branch.cpp.
Definition at line 75 of file branch.cpp.
Varlue selection criterion.
Definition at line 77 of file branch.cpp.
The documentation for this class was generated from the following file: