Skip to content


class AssumeEvent<Value>(v:Random<Value>, p:Distribution<Value>) < ValueEvent<Value>

Event triggered by an assume, typically from the ~ operator.

  • v: The random variate.
  • p: The distribution.

Factory Functions

Name Description
AssumeEvent Create an AssumeEvent.

Member Variables

Name Description
v:Random<Value> Random variate associated with the event.
p:Distribution<Value> Distribution associated with the event.
assigned:Boolean Did the random variate have a value when the event was triggered?

Factory Function Details

function AssumeEvent<Value>(v:Random<Value>, p:Distribution<Value>) -> AssumeEvent<Value>

Create an AssumeEvent.