Table of Contents

Interface IMessageGenerator

Namespace
Virtufin.Core.Contracts
Assembly
Virtufin.Core.dll

Generates the set of IMessages a contract would emit at a given timePoint given the prior scenarioHistory. Used to drive simulation forward.

public interface IMessageGenerator

Methods

GenerateMessages(ITimeStamp, IScenarioHistory)

Compute the messages emitted at timePoint.

IEnumerable<IMessage> GenerateMessages(ITimeStamp timePoint, IScenarioHistory scenarioHistory)

Parameters

timePoint ITimeStamp

Time at which to evaluate the contract.

scenarioHistory IScenarioHistory

Prior history.

Returns

IEnumerable<IMessage>