[gecode-users] access to Space during branching?

Christian Schulte schulte at imit.kth.se
Mon Jun 5 09:40:24 CEST 2006


Yes, you got it right. It has been really a mistake to not pass a space
argument to branch: everything is constructed in such a way that one never
has to store a space anywhere: no Gecode data structure stores a space, all
is passed as arguments.

Christian

-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Luis Quesada
Sent: Friday, June 02, 2006 5:28 PM
To: 'gecode user list'
Subject: Re: [gecode-users] access to Space during branching?


Christian Schulte wrote:

>Hmm, you are absolutely right: also branch should take a space 
>argument. I'll do that right now on the trunk version.
>
>There is no other way to obtain a space...
>  
>
Please, let me see whether I am getting this right:  does this mean 
that, as all the information on which the labeling strategy is based is 
usually in the space, the only argument that needs to be passed to the 
constructor of the branching is the space?

What I have been doing so far is to pass this information through the 
constructor and copy this information in the branching constructor for 
cloning. But this would be no longer needed if the space is an argument 
of branch.

Luis


_______________________________________________
Gecode users mailing list
users at gecode.org https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list