X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Futil%2FDescriptiveStatistics.java;h=2788b47cdd17c8ab31593518d5a5b13192a7dd89;hb=9351f2c2e8af0c3bf1280f9696f1459db2819005;hp=f5a8a7f92587b8cc84fb165bc61256e8d0a6c08e;hpb=eee996a6476a1e3d84c07f8f690dcde3ff4b2ef5;p=jalview.git diff --git a/forester/java/src/org/forester/util/DescriptiveStatistics.java b/forester/java/src/org/forester/util/DescriptiveStatistics.java index f5a8a7f..2788b47 100644 --- a/forester/java/src/org/forester/util/DescriptiveStatistics.java +++ b/forester/java/src/org/forester/util/DescriptiveStatistics.java @@ -21,10 +21,12 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA // // Contact: phylosoft @ gmail . com -// WWW: www.phylosoft.org/forester +// WWW: https://sites.google.com/site/cmzmasek/home/software/forester package org.forester.util; +import java.util.List; + public interface DescriptiveStatistics { public final static String PLUS_MINUS = "" + ( char ) 177; @@ -38,13 +40,15 @@ public interface DescriptiveStatistics { /** * Computes the coefficient of variation. Used to express standard deviation * independent of units of measure. - * + * * @return */ public abstract double coefficientOfVariation(); public abstract double[] getDataAsDoubleArray(); + public abstract List getData(); + public abstract double getMax(); public abstract double getMin(); @@ -64,7 +68,7 @@ public interface DescriptiveStatistics { /** * Determines relationship between the mean and the median. This reflects * how the data differs from the normal bell shaped distribution. - * + * * @return */ public abstract double pearsonianSkewness(); @@ -81,4 +85,8 @@ public interface DescriptiveStatistics { @Override public abstract String toString(); + + public abstract void setDescription( final String desc ); + + public abstract String getDescription(); } \ No newline at end of file