Hi Vincent, What I did in the trunk is to make ds protected again and provide a top() and empty() method. Does that work for you, or do you need anything else? I really would like to keep ds protected as we might change to a different datastructure for ds later.
I attached a patch (or get it from the trunk). Please let me know if there is anything else you need. Cheers Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Vincent Barichard Sent: Monday, June 01, 2009 12:32 PM To: Christian Schulte Cc: 'gecode list' Subject: Re: [gecode-users] nextDesc in gecode 3.1.0 Oups, I didn't see that the ds variable is already public in 3.1. Sorry for my mistake. Cheers, Vincent Le 1 juin 09 à 11:45, Christian Schulte a écrit : > Which part of nextDesc do you need exactly? > > Wouldn't next() work for you? and then use top()? And yes, Node > should be > public, I'll do that in the trunk. > > Christian > > -- > Christian Schulte, www.ict.kth.se/~cschulte/ > > > -----Original Message----- > From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On > Behalf > Of Vincent Barichard > Sent: Friday, May 29, 2009 11:33 PM > To: gecode list > Subject: [gecode-users] nextDesc in gecode 3.1.0 > > Hi, > > I downloaded Gecode 3.1.0 and I miss a method of 3.0.2. I used the > nextDesc method of a path to get the next branching, but this method > disapears in Gecode 3.1.0. Is there a way to get a branching desc or a > node from a path ? > Should I set the Node nested class to public ? > Thanks for your help. > > Cheers, > Vincent > > Vincent Barichard Université d'Angers (LERIA) > Tel: 02 41 73 52 06 Département Informatique > Fax: 02 41 73 50 73 H203 > > > _______________________________________________ > Gecode users mailing list > us...@gecode.org > https://www.gecode.org/mailman/listinfo/gecode-users Vincent Barichard Université d'Angers (LERIA) Tel: 02 41 73 52 06 Département Informatique Fax: 02 41 73 50 73 H203 _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users
vincent.patch
Description: Binary data
_______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users