scalation

event

package event

The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. event
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class CausalLink(_name: String, director: Model, condition: () ⇒ Boolean, causedEvent: Event) extends Identifiable with Product with Serializable

    The CausalLink class provides casual links between events.

    The CausalLink class provides casual links between events. A causal link indicates that a "causing event" (from node) conditionally may triggers a "caused event" (to node).

    _name

    the name of the causal link

    director

    the controller/scheduler that this causal link is a part of

    condition

    the condition under which the link is triggered

    causedEvent

    the event caused by this causal link

  2. case class Entity(iArrivalT: Double, serviceT: Double, director: Model) extends Product with Serializable

    The Entity class represents a single simulation entity for event-scheduling simulation.

    The Entity class represents a single simulation entity for event-scheduling simulation.

    iArrivalT

    the time from the last arrival

    serviceT

    the amount of time required for the entity's next service

    director

    the controller/scheduler that this event is a part of

  3. abstract class Event extends Identifiable with Ordered[Event]

    The Event class provides facilities for defining simulation events.

    The Event class provides facilities for defining simulation events. Subclasses of Event provide event-logic in their implementation of the 'occur' method. Note: unique identification is mixed in via the Identifiable trait.

  4. class EventNode extends Event

    The EventNode class provides facilities for representing simulation events graphically.

    The EventNode class provides facilities for representing simulation events graphically. It extends the Event class with animation capabilities. Note: unique identification is mixed in via the Identifiable trait in the Event superclass.

  5. class Model extends Modelable with Identifiable

    The Model class schedules events and implements the time advance mechanism for simulation model following the event-scheduling world view.

  6. case class WaitQueue(director: Model, ext: String = "", cap: Int = Int.MaxValue) extends Queue[Entity] with Product with Serializable

    The WaitQueue class is used to hold entities waiting for service and collect statistics on waiting times.

    The WaitQueue class is used to hold entities waiting for service and collect statistics on waiting times. When the queue is full, entities are 'barred' from entering the queue.

    director

    the controller/scheduler that this event is a part of

    ext

    the extension to distinguish the wait queues

    cap

    the capacity of the queue (defaults to unbounded)

Value Members

  1. object Entity extends Serializable

    The Entity companion object provides a counter for generating entity ids.

  2. object EventNode

    The EventNode companion object provides a method for making a prototype entity.

    The EventNode companion object provides a method for making a prototype entity. A prototype event or entity is thought to exist before the simulation starts.

  3. object ModelTest extends App

    The ModelTest object is used to test the Model class.

Inherited from AnyRef

Inherited from Any

Ungrouped