[gecode-users] Own branching strategy - commit

Mikael Zayenz Lagerkvist zayenz at gmail.com
Thu Oct 23 13:07:47 CEST 2008


On Thu, Oct 23, 2008 at 11:44 AM,  <benoitlaurent at neuf.fr> wrote:
> I would like to implement my own branching strategy. I examined the
> black-hole.cc and the queen-arimes.cc files but I do not understand very
> well the commit method. More precisely :
> - what is the "a" parameter for ?

The a is for the alternative to commit to [1] (0 or 1 for a binary branching).

> - what are nq and eq ?

Tell-methods in IntViews [2].

Cheers,
Mikael

[1] http://www.gecode.org/gecode-doc-latest/classGecode_1_1Branching.html#7a0e89bd55fa607406575710ddde29d1
[2] http://www.gecode.org/gecode-doc-latest/classGecode_1_1Int_1_1IntView.html


-- 
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/




More information about the gecode-users mailing list