Difference between revisions of "XCSG:TernaryConditionalOperator"

From AtlasWiki
Jump to: navigation, search
m (TheodoreMurdock moved page Conditional Operator to ConditionalOperator without leaving a redirect)
Line 1: Line 1:
 
The ternary conditional operator selects between two possible values based on a condition.
 
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 [[Condition]]) and the [[TernarySelection]] (an [[InfixOperator]]). These two nodes are connected by the ConditionalOperator edge.
+
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 ==
 
== Specification ==

Revision as of 18:38, 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 TernarySelection operator.
Specified Connections
Predecessor Multiplicity Successor
TernaryCondition 1 ➞ 1 TernarySelection