'STRAP:multiple sequence alignments '

charite.christo.strap.interfaces
Interface ValueOfProtein

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

public interface ValueOfProtein
extends HasProtein

Plugin that returns a numeric value for the protein or NaN. It is used for bar charts. It should notify changes by dispatching events of type JAVADOC:ProteinEvent#VALUE_OF_PROTEIN_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()
           
 double getValue()
           
 boolean setProtein(Protein p)
           
 
Methods inherited from interface charite.christo.interfaces.HasProtein
getProtein
 

Method Detail

getValue

double getValue()

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() directly.


setProtein

boolean setProtein(Protein p)

getModificationCount

int getModificationCount()

'STRAP:multiple sequence alignments '

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