Re: [gecode-users] Gist question

2009-05-06 Thread Guido Tack
Malcolm Ryan wrote: > Is there any way to get Gist to provide a space as a return value to > my code? You can use an Inspector to do that. Here's an example (it's for Gecode 3.x, I noticed you were still using 2.x but something similar will work there, too): class ReturnSpaceInspector : pub

[gecode-users] Gist question

2009-05-06 Thread Malcolm Ryan
Is there any way to get Gist to provide a space as a return value to my code? I want to do something like: MySpace* space = new MySpace(); Gecode::Gist::PrintingInspector pi("MySpace"); MySpace* result = Gecode::explore(space, &pi); Where result ends up being some user-selected space from the