Generated on Sat Aug 25 2012 15:53:12 for Gecode by doxygen 1.7.5
Gecode::Int::Element::Int::IdxVal Class Reference

Linked index-value pairs. More...

#include <element.hh>

List of all members.

Public Member Functions

void mark (void)
bool marked (void) const
 Return whether this pair is marked for removal.

Public Attributes

Idx idx_next
 The position of the next pair in index order.
Idx val_next
 The position of the next pair in value order.
Idx idx
 The index.
Val val
 The value Mark that this pair should be removed.

Detailed Description

Linked index-value pairs.

Data structure linking pairs of index and value (index,value) where pairs are linked in order of both index and value (to allow for easy removal while keeping both index and value sorted).


Member Function Documentation

void Gecode::Int::Element::Int::IdxVal::mark ( void  ) [inline]

Definition at line 44 of file int.hpp.

bool Gecode::Int::Element::Int::IdxVal::marked ( void  ) const [inline]

Return whether this pair is marked for removal.

Definition at line 49 of file int.hpp.


Member Data Documentation

The position of the next pair in index order.

Definition at line 72 of file element.hh.

The position of the next pair in value order.

Definition at line 73 of file element.hh.

The index.

Definition at line 74 of file element.hh.

The value Mark that this pair should be removed.

Definition at line 75 of file element.hh.


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