| SPP Tool Chain | ![]() |
| 2.3 Conditional Classifier |
SPML supports explicit representation of the decision logic implemented in the signal classifier. This can then be used to automatically synthesize the classifier code.
The modeling elements that are used in representing a dataflow graph are described below. The description consists of a name of the modeling element, the stereotype of the modeling element which indicates the concrete syntactic realization of the element in GME (i.e. Folder, Model, Atom, Connection, Set, etc.), an explanation of the role and purpose of modeling element, and a description of the attributes of the modeling element. For additional details on understanding the concrete syntactic constructs of GME, please refer to the GME documentation.
|
Stereotype: |
Model |
||||||
|
Description: |
Classifier model represents a conditional
classifier component. It is derived from a Primitive since a classifier is a
primitive signal processing component, with the difference that its
implementation is modeled with decision logic. The modeling of Classifier component is composed of
the following four
aspects: |
||||||
|
Attribute: |
|
|
Icon: |
|
||||||
|
Stereotype: |
Atom |
||||||
|
Description: |
Condition atoms are used to define the decision logic. The 'Expression' attribute of the Condition object captures a relational expression over the values of a feature which is input to the classifier thru its InputPorts. All the features that are used in an expression are referred to by the InputPort name, and this dependency of the condition on features is also explicitly represented with the PCConn connection. The outcome of the condition is a Boolean value. |
||||||
|
Attribute: |
|
|
Icon: |
|
||||||||||||||||||
|
Stereotype: |
Atom |
||||||||||||||||||
|
Description: |
Classification atoms are used to define the decision logic. The 'Expression' attribute of the Classification object captures a Boolean formula over the conditions. This expression refers to Conditions with names, however explicit dependencies are captured by the CDConn connection. Multiple Classification objects capture the classification logic for different signal types. Often in the classification logic redundant or mutually dependent conditions are defined to simplify the decision logic. This information is useful in simplifying the decision logic when synthesizing the conditional classifier. |
||||||||||||||||||
|
Attribute: |
|
3. CondRelation
|
Stereotype: |
Connection |
||||||
|
Description: |
CondRelation is an association to define the explicit dependencies between Condition objects. |
||||||
|
Attribute: |
|
4. CDConn
|
Stereotype: |
Connection |
|
Description: |
CDConn is an association to define the explicit dependencies between Condition object and Classification object. |
5. PCConn
|
Stereotype: |
Connection |
|
Description: |
PCConn is an association to define the explicit dependencies between Condition object and InputPort. It represents that all features used in an expression of the Condition object are referred to by the InputPort name.. |
The metamodel of the above elements in the dataflow graph is shown as below:

Next Up: 2.4 Datatypes