It's in the trunk already, called INT_VALUES_MIN or INT_VALUES_MAX.

Christian

--
Christian Schulte, www.ict.kth.se/~cschulte/

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Marco Correia
Sent: Friday, December 05, 2008 4:05 PM
To: [EMAIL PROTECTED]
Subject: [gecode-users] n-ary branching

Hi!

>From what I understood so far, 

branch(this, q, INT_VAR_NONE, INT_VAL_MIN);

creates a binary search tree. 

Is there an easy way to create an n-ary search tree instead? I mean, once it

picks a variable, it branches on all of its values and only then goes to the

next. I know that binary branching is better in general, but I still would 
like to make it n-ary. I could try messing around with 

gecode/int/branch/select-val.icc

but it didn't went well last time :)

Thanks!
Marco

-- 
Marco Correia <[EMAIL PROTECTED]>

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to