On 29 October 2010 00:57, Egon Willighagen <egon.willighagen@gmail.com> wrote:
On Thu, Oct 28, 2010 at 11:54 PM, Rajarshi Guha <rajarshi.guha@gmail.com> wrote:
> Couldn't algorithms use their own data structures to check for this,
> rather than the API expanding to rpovide a class for this?

Sure. I thought it might be useful to share some code, but the
abstract class turns out to be  pretty small, so maybe not needed...


IMHO a shared abstract class is nice, otherwise one needs to guess every time what structure is used for the same purpose ... harder to read the code.  My only concern about the change is regarding performance, flags are usually much faster than allocating  objects in lists ...

Nina
 
Egon


--
Dr E.L. Willighagen
Postdoctoral Research Associate
University of Cambridge
Homepage: http://egonw.github.com/
LinkedIn: http://se.linkedin.com/in/egonw
Blog: http://chem-bla-ics.blogspot.com/
PubList: http://www.citeulike.org/user/egonw/tag/papers

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Cdk-devel mailing list
Cdk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-devel