Entity

scalation.simulation.event.Entity
See theEntity companion object
case class Entity(iArrivalT: Double, var serviceT: Double, director: Model) extends Identifiable

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

Value parameters

director

the controller/scheduler that this event is a part of

iArrivalT

the time from the last arrival

serviceT

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Identifiable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Convert the entity to a string

Convert the entity to a string

Attributes

Definition Classes
Any

Inherited methods

override def equals(that: Any): Boolean

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
override def hashCode: Int

Return the hashCode as the unique id.

Return the hashCode as the unique id.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
def me: String

Return the full identity.

Return the full identity.

Attributes

Inherited from:
Identifiable
def name: String

Get the name.

Get the name.

Attributes

Inherited from:
Identifiable
def name_=(name: String): Unit

Set the name.

Set the name.

Value parameters

name

the name to assign

Attributes

Inherited from:
Identifiable
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def simType: String

Get the type of the simulation object.

Get the type of the simulation object.

Attributes

Inherited from:
Identifiable

Concrete fields

val arrivalT: Double

the time at which the entity arrived

the time at which the entity arrived

Attributes

val eid: Int

the entity id

the entity id

Attributes

var startWait: Double

the time at which waiting started

the time at which waiting started

Attributes

Inherited fields

val id: Int

The globally unique integer identifier

The globally unique integer identifier

Attributes

Inherited from:
Identifiable