Model
The Model
class schedules events and implements the time advance mechanism for simulation model following the event-scheduling world view.
Value parameters
- animating
-
whether to animate the model (only for Event Graphs)
- name
-
the name of the model
- reps
-
the number of independent replications to run (to be implemented)
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class BankModelclass BankModel2class BankModel3class CallCenterModelclass CallCenterModel2class FastFoodModelclass MachineModelclass PoissonModelclass PoissonModel2class SOMEModelShow all
Members list
Value members
Concrete methods
Add statistical collector to the model.
Add statistical collector to the model.
Value parameters
- stat
-
one or more statistical collectors
Attributes
Put a node/token command on the animation queue.
Put a node/token command on the animation queue.
Value parameters
- at
-
the location of the node/token
- color
-
the color the node/token
- shape
-
the shape of the node/token
- what
-
what animation command
- who
-
who is being animated
Attributes
Put a edge command on the animation queue.
Put a edge command on the animation queue.
Value parameters
- at
-
the location of the edge (empty array => implicitly determined)
- color
-
the color the edge
- from
-
the location of the origination node
- shape
-
the shape of the edge
- to
-
the location of the destination node
- what
-
what animation command
- who
-
who is being animated
Attributes
Cancel the specified 'event' so it will not occur.
Cancel the specified 'event' so it will not occur.
Value parameters
- event
-
the event to cancel
Attributes
Return the statistical results of the simulation (statistics for each part).
Return the statistical results of the simulation (statistics for each part).
Attributes
Leave the model recording the entity's time in the sYstem.
Leave the model recording the entity's time in the sYstem.
Value parameters
- entity
-
the entity leaving the model
Attributes
Report values of the specified model result/output variables.
Report values of the specified model result/output variables.
Value parameters
- vars
-
the result/output variables for the simulation
Attributes
Report statistical results of the simulation for all the collectors.
Report statistical results of the simulation for all the collectors.
Attributes
Place an event on the Future Event List 'FEL' for later execution, thus scheduling the event to occur sometime in the future. Events are ordered by their event/act time.
Place an event on the Future Event List 'FEL' for later execution, thus scheduling the event to occur sometime in the future. Events are ordered by their event/act time.
Value parameters
- event
-
the event to schedule
Attributes
Run the simulation by iteratively processing events in time order. Requires at least one to already be scheduled (see next method).
Run the simulation by iteratively processing events in time order. Requires at least one to already be scheduled (see next method).
Value parameters
- startTime
-
the time at which the simulation is to begin
Attributes
Inherited methods
Return the current value of the director's clock.
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.
Set the name.
Get the type of the simulation object.
Inherited fields
The clock that keep track of the current simulation time
The globally unique integer identifier
Simulation execution/termination flag