Space for executing Float tests. More...
Public Member Functions | |
FloatTestSpace (int n, Gecode::FloatVal &d) | |
Initialize test space. | |
FloatTestSpace (bool share, FloatTestSpace &s) | |
Constructor for cloning s. | |
virtual Gecode::Space * | copy (bool share) |
Copy space during cloning. | |
Public Attributes | |
Gecode::FloatVarArray | x |
Variables to be tested. | |
Collection of possible arguments for float branchers | |
const char * | float_var_branch_name [] |
Names for float variable selections. | |
const int | n_float_var_branch |
Number of float variable selections. | |
const char * | float_val_branch_name [] |
Names for float value selections. | |
const int | n_float_val_branch |
Number of float value selections. | |
double | float_merit (const Gecode::Space &, Gecode::FloatVar x, int) |
Test function for branch merit function. | |
Gecode::FloatNumBranch | float_val (const Gecode::Space &, Gecode::FloatVar x, int) |
Test function for branch value function. |
Space for executing Float tests.
Definition at line 136 of file branch.cpp.
Test::Branch::FloatTestSpace::FloatTestSpace | ( | int | n, |
Gecode::FloatVal & | d | ||
) | [inline] |
Initialize test space.
Definition at line 141 of file branch.cpp.
Test::Branch::FloatTestSpace::FloatTestSpace | ( | bool | share, |
FloatTestSpace & | s | ||
) | [inline] |
Constructor for cloning s.
Definition at line 144 of file branch.cpp.
virtual Gecode::Space* Test::Branch::FloatTestSpace::copy | ( | bool | share | ) | [inline, virtual] |
const char* float_var_branch_name[] [related] |
{ "SINGLE VARIABLE", "FLOAT_VAR_NONE", "FLOAT_VAR_RND", "FLOAT_VAR_MERIT_MIN", "FLOAT_VAR_MERIT_MAX", "FLOAT_VAR_DEGREE_MIN", "FLOAT_VAR_DEGREE_MAX", "FLOAT_VAR_AFC_MIN", "FLOAT_VAR_AFC_MAX", "FLOAT_VAR_ACTIVITY_MIN", "FLOAT_VAR_ACTIVITY_MAX", "FLOAT_VAR_MIN_MIN", "FLOAT_VAR_MIN_MAX", "FLOAT_VAR_MAX_MIN", "FLOAT_VAR_MAX_MAX", "FLOAT_VAR_SIZE_MIN", "FLOAT_VAR_SIZE_MAX", "FLOAT_VAR_DEGREE_SIZE_MIN", "FLOAT_VAR_DEGREE_SIZE_MAX", "FLOAT_VAR_AFC_SIZE_MIN", "FLOAT_VAR_AFC_SIZE_MAX", "FLOAT_VAR_ACTIVITY_SIZE_MIN", "FLOAT_VAR_ACTIVITY_SIZE_MAX" }
Names for float variable selections.
Definition at line 301 of file branch.cpp.
const int n_float_var_branch [related] |
sizeof(float_var_branch_name)/sizeof(const char*)
Number of float variable selections.
Definition at line 327 of file branch.cpp.
const char* float_val_branch_name[] [related] |
{ "FLOAT_VAL_SPLIT_MIN", "FLOAT_VAL_SPLIT_MAX", "FLOAT_VAL_SPLIT_RND", "FLOAT_VAL" }
Names for float value selections.
Definition at line 334 of file branch.cpp.
const int n_float_val_branch [related] |
sizeof(float_val_branch_name)/sizeof(const char*)
Number of float value selections.
Definition at line 341 of file branch.cpp.
double float_merit | ( | const Gecode::Space & | , |
Gecode::FloatVar | x, | ||
int | |||
) | [related] |
Test function for branch merit function.
Definition at line 330 of file branch.cpp.
Gecode::FloatNumBranch float_val | ( | const Gecode::Space & | , |
Gecode::FloatVar | x, | ||
int | |||
) | [related] |
Test function for branch value function.
Definition at line 344 of file branch.cpp.
Variables to be tested.
Definition at line 139 of file branch.cpp.