[Biojava-dev] projection and flipping

Matthew Pocock matthew_pocock at yahoo.co.uk
Mon Jul 7 12:16:23 EDT 2003


Hi,

The re-architecthing of feature projection is going well. Basic tests 
are passing, and the new-style of context and code-generation is working 
like a charm. This will be a fairly big hit to CVS, so I'll warn the 
list before commiting.

Can anybody tell me the current contract for ProjectedFeatureHolder when 
it has both a translation and a flip? Does it flip using the translation 
as origin, or flip arround 0 and then translate, or flip in-place and 
then translate, or some other completely mad thing? Different code using 
this API seems to assume it's doing different things (I think).

My vote is for flipping features in place and then translating the 
result - that way, the semantics of the translation are the same wether 
you are flipping or not. This seperation potentialy lets us migrate the 
projection context API towards a more aspects-based design (shiver).

Any ideas?

Matthew

-- 
BioJava Consulting LTD - Support and training for BioJava
http://www.biojava.co.uk



More information about the biojava-dev mailing list