[gecode-users] Improvement....

Guido Tack tack at ps.uni-sb.de
Thu Aug 10 16:14:38 CEST 2006


Hi.

> I think that will be good, that I can define a subclass of the
> Statistics class, then I can pass this to the engine and the same
> class will be send to the branchs and propagators.

Unfortunately, this would incur a significant overhead. Statistics  
are currently completely independent of branchings and propagators.  
Passing a statistics object around during propagation would mean that  
each propagator invocation would have to pay for a feature that is  
not often used.

> I make a custom branch and I like make some statistics, with the
> actually infrastructure of gecode, I don't can make this statistics
> without make a custom search engine, and I think that don't must
> necesary make a custom search engine to make statistics from my custom
> branch.

What kind of statistics do you want to collect? If you have to  
collect it with every invocation of your branching, you could simply  
have a global statistics object that all your branchings know about.  
Why does it have to be passed by the search engine, or the kernel?

Cheers,
	Guido

-- 
Guido Tack
Programming Systems Lab, Saarland University, Germany
http://www.ps.uni-sb.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20060810/71129312/attachment.htm>


More information about the gecode-users mailing list