Skip to content

Event

class Event < Object

Abstract event triggered by the simulation of a model.

Member Functions

Name Description
isSimulate Is this a simulate event?
isObserve Is this an observe event?
isFactor Is this a factor event?
isAssume Is this an assume event?
isValue Is this a value event?
playImmediate Act as appropriate for PLAY_IMMEDIATE mode.
playDelay Act as appropriate for PLAY_DELAY mode.
skipImmediate Act as appropriate for SKIP_IMMEDIATE mode.
skipDelay Act as appropriate for SKIP_DELAY mode.
replayImmediate Act as appropriate for REPLAY_IMMEDIATE mode.
replayDelay Act as appropriate for REPLAY_DELAY mode.
proposeImmediate Act as appropriate for PROPOSE_IMMEDIATE mode.
downdateImmediate Act as appropriate for DOWNDATE_IMMEDIATE mode.
downdateDelay Act as appropriate for DOWNDATE_DELAY mode.
record Record the event in the given trace.

Member Function Details

downdateDelay

function downdateDelay(trace:Queue<Event>) -> Real

Act as appropriate for DOWNDATE_DELAY mode.

downdateImmediate

function downdateImmediate(trace:Queue<Event>) -> Real

Act as appropriate for DOWNDATE_IMMEDIATE mode.

isAssume

function isAssume() -> Boolean

Is this an assume event?

isFactor

function isFactor() -> Boolean

Is this a factor event?

isObserve

function isObserve() -> Boolean

Is this an observe event?

isSimulate

function isSimulate() -> Boolean

Is this a simulate event?

isValue

function isValue() -> Boolean

Is this a value event?

playDelay

function playDelay() -> Real

Act as appropriate for PLAY_DELAY mode.

playImmediate

function playImmediate() -> Real

Act as appropriate for PLAY_IMMEDIATE mode.

proposeImmediate

function proposeImmediate(trace:Queue<Event>) -> Real

Act as appropriate for PROPOSE_IMMEDIATE mode.

record

function record(trace:Queue<Event>)

Record the event in the given trace. The event is free to choose how to do so, including not recording itself, if no information will be required for replay.

replayDelay

function replayDelay(trace:Queue<Event>) -> Real

Act as appropriate for REPLAY_DELAY mode.

replayImmediate

function replayImmediate(trace:Queue<Event>) -> Real

Act as appropriate for REPLAY_IMMEDIATE mode.

skipDelay

function skipDelay(trace:Queue<Event>) -> Real

Act as appropriate for SKIP_DELAY mode.

skipImmediate

function skipImmediate(trace:Queue<Event>) -> Real

Act as appropriate for SKIP_IMMEDIATE mode.