class Quartz::MultiComponent::Simulator

Overview

This class defines a multiPDEVS simulator.

Included Modules

Defined in:

quartz/multi_component/simulator.cr

Constructors

Instance Method Summary

Instance methods inherited from module Quartz::Schedulable

imaginary_phase : Duration imaginary_phase, imaginary_phase=(imaginary_phase : Duration) imaginary_phase=, imaginary_precision : Scale imaginary_precision, imaginary_precision=(imaginary_precision : Scale) imaginary_precision=, inspect(io) inspect, planned_phase : Duration planned_phase, planned_phase=(planned_phase : Duration) planned_phase=, planned_precision : Scale planned_precision, planned_precision=(planned_precision : Scale) planned_precision=

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, simulation) #

[View source]

Instance Method Detail

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

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

[View source]
def perform_transitions(time : TimePoint, elapsed : Duration) : Duration #

[View source]
def transition_stats #

[View source]