Generated on Mon Aug 25 11:35:54 2008 for Gecode by doxygen 1.5.6

Test::Assign::BoolTest Class Reference

#include <assign.hh>

Inherits Test::Base.

Inherited by Test::Assign::Bool.

List of all members.


Detailed Description

Base class for tests for branching on Boolean variables.

Definition at line 74 of file assign.hh.


Public Member Functions

 BoolTest (const std::string &s, int a)
 Construct and register test.
virtual bool run (void)
 Perform test.
virtual void post (Gecode::Space *home, Gecode::BoolVarArray &x)=0
 Post assignment on variables x.

Protected Attributes

int arity
 Number of variables.

Constructor & Destructor Documentation

Test::Assign::BoolTest::BoolTest ( const std::string &  s,
int  a 
)

Construct and register test.

Definition at line 143 of file assign.cc.


Member Function Documentation

bool Test::Assign::BoolTest::run ( void   )  [virtual]

Perform test.

Implements Test::Base.

Definition at line 148 of file assign.cc.

virtual void Test::Assign::BoolTest::post ( Gecode::Space home,
Gecode::BoolVarArray x 
) [pure virtual]

Post assignment on variables x.

Implemented in Test::Assign::Bool.


Member Data Documentation

Number of variables.

Definition at line 77 of file assign.hh.


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