VeaR/JEllipse

pl.krakow.cmuj.bioinformatics.jellipse
Interface Plottable

All Known Implementing Classes:
AbsDeviation, AvgDihedralAngle, Deviation, LnCurvature

public interface Plottable

Common functions for all properties that can be represented in a 2D plot.


Method Summary
 float getMaxValue(Peptide ch)
           
 float getMinValue(Peptide ch)
           
 float getValue(Aminoacid aacid)
           
 boolean isCorrect(float value)
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 

Method Detail

getValue

float getValue(Aminoacid aacid)
Parameters:
aacid - current aminoacid considered as a vector of property
Returns:
numerical value of property

getMinValue

float getMinValue(Peptide ch)
Parameters:
ch - current chain that has the property assigned for its elements
Returns:
minimal numerical value of property in the whole chain

getMaxValue

float getMaxValue(Peptide ch)
Parameters:
ch - current chain that has the property assigned for its elements
Returns:
miaxmial numerical value of property in the whole chain

isCorrect

boolean isCorrect(float value)
Parameters:
value - value to be tested for correctness
Returns:
true iff value is correct (e.g within reasonable range)

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
text identyfing property

toShortString

java.lang.String toShortString()
Returns:
short text identyfing property

VeaR/JEllipse