Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Channel::DomInfo Class Reference

Combine view with information for domain propagation. More...

#include <dom.hpp>

List of all members.

Public Member Functions

void init (View x, int n)
 Initialize.
void update (Space &home, bool share, DomInfo< View, Offset > &vcb)
 Update during cloning.
bool doval (void) const
 Check whether propagation for assignment is to be done.
bool dodom (void) const
 Check whether propagation for domain is to be done.
void assigned (void)
 Record that view got assigned.
void removed (int i)
 Record that one value got removed.
void done (Offset &o)
 Update the size and bounds information after pruning.

Public Attributes

View view
 The view.
unsigned int size
 Last propagated size.
int min
 Last propagated minimum.
int max
 Last propagated maximum.

Detailed Description

Combine view with information for domain propagation.


Member Function Documentation

void Gecode::Int::Channel::DomInfo::init ( View  x,
int  n 
) [inline]

Initialize.

Definition at line 77 of file dom.hpp.

void Gecode::Int::Channel::DomInfo::update ( Space home,
bool  share,
DomInfo< View, Offset > &  vcb 
) [inline]

Update during cloning.

Definition at line 86 of file dom.hpp.

bool Gecode::Int::Channel::DomInfo::doval ( void  ) const [inline]

Check whether propagation for assignment is to be done.

Definition at line 96 of file dom.hpp.

bool Gecode::Int::Channel::DomInfo::dodom ( void  ) const [inline]

Check whether propagation for domain is to be done.

Definition at line 102 of file dom.hpp.

void Gecode::Int::Channel::DomInfo::assigned ( void  ) [inline]

Record that view got assigned.

Definition at line 108 of file dom.hpp.

void Gecode::Int::Channel::DomInfo::removed ( int  i) [inline]

Record that one value got removed.

Definition at line 114 of file dom.hpp.

void Gecode::Int::Channel::DomInfo::done ( Offset o) [inline]

Update the size and bounds information after pruning.

Definition at line 124 of file dom.hpp.


Member Data Documentation

The view.

Definition at line 52 of file dom.hpp.

Last propagated size.

Definition at line 54 of file dom.hpp.

Last propagated minimum.

Definition at line 56 of file dom.hpp.

Last propagated maximum.

Definition at line 58 of file dom.hpp.


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