Difference between revisions of "XCSG:TernaryConditionalOperator"

From AtlasWiki
Jump to: navigation, search
Line 7: Line 7:
 
| extends = Edge
 
| extends = Edge
 
| description = Connects a [[TernaryCondition]] to the corresponding [[ConditionalSelection]] operator.
 
| description = Connects a [[TernaryCondition]] to the corresponding [[ConditionalSelection]] operator.
| connects = TernaryCondition,TernarySelection,1,1
+
| connects = TernaryCondition,ConditionalSelection,1,1
 
}}
 
}}

Revision as of 18:49, 5 May 2014

The ternary conditional operator selects between two possible values based on a condition.

In an XCSG graph, the operator is represented as two separate entities: the TernaryCondition (a DataFlowCondition) and the TernarySelection (an InfixOperator). These two nodes are connected by the ConditionalOperator edge.

Specification

Metaclass TernaryConditionalOperator
Extends Edge
Description Connects a TernaryCondition to the corresponding ConditionalSelection operator.
Specified Connections
Predecessor Multiplicity Successor
TernaryCondition 1 ➞ 1 ConditionalSelection