Package adams.data.statistics
Interface InformativeStatistic
-
- All Superinterfaces:
SpreadSheetSupporter
- All Known Implementing Classes:
AbstractDataStatistic,ActorStatistic,TimeseriesStatistic
public interface InformativeStatistic extends SpreadSheetSupporter
Interface for statistics classes that can return several statistical values.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetStatistic(String name)Returns the statistical value for the given statistic name.StringgetStatisticDescription()Returns a description for this statistic.Iterator<String>statisticNames()Returns all the names of the available statistical values.-
Methods inherited from interface adams.data.spreadsheet.SpreadSheetSupporter
toSpreadSheet
-
-
-
-
Method Detail
-
getStatisticDescription
String getStatisticDescription()
Returns a description for this statistic.- Returns:
- the description
-
statisticNames
Iterator<String> statisticNames()
Returns all the names of the available statistical values.- Returns:
- the iterator over the names
-
getStatistic
double getStatistic(String name)
Returns the statistical value for the given statistic name.- Parameters:
name- the name of the statistical value- Returns:
- the corresponding value
-
-