[gecode-users] Tracking memory usage

Guido Tack tack at ps.uni-sb.de
Mon May 11 06:14:53 CEST 2009


Malcolm Ryan wrote:

> Is it possible to find out how many variables are in a particular
> space? Or how many active propagators?

Variables, no.  Propagators, yes, using the propagators() method of a  
Space.  Inactive, i.e. subsumed propagators, are not copied, so  
propagators() returns the number of active propagators.

Cheers,
	Guido





More information about the gecode-users mailing list