public class Analyzer.IndicatorResult extends java.lang.Object implements Displayable
Constructor and Description |
---|
IndicatorResult(java.lang.String indicator,
double[] values)
Constructs a new object for storing the results for a single
indicator.
|
Modifier and Type | Method and Description |
---|---|
void |
display(java.io.PrintStream ps)
Displays the contents of this object to the given output stream.
|
java.lang.Double |
getAggregateValue()
Returns the indicator value of the aggregate Pareto set, or
null if the aggregate value was not computed. |
int |
getCount()
Returns the number of samples.
|
java.lang.String |
getIndicator()
Returns the indicator name.
|
java.util.List<java.lang.String> |
getIndifferentAlgorithms()
Returns a list of algorithms whose performance with respect to this
indicator are statistically similar to the current algorithm.
|
double |
getMax()
Returns the maximum indicator value.
|
double |
getMedian()
Returns the median indicator value.
|
double |
getMin()
Returns the minimum indicator value.
|
double |
getStatistic(org.apache.commons.math3.stat.descriptive.UnivariateStatistic statistic)
Computes and returns the value of the given univariate statistic.
|
double[] |
getValues()
Returns the computed indicator values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
display
public IndicatorResult(java.lang.String indicator, double[] values)
indicator
- the name of the indicatorvalues
- the computed indicator valuespublic double[] getValues()
public double getMin()
public double getMedian()
public double getMax()
public double getStatistic(org.apache.commons.math3.stat.descriptive.UnivariateStatistic statistic)
statistic
- the univariate statistic to computepublic int getCount()
public java.util.List<java.lang.String> getIndifferentAlgorithms()
Analyzer.showStatisticalSignificance()
is invoked.public java.lang.Double getAggregateValue()
null
if the aggregate value was not computed. This value
is only computed if Analyzer.showAggregate()
is invoked.null
if not
computedpublic java.lang.String getIndicator()
public void display(java.io.PrintStream ps)
Displayable
display
in interface Displayable
ps
- the output streamCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.