Result class

Constructors

Result(Statistic? statistic, Confidence? with2StandardDeviations, Confidence? with3StandardDeviations, bool hadInvalidValues, List<double>? percentiles, List<Confidence>? confidences, ProbabilityHistogram? histogram)
const
Result.invalid(double? singleInvalidValue)
const

Properties

confidences List<Confidence>?
final
hadInvalidValues bool
final
hashCode int
The hash code for this object.
no setterinherited
histogram → ProbabilityHistogram?
final
isInvalid bool
This is true if most of the results of the calculation were not-a-number (like, for example, in the case of 100~101 / 0).
no setter
percentiles List<double>?
final
percentilesString String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simple String
no setter
singleInvalidValue double?
When the result was mostly invalid, for almost any run of the simulation (like, for example, in the case of 100~101 / 0), then this field will hold the most representative value (e.g. double.infinity or double.nan;
final
statistic → Statistic?
final
with2StandardDeviations Confidence?
final
with3StandardDeviations Confidence?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

invalidThreshold → const double
The ratio of results that must be invalid in order for the whole calculation to return a singleInvalidValue instead of a statistic.