From: Gary P. <gpa...@gm...> - 2009-05-12 11:28:44
|
Hi, Hmm.... that's strange. Wasn't the method protected all along? It was intended to be an internal accessor if I remember correctly. We are changing the Vector at the moment. We want the Vector to be specialized with Numeric types. This greatly reduces the API complexity and we allow you to directly vector.get(i) the elements of the vector. For now, please keep with your current work around. Sorry for any issues it has caused. 0.7.1 of CIlib will be released relatively soon and this will hopefully be corrected in that release through altering the Vector class. Kind regards, Gary lab...@gm... wrote: > Hi! > > I'm now trying to integrate 0.7 with my code. > > I have a solution vector composed of bits and reals, so I need a > positionupdate method that takes care of this mix of data types. > I have a PositionUpdateStrategyMixin class that takes care of that but > it relies on getType(index) to get the type of the element in the > solution vector. However, this method is protected in the Vector > container class. Why is it protected? I did recompile cilib to change > that but maybe you have another suggestion? > > TIA, > > myriam > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Cilib-users mailing list > Cil...@li... > https://lists.sourceforge.net/lists/listinfo/cilib-users |