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

Test::Assign::BoolTestSpace Class Reference

Space for executing Boolean tests. More...

List of all members.

Public Member Functions

 BoolTestSpace (int n)
 Initialize test space.
 BoolTestSpace (BoolTestSpace &s)
 Constructor for cloning s.
virtual Gecode::Spacecopy (void)
 Copy space during cloning.

Public Attributes

Gecode::BoolVarArray x
 Variables to be tested.

Collection of possible arguments for Boolean assignments



const char * bool_assign_name []
 Names for integer assignments.
const int n_bool_assign
 Number of integer value selections.
int bool_val (const Gecode::Space &, Gecode::BoolVar x, int)
 Test function for branch value function.

Detailed Description

Space for executing Boolean tests.

Definition at line 64 of file assign.cpp.


Constructor & Destructor Documentation

Test::Assign::BoolTestSpace::BoolTestSpace ( int  n  )  [inline]

Initialize test space.

Definition at line 69 of file assign.cpp.

Test::Assign::BoolTestSpace::BoolTestSpace ( BoolTestSpace s  )  [inline]

Constructor for cloning s.

Definition at line 72 of file assign.cpp.


Member Function Documentation

virtual Gecode::Space* Test::Assign::BoolTestSpace::copy ( void   )  [inline, virtual]

Copy space during cloning.

Implements Gecode::Space.

Definition at line 77 of file assign.cpp.


Friends And Related Function Documentation

const char* bool_assign_name[] [related]
Initial value:
 {
    "BOOL_ASSIGN_MIN",
    "BOOL_ASSIGN_MAX",
    "BOOL_ASSIGN_RND",
    "BOOL_ASSIGN"
  }

Names for integer assignments.

Definition at line 156 of file assign.cpp.

const int n_bool_assign [related]
Initial value:
    sizeof(bool_assign_name)/sizeof(const char*)

Number of integer value selections.

Definition at line 163 of file assign.cpp.

int bool_val ( const Gecode::Space ,
Gecode::BoolVar  x,
int   
) [related]

Test function for branch value function.

Definition at line 166 of file assign.cpp.


Member Data Documentation

Variables to be tested.

Definition at line 67 of file assign.cpp.


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