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
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