BayesNode class abstract

Mixed in types
Implementers

Constructors

BayesNode(BayesianNetwork network)

Properties

ancestors Set<BayesVariable>
no setter
conditionVariables Iterable<BayesVariable>
no setter
descendants Set<BayesVariable>
no setter
hashCode int
The hash code for this object.
no setterinherited
isFrozen bool
no setterinherited
isRoot bool
no setter
isValid bool
Returns true if this instance is valid.
no setterinherited
network BayesianNetwork
The network of this element.
final
parents Iterable<BayesVariable>
no setter
probabilities Map<BayesCondition, double>
The probability table of this node.
no setter
rootChain List<BayesVariable>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<BayesValue>
no setter
variables Iterable<BayesVariable>
no setter
variablesAsString String
no setter

Methods

checkNotFrozen() → void
inherited
checkValid() → void
Checks if this instance is valid.
inherited
freeze() bool
inherited
getProbability(String condition) double?
Returns a probability for condition in the probabilities table.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseEvent(String line) BayesEvent
toJson() Map<String, Object>
toString() String
A string representation of this object.
inherited
toStringProbabilities(String mainVariable) String
validate() Object?
Validates the instance. Returns the invalid Object or null when valid.
override

Operators

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