Generated on Wed Nov 1 15:05:13 2006 for Gecode by doxygen 1.4.5

Gecode::VarTypeProcessorBase Class Reference
[Programming variables]

Inherited by Gecode::VarTypeProcessor< VTI, PC, MED >, Gecode::VarTypeProcessor< VTI_INT, PC_INT_DOM, IntMeDiff >, and Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, SetMeDiff >.

List of all members.


Detailed Description

Base-class for variable type processor.

Serves as base-class that can be used without having to know any template arguments.

Definition at line 111 of file core.icc.

Public Member Functions

virtual void process (Space *home, VarBase *x)=0
 Process modified variables linked from x.
virtual void update (VarBase *x, Propagator **&sub)=0
 Update copied variables linked from x.
virtual void dispose (Space *home, VarBase *x)=0
 Dispose variables.
virtual ~VarTypeProcessorBase (void)
 Destructor (not really used).


Constructor & Destructor Documentation

Gecode::VarTypeProcessorBase::~VarTypeProcessorBase void   )  [virtual]
 

Destructor (not really used).

Definition at line 35 of file core.cc.


Member Function Documentation

virtual void Gecode::VarTypeProcessorBase::process Space home,
VarBase x
[pure virtual]
 

Process modified variables linked from x.

Implemented in Gecode::Int::IntVarImpBase::Processor, and Gecode::Set::SetVarImpBase::Processor.

virtual void Gecode::VarTypeProcessorBase::update VarBase x,
Propagator **&  sub
[pure virtual]
 

Update copied variables linked from x.

The argument sub gives the array where subscriptions are to be stored.

Implemented in Gecode::VarTypeProcessor< VTI, PC, MED >, Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, SetMeDiff >, and Gecode::VarTypeProcessor< VTI_INT, PC_INT_DOM, IntMeDiff >.

virtual void Gecode::VarTypeProcessorBase::dispose Space home,
VarBase x
[pure virtual]
 

Dispose variables.

If needed for the variable type, dispose a list of variables, with x being the first variable on the list.

Implemented in Gecode::VarTypeProcessor< VTI, PC, MED >, Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, SetMeDiff >, and Gecode::VarTypeProcessor< VTI_INT, PC_INT_DOM, IntMeDiff >.


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