BayesValue class
A value in a BayesianNetwork.
- Implemented types
- Mixed in types
Constructors
- BayesValue(String name, BayesVariable variable, {BayesValueSignal? signal})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isValid → bool
-
Returns
true
if this instance is valid.no setterinherited - name → String
-
Name of the value.
final
- nameAndSignal → String
-
no setter
- network → BayesianNetwork
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal → BayesValueSignal
-
Signal of this value.
final
- variable → BayesVariable
-
Variable of this value.
final
Methods
-
checkValid(
) → void -
Checks if this instance is valid.
inherited
-
compareTo(
BayesValue other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
-
validate(
) → Object? -
Validates the instance. Returns the invalid Object or
null
when valid.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
resolveName(
String name, {required NetworkCache? networkCache}) → String -
resolveSignal(
{BayesValueSignal? signal, String? name}) → BayesValueSignal