Test::Branch::IntTestSpace Class Reference
Space for executing integer tests. More...
Public Member Functions | |
IntTestSpace (int n, Gecode::IntSet &d) | |
Initialize test space. | |
IntTestSpace (IntTestSpace &s) | |
Constructor for cloning s. | |
virtual Gecode::Space * | copy (void) |
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 * | bool_var_branch_name [] |
Names for Boolean variable selections. | |
const int | n_bool_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. | |
const char * | bool_val_branch_name [] |
Names for Boolean value selections. | |
const int | n_bool_val_branch |
Number of Boolean 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 | ( | 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 | ( | void | ) | [inline, virtual] |
Friends And Related Function Documentation
const char* int_var_branch_name[] [related] |
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 195 of file branch.cpp.
const char* bool_var_branch_name[] [related] |
{ "SINGLE VARIABLE", "BOOL_VAR_NONE", "BOOL_VAR_RND", "BOOL_VAR_MERIT_MIN", "BOOL_VAR_MERIT_MAX", "BOOL_VAR_DEGREE_MIN", "BOOL_VAR_DEGREE_MAX", "BOOL_VAR_AFC_MIN", "BOOL_VAR_AFC_MAX", "BOOL_VAR_ACTION_MIN", "BOOL_VAR_ACTION_MAX", "BOOL_VAR_CHB_MIN", "BOOL_VAR_CHB_MAX" }
Names for Boolean variable selections.
Definition at line 198 of file branch.cpp.
const int n_bool_var_branch [related] |
sizeof(bool_var_branch_name)/sizeof(const char*)
Number of integer variable selections.
Definition at line 214 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" }
Names for integer value selections.
Definition at line 225 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 239 of file branch.cpp.
const char* bool_val_branch_name[] [related] |
{ "BOOL_VAL_MIN", "BOOL_VAL_MAX", "BOOL_VAL_RND", "BOOL_VAL" }
Names for Boolean value selections.
Definition at line 242 of file branch.cpp.
const int n_bool_val_branch [related] |
sizeof(bool_val_branch_name)/sizeof(const char*)
Number of Boolean value selections.
Definition at line 249 of file branch.cpp.
double int_merit | ( | const Gecode::Space & | , | |
Gecode::IntVar | x, | |||
int | ||||
) | [related] |
Test function for branch merit function.
Definition at line 217 of file branch.cpp.
double bool_merit | ( | const Gecode::Space & | , | |
Gecode::BoolVar | x, | |||
int | ||||
) | [related] |
Test function for branch merit function.
Definition at line 221 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: