Generated on Thu Apr 11 14:00:13 2019 for Gecode by doxygen 1.6.3

Test::Branch::FloatTestSpace Class Reference

Space for executing Float tests. More...

List of all members.

Public Member Functions

 FloatTestSpace (int n, Gecode::FloatVal &d)
 Initialize test space.
 FloatTestSpace (FloatTestSpace &s)
 Constructor for cloning s.
virtual Gecode::Spacecopy (void)
 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.

Detailed Description

Space for executing Float tests.

Definition at line 132 of file branch.cpp.


Constructor & Destructor Documentation

Test::Branch::FloatTestSpace::FloatTestSpace ( int  n,
Gecode::FloatVal d 
) [inline]

Initialize test space.

Definition at line 137 of file branch.cpp.

Test::Branch::FloatTestSpace::FloatTestSpace ( FloatTestSpace s  )  [inline]

Constructor for cloning s.

Definition at line 140 of file branch.cpp.


Member Function Documentation

virtual Gecode::Space* Test::Branch::FloatTestSpace::copy ( void   )  [inline, virtual]

Copy space during cloning.

Implements Gecode::Space.

Definition at line 145 of file branch.cpp.


Friends And Related Function Documentation

const char* float_var_branch_name[] [related]
Initial value:
 {
    "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_ACTION_MIN",
    "FLOAT_VAR_ACTION_MAX",
    "FLOAT_VAR_CHB_MIN",
    "FLOAT_VAR_CHB_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_ACTION_SIZE_MIN",
    "FLOAT_VAR_ACTION_SIZE_MAX",
    "FLOAT_VAR_CHB_SIZE_MIN",
    "FLOAT_VAR_CHB_SIZE_MAX"
  }

Names for float variable selections.

Definition at line 330 of file branch.cpp.

const int n_float_var_branch [related]
Initial value:
    sizeof(float_var_branch_name)/sizeof(const char*)

Number of float variable selections.

Definition at line 360 of file branch.cpp.

const char* float_val_branch_name[] [related]
Initial value:
 {
    "FLOAT_VAL_SPLIT_MIN",
    "FLOAT_VAL_SPLIT_MAX",
    "FLOAT_VAL_SPLIT_RND",
    "FLOAT_VAL"
  }

Names for float value selections.

Definition at line 367 of file branch.cpp.

const int n_float_val_branch [related]
Initial value:
    sizeof(float_val_branch_name)/sizeof(const char*)

Number of float value selections.

Definition at line 374 of file branch.cpp.

double float_merit ( const Gecode::Space ,
Gecode::FloatVar  x,
int   
) [related]

Test function for branch merit function.

Definition at line 363 of file branch.cpp.


Member Data Documentation

Variables to be tested.

Definition at line 135 of file branch.cpp.


The documentation for this class was generated from the following file: