Skip to content

FactorEvent


final class FactorEvent(w:Expression<Real>) < Event

Event triggered for a factor.

  • w: Associated log-weight.
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
FactorEvent Create a FactorEvent.
FactorEvent Create a FactorEvent.

Member Variables

Name Description
w:Expression<Real> Associated log-weight.

Factory Function Details

function FactorEvent(w:Expression<Real>) -> FactorEvent

Create a FactorEvent.

function FactorEvent(w:Real) -> FactorEvent

Create a FactorEvent.