On Nov 21, 2007 2:14 AM, Malcolm Ryan <[EMAIL PROTECTED]> wrote:
> I need to write my own Branching for my problem. Is there any
> documentation on how they work? Or are there any examples?

There is a very simple example in examples/QueensJavaPropagator.java.

The best documentation is currently the one supplied with Gecode:
http://www.gecode.org/gecode-doc-latest/classGecode_1_1Branching.html

Note that we currently do not support subclassing BranchingDesc in
Java, instead we supply a single one called JavaBranchingDesc which
has two integer memebers (accessed through pos() and val()). This will
most probably be changed for Gecode/J 2.0.0.

Hope this helps,
Mikael

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

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

Reply via email to