Skip to content

Model

abstract class Model < Object

Abstract model.

The Model class hierarchy is as follows:

Member Variables

Name Description
h:EventHandler Event handler.

Member Functions

Name Description
play Play the complete model with an event handler, returning a log-weight.

Member Fibers

Name Description
simulate Simulate the model, yielding events.

Member Function Details

play

function play() -> Real

Play the complete model with an event handler, returning a log-weight.

Member Fiber Details

simulate

fiber simulate() -> Event

Simulate the model, yielding events.