Generated on Tue Sep 25 2012 20:53:30 for Gecode by doxygen 1.7.5
Gecode::Int::Element::Int::ByVal Class Reference

Sorting pointers to (index,value) pairs in value order. More...

#include <element.hh>

List of all members.

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 IdxValiv
 Index-value pairs.

Detailed Description

Sorting pointers to (index,value) pairs in value order.


Constructor & Destructor Documentation

Gecode::Int::Element::Int::ByVal::ByVal ( const IdxVal iv) [inline]

Initialize with index value pairs.

Definition at line 147 of file int.hpp.


Member Function Documentation

bool Gecode::Int::Element::Int::ByVal::operator() ( Idx &  i,
Idx &  j 
) [inline]

Compare pairs at positions i and j.

Definition at line 151 of file int.hpp.


Member Data Documentation

Index-value pairs.

Definition at line 146 of file element.hh.


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