ObserveEvent
final class ObserveEvent<Value>(x:Value, p:Distribution<Value>) < Event
Event triggered by an observe, typically from the ~>
operator.
- x: Associated value.
- p: Associated distribution.
classDiagram
Event <|-- SimulateEvent
Event <|-- ObserveEvent
Event <|-- AssumeEvent
Event <|-- FactorEvent
link Event "../Event/"
link SimulateEvent "../SimulateEvent/"
link ObserveEvent "../ObserveEvent/"
link AssumeEvent "../AssumeEvent/"
link FactorEvent "../FactorEvent/"
Factory Functions
Name | Description |
---|---|
ObserveEvent | Create an ObserveEvent. |
Member Variables
Name | Description |
---|---|
x:Value | Value. |
p:Distribution<Value> | Distribution. |
Factory Function Details
function ObserveEvent<Value>(x:Value, p:Distribution<Value>) -> ObserveEvent<Value>
Create an ObserveEvent.