'STRAP:multiple sequence alignments '

charite.christo.strap
Interface ProteinProteinValue

All Superinterfaces:
HasModiCount, HasProtein, ValueOfProtein
All Known Subinterfaces:
ProteinProteinDistance, ProteinProteinSimilarity
All Known Implementing Classes:
AbstractAlignAndCompare, AlignmentScore, IndividualSequenceDisSimilarity, RmsdValue, SequenceDisSimilarityAsAligned

public interface ProteinProteinValue
extends ValueOfProtein, HasModiCount

Returns values for pairs of proteins. It should notify changes by creating an event of type JAVADOC:StrapEvent#PROTEIN_PROTEIN_DISTANCE_CHANGED and dispatching it with JAVADOC:StrapEvent#run().


Method Summary
 void compute()
          When it is time consuming then do the calculation in the compute method.
 Protein getOtherProtein()
           
 double getValue()
          please store and reuse values if appropriate return NaN when not calculated yet
 void setColumnRange(int from, int to)
          the values may depend on the range of alignment positions
 void setOtherProtein(Protein p)
           
 
Methods inherited from interface charite.christo.protein.ValueOfProtein
setProtein
 
Methods inherited from interface charite.christo.protein.HasProtein
getProtein
 
Methods inherited from interface charite.christo.HasModiCount
modificationCount
 

Method Detail

setOtherProtein

void setOtherProtein(Protein p)

getOtherProtein

Protein getOtherProtein()

getValue

double getValue()
please store and reuse values if appropriate return NaN when not calculated yet

Specified by:
getValue in interface ValueOfProtein

setColumnRange

void setColumnRange(int from,
                    int to)
the values may depend on the range of alignment positions


compute

void compute()
When it is time consuming then do the calculation in the compute method. Non time intensive calculations can be performed in getValue();

Specified by:
compute in interface ValueOfProtein

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'