Generated on Fri Oct 19 11:26:25 2018 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 122 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 379 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 125 of file assign.hh.

Domain of variables.

Definition at line 127 of file assign.hh.


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