Chapter 12:
(Management of SETS
in SIMSCRIPT)
12-1: Definition of Sets in SIMSCRIPT
Question: What is set and how sets are
defined in SIMSCRIPT? (’97,’01)
Answer: Sets in SIMSCRIPT language provide a higher level of
structuring of entities and their attributes. Sets are organized collections of
entities. Set elements can identified and manipulated separately. The
organization of entities in sets may be dynamic and changeable.
Sets
can be defined with subscripts. Without a subscript, the set is declared as
belonging to the system, using the statement
THE SYSTEM OWNS A set
A
single-subscripted set definition associates one set with every member of some
entity. The association is made in the EVERY statement defining the attributes
of the entity type, in the following manner:
EVERY entity OWNS A set AND HAS AN
attribute
For sets having the more than one subscript, a compound
entity is defined, naming the set and the two or more permanent entities on
which it is based. For example,
EVERY HUSBAND AND WIFE OWNS A FAMILY
Short Notes
Question: Short Note on:
1.
Simulation runtime;
2.
Earlang distribution;
3.
Grade of service;
4.
Chi-square test.
Answer:
No comments:
Post a Comment