Gecode::VarTypeProcessor< VTI, PC, MED > Class Template Reference
[Programming variables]
Inherits Gecode::VarTypeProcessorBase.
Inherited by Gecode::Int::IntVarImpBase::Processor, and Gecode::Set::SetVarImpBase::Processor.
Detailed Description
template<VarTypeId VTI, PropCond PC, class MED>
class Gecode::VarTypeProcessor< VTI, PC, MED >
Variable type processor
Base class for variable type processor for variable type index VTI and maximum propagation condition PC.
Definition at line 141 of file core.icc.
Public Member Functions | |
VarTypeProcessor (void) | |
Constructor (registers processor with kernel). | |
virtual void | update (VarBase *x, Propagator **&sub) |
Update copied variables linked from x. | |
virtual void | dispose (Space *home, VarBase *x) |
Dispose variables. |
Constructor & Destructor Documentation
template<VarTypeId VTI, PropCond PC, class MED>
Gecode::VarTypeProcessor< VTI, PC, MED >::VarTypeProcessor | ( | void | ) |
Member Function Documentation
template<VarTypeId VTI, PropCond PC, class MED>
void Gecode::VarTypeProcessor< VTI, PC, MED >::update | ( | VarBase * | x, | |
Propagator **& | sub | |||
) | [virtual] |
Update copied variables linked from x.
The argument sub gives the array where subscriptions are to be stored.
Implements Gecode::VarTypeProcessorBase.
template<VarTypeId VTI, PropCond PC, class MED>
void Gecode::VarTypeProcessor< VTI, PC, MED >::dispose | ( | Space * | home, | |
VarBase * | x | |||
) | [virtual] |
Dispose variables.
If needed for the variable type, dispose a list of variables, with x being the first variable on the list.
Implements Gecode::VarTypeProcessorBase.
The documentation for this class was generated from the following file:
- gecode/kernel/core.icc (Revision: 3787)