[gecode-users] Writing a Branching

Mikael Zayenz Lagerkvist zayenz at gmail.com
Wed Nov 28 07:28:39 CET 2007


On Nov 27, 2007 7:18 AM, Malcolm Ryan <malcolmr at cse.unsw.edu.au> wrote:
> On 22/11/2007, at 5:13 PM, Mikael Zayenz Lagerkvist wrote:
>
> > No, the standard branching class is not exposed in Java. On the other
> > hand, I'm not sure what you aim to do. You can have more than one
> > branching in a Space, so you can have a standard branching
> > instantiating all variables after your custom branching is finished.
>
> If the standard branching isn't exposed, is there any way to compute
> the degree of a variable choice?

Again this is something that was apparently missing in Gecode/J,
thanks for finding it for us. In Gecode, views have a member function
degree to get this information.

Cheers,
Mikael


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




More information about the gecode-users mailing list