Within the G2 system-defined class hierarchy, variable and parameter are subclasses of the
VARIABLE-OR-PARAMETER class of objects. The VARIABLE and PARAMETER classes are reserved, abstract classes, as is the G2-VARIABLE class from which each of the variable type classes stem. The variable and parameter type classes are:
You can create subclasses from any of those classes.
The
sensor class has been replaced by the g2-variable subclasses. While G2 supports sensors for use in existing KBs, we recommend that the sensor class not be used in new KB development.
Note: While G2 permits the use of parameters and variables of the non-specific type quantitative, for efficiency, we recommend that you use an item of specific data type, integer or float, whenever possible.
Variables and parameters have these class-specific attributes:
The G2 Simulator is a superseded capability. For more information, see Appendix F, Superseded Practices.
Common Attributes
The common attributes of variables and parameters are:
Variable-Specific Attributes
The class-specific attributes of variables are: