BayesDependency class
- Inheritance
- Implemented types
Constructors
-
BayesDependency.new(BayesianNetwork network, Iterable<
BayesVariable> variables, {List<String> ? probabilities, double? unseenMinimalProbability})
Properties
-
ancestors
→ Set<
BayesVariable> -
no setteroverride
-
conditionVariables
→ Iterable<
BayesVariable> -
no setterinherited
-
descendants
→ Set<
BayesVariable> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFrozen → bool
-
no setterinherited
- isRoot → bool
-
no setteroverride
- isValid → bool
-
Returns
true
if this instance is valid.no setterinherited - network → BayesianNetwork
-
The network of this element.
finalinherited
-
parents
→ Iterable<
BayesVariable> -
no setteroverride
-
probabilities
→ Map<
BayesCondition, double> -
The probability table of this node.
no setterinherited
-
rootChain
→ List<
BayesVariable> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Iterable<
BayesValue> -
no setteroverride
-
variables
→ Set<
BayesVariable> -
no setteroverride
- variablesAsString ↔ String
-
latefinaloverride-getter
Methods
-
checkNotFrozen(
) → void -
inherited
-
checkValid(
) → void -
Checks if this instance is valid.
inherited
-
compareTo(
BayesDependency other) → int -
Compares this object to another object.
override
-
freeze(
) → bool -
inherited
-
getProbability(
String condition) → double? -
Returns a probability for
condition
in the probabilities table.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseEvent(
String line) → BayesEvent -
inherited
-
toJson(
) → Map< String, Object> -
override
-
toString(
) → String -
A string representation of this object.
override
-
toStringProbabilities(
String mainVariable) → String -
inherited
-
validate(
) → Object? -
Validates the instance. Returns the invalid Object or
null
when valid.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override