Generated on Fri Mar 20 15:57:13 2015 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 (bool share, FloatTestSpace &s)
 Constructor for cloning s.
virtual Gecode::Spacecopy (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.

Detailed Description

Space for executing Float tests.

Definition at line 136 of file branch.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Copy space during cloning.

Implements Gecode::Space.

Definition at line 149 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_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]
Initial value:
    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]
Initial value:
 {
    "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]
Initial value:
    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.


Member Data Documentation

Variables to be tested.

Definition at line 139 of file branch.cpp.


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