[gecode-users] Space access during ViewSelection?

Martin Mann mmann at informatik.uni-freiburg.de
Tue Jul 11 15:39:34 CEST 2006


;)

the next ugly question is waiting:

This time I m fighting with value selection classes for my branching. In 
a function "int val(IntView &x)" the value to split on of the domain x 
is determined.

I would like to have access to the "father" Space of x...

The reason is the usage of some further informations out of Space, to 
select the value.
Am I the only one who is interested in doing such things or may it be 
interesting for others too? If that's the case may it be possible to add 
the calling Space to the parameter list of "val(..)" in general? (I know 
this would lead to some changes in the code.. and to incompatibilities 
with user defined value selections for older versions of gecode..)

Otherwise i ve got to do some static stuff I dont like, but that will do 
it for the moment.

Thanks for thinking about

Martin




More information about the gecode-users mailing list