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 Serializabletrait Producttrait Equalstrait Identifiableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Convert the entity to a string
Convert the entity to a string
Attributes
- Definition Classes
-
Any
Inherited methods
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
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the full identity.
Get the name.
Set the name.
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
Get the type of the simulation object.
Inherited fields
The globally unique integer identifier