[gecode-users] Using AFC in Gecode 4
Kish Shen
kisshen at cisco.com
Tue Jul 9 20:29:52 CEST 2013
Hi,
Some clarification/correction to my last post:
On 09/07/2013 18:08, Kish Shen wrote:
> This probably reflects my unfamiliarity with C++, but I did look at the
> reference documentation for IntVar, and found that afc() was not there,
I looked in Gecode::IntVar Class Reference
> GecodeSpace* solver;
> solver = new GecodeSpace();
> solver->afc_decay(1U);
The 1U is of course wrong. I confused it with the documentation I read
for the Rnd() function for the random selection. When I changed that to
1.0, I still get the same error (i.e. afc_decay(double) is private
within this context).
Cheers,
Kish
More information about the users
mailing list