Skip to content


final class SimulateEvent<Value>(p:Distribution<Value>) < Event

Event triggered by a simulate, typically from the <~ operator.

  • 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
SimulateEvent Create a SimulateEvent.

Member Variables

Name Description
x:Value? Value.
p:Distribution<Value> Distribution.

Factory Function Details

function SimulateEvent<Value>(p:Distribution<Value>) -> SimulateEvent<Value>

Create a SimulateEvent.