'STRAP:multiple sequence alignments '

charite.christo.strap.interfaces
Interface ProteinProteinValue

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

public interface ProteinProteinValue
extends ValueOfProtein

Returns values for pairs of proteins. It should notify changes by creating an event of type JAVADOC:ProteinEvent#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.
 int getModificationCount()
           
 StrapProtein 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(StrapProtein p)
           
 
Methods inherited from interface charite.christo.strap.interfaces.ValueOfProtein
setProtein
 
Methods inherited from interface charite.christo.interfaces.HasProtein
getProtein
 

Method Detail

setOtherProtein

void setOtherProtein(StrapProtein p)

getOtherProtein

StrapProtein 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

getModificationCount

int getModificationCount()
Specified by:
getModificationCount in interface ValueOfProtein

'STRAP:multiple sequence alignments '

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