EventForecaster<T, V, F> class
abstract
A Probabilistic Forecast producer base class.
Constructors
- EventForecaster(String name, {int maxDependencyLevel = 2, double dependencyNotificationRatio = 0.50, Random? random})
- EventForecaster.withEventMonitor(BayesEventMonitor eventMonitor, {int maxDependencyLevel = 2, double dependencyNotificationRatio = 0.50, Random? random})
Properties
-
allObservations
→ List<
ForecastObservation< T, V> > -
Returns all the non-concluded observations of all phases.
no setter
-
conclusionListener
↔ ForecastConclusionListener<
T, V> ? -
getter/setter pair
- dependencyNotificationRatio → double
-
final
- eventMonitor → BayesEventMonitor
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDependencyLevel → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
computeForecast(
String phase, List< ForecastObservation< observations) → FT, V> > -
concludeObservations(
T source, Map< String, V> conclusions, {List<String> ? phases}) → List<ForecastObservation< T, V> > -
Concludes observations for
source
withvalue
. -
disposeObservations(
) → void - Disposes all the non-concluded observations of all phases.
-
forecast(
T source, {String phase = '', Iterable< String> ? previousPhases}) → F -
Performes a forecast over
source
. Calls computeForecast with the selected observations. -
generatePhaseOperations(
String phase) → Iterable< ObservationOperation< T, V> > -
Generates the operations for
phase
. -
getPhaseOperations(
String phase) → List< ObservationOperation< T, V> > -
The
ObservationOperation
List forphase
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
dynamic source, {String phase = ''}) → List< ForecastObservation< T, V> > -
Observe
source
forphase
. Calls getPhaseOperations to generated the observations. -
removeObservation(
ForecastObservation< T, V> observation) → void -
Removes
observation
of the non-concluded list. -
removeObservations(
List< ForecastObservation< observations) → voidT, V> > -
Removes
observations
of the non-concluded list. -
selectedObservations(
{Iterable< String> ? phases, bool allPhases = false, T? source}) → List<ForecastObservation< T, V> > - Selects the non-concluded observations that matches the criteria:
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited