class Quartz::DTSS::Simulator

Overview

This class defines a DTSS simulator.

Defined in:

quartz/dtss/simulator.cr

Constructors

Instance Method Summary

Instance methods inherited from class Quartz::Processor

bag : Hash(InputPort, Array(Any)) bag, bag? : Hash(InputPort, Array(Any))? bag?, collect_outputs(elapsed : Duration) : Hash(OutputPort, Array(Any)) collect_outputs, initialize_processor(time : TimePoint) : ::Tuple(Duration, Duration) initialize_processor, inspect(io) inspect, model : Model model, parent : Coordinator? parent, parent=(parent : Coordinator?) parent=, perform_transitions(time : TimePoint, elapsed : Duration) : Duration perform_transitions, sync : Bool sync, sync=(sync : Bool) sync=, to_s(io) to_s

Constructor methods inherited from class Quartz::Processor

new(model : Model) new

Instance methods inherited from class Reference

==(other : Quartz::Any) ==

Instance methods inherited from class Object

===(other : Quartz::Any) ===

Constructor Detail

def self.new(model : Model, simulation : Simulation) #

[View source]

Instance Method Detail

def collect_outputs(_elapsed : Duration) : Hash(Quartz::OutputPort, Array(Quartz::Any)) #

[View source]
def initialize_processor(time : TimePoint) : ::Tuple(Duration, Duration) #

[View source]
def perform_transitions(time : TimePoint, elapsed : Duration, imminent : Bool = false) : Duration #

[View source]
def transition_stats #

[View source]