Gecode::ValSelCommitBase brancher-val-sel-commit.hpp class _View _View class _Val _Val
Memory management
void * forceinline void * Gecode::ValSelCommitBase< View, Val >::operator new (size_t s, Space &home) operator new size_t s Space & home Allocate memory from space. void forceinline void Gecode::ValSelCommitBase< View, Val >::operator delete (void *p, Space &home) operator delete void * p Space & home Return memory to space. void forceinline void Gecode::ValSelCommitBase< View, Val >::operator delete (void *p) operator delete void * p Needed for exceptions.
_View typedef _View Gecode::ValSelCommitBase< _View, _Val >::View View View type. _Val typedef _Val Gecode::ValSelCommitBase< _View, _Val >::Val Val Value type. forceinline Gecode::ValSelCommitBase< View, Val >::ValSelCommitBase (Space &home, const ValBranch &vb) ValSelCommitBase Space & home const ValBranch & vb Constructor for initialization. forceinline Gecode::ValSelCommitBase< View, Val >::ValSelCommitBase (Space &home, bool shared, ValSelCommitBase< View, Val > &vsc) ValSelCommitBase Space & home bool shared ValSelCommitBase< View, Val > & vsc Constructor for cloning. Val virtual Val Gecode::ValSelCommitBase< _View, _Val >::val (const Space &home, View x, int i)=0 val val const Space & home View x int i Return value of view x at position i. ModEvent virtual ModEvent Gecode::ValSelCommitBase< _View, _Val >::commit (Space &home, unsigned int a, View x, int i, Val n)=0 commit commit Space & home unsigned int a View x int i Val n Commit view x at position i to value n for alternative a. NGL * virtual NGL* Gecode::ValSelCommitBase< _View, _Val >::ngl (Space &home, unsigned int a, View x, Val n) const =0 ngl ngl Space & home unsigned int a View x Val n Create no-good literal for choice c and alternative a. void virtual void Gecode::ValSelCommitBase< _View, _Val >::print (const Space &home, unsigned int a, View x, int i, const Val &n, std::ostream &o) const =0 print print const Space & home unsigned int a View x int i const Val & n std::ostream & o Print on o branch for alternative a, view x at position i, and value n. ValSelCommitBase< View, Val > * virtual ValSelCommitBase<View,Val>* Gecode::ValSelCommitBase< _View, _Val >::copy (Space &home, bool shared)=0 copy copy Space & home bool shared Perform cloning. bool virtual bool Gecode::ValSelCommitBase< _View, _Val >::notice (void) const =0 notice notice void Whether dispose must always be called (that is, notice is needed) void virtual void Gecode::ValSelCommitBase< _View, _Val >::dispose (Space &home)=0 dispose dispose Space & home Delete value selection. Base class for value selection and commit. Gecode::ValSelCommitBasecommit Gecode::ValSelCommitBasecopy Gecode::ValSelCommitBasedispose Gecode::ValSelCommitBasengl Gecode::ValSelCommitBasenotice Gecode::ValSelCommitBaseoperator delete Gecode::ValSelCommitBaseoperator delete Gecode::ValSelCommitBaseoperator new Gecode::ValSelCommitBaseprint Gecode::ValSelCommitBaseVal Gecode::ValSelCommitBaseval Gecode::ValSelCommitBaseValSelCommitBase Gecode::ValSelCommitBaseValSelCommitBase Gecode::ValSelCommitBaseView