Re: [gecode-users] Return value of Branching::commit

2008-06-21 Thread Guido Tack
Chris Mears wrote: > How should the return value of commit be constructed in a custom > Branching class? In the QueenArmies example (copied below), a single > constraint is posted whose ModEvent value is converted into an > ExecStatus value by me_failed, and that ExecStatus is returned. [...] > Ho

[gecode-users] Return value of Branching::commit

2008-06-20 Thread Chris Mears
Hello, How should the return value of commit be constructed in a custom Branching class? In the QueenArmies example (copied below), a single constraint is posted whose ModEvent value is converted into an ExecStatus value by me_failed, and that ExecStatus is returned. virtual ExecStatus commit(Sp