Gecode::VarImpVar Gecode::Var var.hpp class VarImp VarImp
Generic variable information
VarImp * forceinline VarImp * Gecode::VarImpVar< VarImp >::varimp (void) const varimp void Return variable implementation of variable. unsigned int forceinline unsigned int Gecode::VarImpVar< VarImp >::degree (void) const degree void Return degree (number of subscribed propagators and advisors) double forceinline double Gecode::VarImpVar< VarImp >::afc (const Space &home) const afc const Space & home Return accumulated failure count.
Domain tests
bool forceinline bool Gecode::VarImpVar< VarImp >::assigned (void) const assigned void Test whether view is assigned.
Cloning
void forceinline void Gecode::VarImpVar< VarImp >::update (Space &home, bool share, VarImpVar< VarImp > &y) update Space & home bool share VarImpVar< VarImp > & y Update this variable to be a clone of variable y.
Variable comparison
bool forceinline bool Gecode::VarImpVar< VarImp >::same (const VarImpVar< VarImp > &y) const same const VarImpVar< VarImp > & y Test whether variable is the same as y. bool forceinline bool Gecode::VarImpVar< VarImp >::before (const VarImpVar< VarImp > &y) const before const VarImpVar< VarImp > & y Test whether variable comes before y (arbitrary order)
VarImp typedef VarImp Gecode::VarImpVar< VarImp >::VarImpType VarImpType The variable implementation type corresponding to the variable. VarImp * VarImp* Gecode::VarImpVar< VarImp >::x x Pointer to variable implementation. forceinline Gecode::VarImpVar< VarImp >::VarImpVar (void) VarImpVar void Default constructor. forceinline Gecode::VarImpVar< VarImp >::VarImpVar (VarImp *y) VarImpVar VarImp * y Initialize with variable implementation y. Variables as interfaces to variable implementations. x base Gecode::VarImpVarafc Gecode::VarImpVarassigned Gecode::VarImpVarbefore Gecode::VarImpVardegree Gecode::VarImpVarsame Gecode::VarImpVarupdate Gecode::VarImpVarvarimp Gecode::VarImpVarVarImpType Gecode::VarImpVarVarImpVar Gecode::VarImpVarVarImpVar Gecode::VarImpVarx