Answer class
BayesAnalyser answer. See BayesAnalyser.ask.
- Implemented types
Constructors
-
Answer(String query, BayesValue targetValue, List<
BayesValue> selectedValues, double probability, {String? originalQuery, double? probabilityUnnormalized})
Properties
- fitness ↔ double
-
latefinal
- hashCode → int
-
The hash code for this object.
no setteroverride
- originalQuery → String
-
The original unparsed query.
final
- performance → double
-
no setter
- probability → double
-
The targetValue probability.
final
- probabilityUnnormalized → double
-
The targetValue probability before normalization.
final
- query → String
-
The query for this answer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedValues
→ List<
BayesValue> -
The selected values in the query.
final
- targetProbability → double?
-
no setter
- targetValue → BayesValue
-
The query target value.
final
Methods
-
compareTo(
Answer other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
{bool withPerformance = true, bool withProbabilityUnnormalized = true}) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override