Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Channel::ValInfo Class Reference

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

#include <val.hpp>

List of all members.

Public Member Functions

void init (View x, int n)
 Initialize.
void update (Space &home, bool share, ValInfo< View > &vi)
 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 (void)
 Update the cardinality and bounds information after pruning.

Public Attributes

View view
 The view.
bool a
 Whether it has been propagated that view is assigned.

Detailed Description

Combine view with information for value propagation.


Member Function Documentation

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

Initialize.

Definition at line 73 of file val.hpp.

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

Update during cloning.

Definition at line 79 of file val.hpp.

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

Check whether propagation for assignment is to be done.

Definition at line 85 of file val.hpp.

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

Check whether propagation for domain is to be done.

Definition at line 91 of file val.hpp.

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

Record that view got assigned.

Definition at line 97 of file val.hpp.

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

Record that one value got removed.

Definition at line 103 of file val.hpp.

void Gecode::Int::Channel::ValInfo::done ( void  ) [inline]

Update the cardinality and bounds information after pruning.

Definition at line 107 of file val.hpp.


Member Data Documentation

The view.

Definition at line 52 of file val.hpp.

Whether it has been propagated that view is assigned.

Definition at line 54 of file val.hpp.


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