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

Test::Branch::BoolTest Class Reference

#include <branch.hh>

Inherits Test::Base.

Inherited by Test::Branch::Bool.

List of all members.


Detailed Description

Base class for tests for branching on Boolean variables.

Definition at line 83 of file branch.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 propagators on variables x.

Protected Attributes

int arity
 Number of variables.

Constructor & Destructor Documentation

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

Construct and register test.

Definition at line 371 of file branch.cc.


Member Function Documentation

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

Perform test.

Implements Test::Base.

Definition at line 376 of file branch.cc.

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

Post propagators on variables x.

Implemented in Test::Branch::Bool.


Member Data Documentation

Number of variables.

Definition at line 86 of file branch.hh.


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