Gecode::VarTypeProcessorBase Class Reference
[Programming variables]
Inherited by Gecode::VarTypeProcessor< VTI, PC, MED >, Gecode::VarTypeProcessor< VTI_INT, PC_INT_DOM, Gecode::Int::IntMeDiff >, and Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, Gecode::Set::SetMeDiff >.
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] |
Member Function Documentation
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_INT, PC_INT_DOM, Gecode::Int::IntMeDiff >, and Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, Gecode::Set::SetMeDiff >.
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_INT, PC_INT_DOM, Gecode::Int::IntMeDiff >, and Gecode::VarTypeProcessor< VTI_SET, PC_SET_ANY, Gecode::Set::SetMeDiff >.
The documentation for this class was generated from the following files:
- gecode/kernel/core.icc (Revision: 3787)
- gecode/kernel/core.cc (Revision: 3550)