Generated on Fri Oct 19 11:26:30 2018 for Gecode by doxygen 1.6.3

Test::Int::Arithmetic::ArgMax Class Reference
[Arithmetic constraints]

Test for argument maximum constraint More...

List of all members.

Public Member Functions

 ArgMax (int n, int o, bool tb)
 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 offset
 Offset to be used.
bool tiebreak
 Whether to use tie-breaking.

Detailed Description

Test for argument maximum constraint

Definition at line 750 of file arithmetic.cpp.


Constructor & Destructor Documentation

Test::Int::Arithmetic::ArgMax::ArgMax ( int  n,
int  o,
bool  tb 
) [inline]

Create and register test.

Definition at line 758 of file arithmetic.cpp.


Member Function Documentation

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

Test whether x is solution

Implements Test::Int::Test.

Definition at line 764 of file arithmetic.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 776 of file arithmetic.cpp.


Member Data Documentation

Offset to be used.

Definition at line 753 of file arithmetic.cpp.

Whether to use tie-breaking.

Definition at line 755 of file arithmetic.cpp.


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