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

Test::Int::Order::Int Class Reference
[Order constraint]

Test order for integer variables More...

List of all members.

Public Member Functions

 Int (int _p0, int _p1)
 Create and register test.
virtual bool solution (const Assignment &x) const
 Test whether x is solution
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x)
 Post constraint on x.

Protected Attributes

int p0
 Processing times.
int p1

Detailed Description

Test order for integer variables

Definition at line 48 of file order.cpp.


Constructor & Destructor Documentation

Test::Int::Order::Int::Int ( int  _p0,
int  _p1 
) [inline]

Create and register test.

Definition at line 54 of file order.cpp.


Member Function Documentation

virtual bool Test::Int::Order::Int::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 58 of file order.cpp.

virtual void Test::Int::Order::Int::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Int::Test.

Definition at line 65 of file order.cpp.


Member Data Documentation

int Test::Int::Order::Int::p0 [protected]

Processing times.

Definition at line 51 of file order.cpp.

int Test::Int::Order::Int::p1 [protected]

Definition at line 51 of file order.cpp.


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