Generated on Fri Mar 20 15:57:13 2015 for Gecode by doxygen 1.6.3

Test::Assign::FloatTest Class Reference

Base class for tests for branching on float variables More...

#include <assign.hh>

List of all members.

Public Member Functions

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

Protected Attributes

int arity
 Number of variables.
Gecode::FloatVal dom
 Domain of variables.

Detailed Description

Base class for tests for branching on float variables

Definition at line 126 of file assign.hh.


Constructor & Destructor Documentation

Test::Assign::FloatTest::FloatTest ( const std::string &  s,
int  a,
const Gecode::FloatVal d 
)

Construct and register test.


Member Function Documentation

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

Perform test.

Implements Test::Base.

Definition at line 367 of file assign.cpp.

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

Post assignment on variables x.

Implemented in Test::Assign::Float.


Member Data Documentation

Number of variables.

Definition at line 129 of file assign.hh.

Domain of variables.

Definition at line 131 of file assign.hh.


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