scalades

package scalades

Type members

Classlikes

abstract class Generator(val output: Signal, val dest: Process)(using ctx: Simulation) extends Process

A process that repeats sending output to dest at each nextDuration.

A process that repeats sending output to dest at each nextDuration.

open class Logger(val logFile: String, var isDebug: Boolean, enc: String)

Write text to a log file and to the console.

Write text to a log file and to the console.

abstract class Process(using ctx: Simulation)

A process that can receive and send signals from/to other processes.

A process that can receive and send signals from/to other processes.

Value Params
ctx

the simulation context that handles signal event logic.

object RNG

A thread-safe Random Number Generator (RNG).

A thread-safe Random Number Generator (RNG).

object Simulation
Companion
class
open class Simulation

A driver of simulations with an event queue and signal event logic.

A driver of simulations with an event queue and signal event logic.

Companion
object
abstract class StateMachine(using ctx: Simulation) extends Process

A process with a state that is updated when receiving signals.

A process with a state that is updated when receiving signals.

object Time

Types

final type Signal >: Signal <: Signal