Sorting pointers to (index,value) pairs in value order. More...
#include <element.hh>
Public Member Functions | |
ByVal (const IdxVal *iv) | |
Initialize with index value pairs. | |
bool | operator() (Idx &i, Idx &j) |
Compare pairs at positions i and j. | |
Protected Attributes | |
const IdxVal * | iv |
Index-value pairs. |
Sorting pointers to (index,value) pairs in value order.
Gecode::Int::Element::Int::ByVal::ByVal | ( | const IdxVal * | iv | ) | [inline] |
bool Gecode::Int::Element::Int::ByVal::operator() | ( | Idx & | i, |
Idx & | j | ||
) | [inline] |
const IdxVal* Gecode::Int::Element::Int::ByVal::iv [protected] |
Index-value pairs.
Definition at line 146 of file element.hh.