XCSG:TernaryConditionalOperator

From AtlasWiki
Revision as of 18:37, 5 May 2014 by TheodoreMurdock (Talk | contribs) (TheodoreMurdock moved page Conditional Operator to ConditionalOperator without leaving a redirect)

Jump to: navigation, search

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.

Specification

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