Template:— resource_property_probability_numeric (res_prp_prob_num) |
Date: 2008/03/07 09:36:31 Revision: 1.4
|
This section specifies the template resource_property_probability_numeric.
NOTE
An explanation of a template and the associated instantiation path is
provided in the
Template overview
section.
This template describes how to represent a numerical probability for a resource property.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"resource_property_probability_numeric".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for resource_property_probability_numeric
The graphic for the template to be used in other EXPRESS-G diagrams
is shown in Figure
2
below.
Figure 2 — The graphical representation of the resource_property_probability_numeric template
The following input parameters are defined for this template:
The value of the property. The datatype is always 'any_number_value'
and should not be registered together with the value, i.e. enter the
value as a number, without datatype.
The class name of the probability in which the probability value is expressed.
The following classes and their sub-classes can be used:
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @class_name.
The name of the class being used to classify the representation
context
(
Representation_context)
of the property.
The following classes and their sub-classes can be used:
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @context.
The following reference parameters are defined for this template:
Allow the
Probability_numeric
entity instantiated in this path to be referenced when this template is used.
%^target = $resource_property_probability_numeric.prob_num%
%^target = $resource_property_probability_numeric.prop_repr%
The instantiation path shown below specifies the entities that are to be
instantiated by the template.
A description of templates and the syntax for the instantiation path is
provided in the
Templates Help/Information section.
The following entities are instantiated with attributes as specified:
The instance diagram in Figure
3
shows an example of the EXPRESS entities and templates that are instantiated by the template:
/resource_property_probability_numeric(value='0.15', property='#1', class_name='Normalized_numeric_probability', class_ecl_id='urn:plcs:rdl:sample', context='Probability_numeric', context_ecl_id='urn:plcs:rdl:sample')/
(an illustration of the consolidated resource_property_probability_numeric template is shown in
Figure
4 below.)
Figure 3 — Entities instantiated by resource_property_probability_numeric template
The instance model in STEP ASCII exchange file format (ISO 10303 Part
21 syntax) is:
#1 = RESOURCE_PROPERTY('/IGNORE','/IGNORE',$);
#2 = RESOURCE_PROPERTY_REPRESENTATION('/IGNORE',#1,#4,'/IGNORE');
#4 = PROBABILITY_NUMERIC('/IGNORE','/IGNORE','/IGNORE',#9,(#14));
#6 = CLASSIFICATION_ASSIGNMENT(#7,(#4),'/IGNORE');
#7 = EXTERNAL_CLASS('/NULL','Normalized_numeric_probability','/IGNORE',#8);
#8 = EXTERNAL_CLASS_LIBRARY('urn:plcs:rdl:sample','/IGNORE');
#9 = REPRESENTATION_CONTEXT('/IGNORE','/IGNORE');
#11 = CLASSIFICATION_ASSIGNMENT(#12,(#9),'/IGNORE');
#12 = EXTERNAL_CLASS('/NULL','Probability_numeric','/IGNORE',#8);
#14 = PROBABILITY_NUMERIC_VALUE('/IGNORE',ANY_NUMBER_VALUE(0.15));
The instance diagram in
Figure
4
shows the graphic symbol for the template that is to be
used in other instance diagrams. The example template is:
/resource_property_probability_numeric(value='0.15', property='#1', class_name='Normalized_numeric_probability', class_ecl_id='urn:plcs:rdl:sample', context='Probability_numeric', context_ecl_id='urn:plcs:rdl:sample')/
Figure 4 — Instantiation of resource_property_probability_numeric template
Characterizations
No common characterizations of the template
resource_property_probability_numeric
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.