BayesEventMonitor class
A BayesianNetwork event monitor.
- Implemented types
Constructors
- BayesEventMonitor(String name)
-
BayesEventMonitor.fromJson(Map<
String, Object?> json) -
factory
- BayesEventMonitor.fromJsonEncoded(String jsonEncoded)
-
factory
-
BayesEventMonitor.fromSerializable(Map<
String, Object?> serializable) -
factory
Properties
-
currentObservations
→ List<
List< List< >String> > -
final
- dependenciesLength → int
-
no setter
- eventsLength → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildBayesianNetwork(
{double unseenMinimalProbability = 0.0000001, bool populateDependencies = true, bool verbose = false}) → BayesianNetwork - Instantiates a BayesianNetwork, calls populateNodes and returns it.
-
clear(
) → void -
disposeCaches(
) → void -
override
-
incrementFromJson(
Object json) → void -
incrementFromSerializable(
Object serializable) → void -
loadFromJson(
Object json) → void -
loadFromJsonEncoded(
String jsonEncoded) → void -
loadFromSerializable(
Object serializable) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyDependency(
List< String> dependentVariables, Object event) → void - Notifies an event with dependency.
-
notifyEvent(
Object event) → void - Notifies an event.
-
notifyObservation(
Iterable< Iterable< observations) → voidString> > - Notifies an observation (an event not finished yet).
-
notifyObservationsConclusion(
Iterable< String> conclusion) → void -
Notifies the
conclusion
of all previous observations. -
populateNodes(
BayesianNetwork network, {bool populateDependencies = true, bool verbose = false}) → void -
Populates
network
with all recorded events. -
toJson(
) → Map< String, Object> -
toJsonEncoded(
{bool pretty = false}) → String -
toSerializable(
) → Map< String, Object> -
toString(
{bool withTables = true, bool allowHugeTables = false, int hugeTableLimit = 500}) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited