Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
categorical_map_junction [2011/07/24 20:45]
hermann created
categorical_map_junction [2026/08/28 03:14] (current)
hermann Sync from local documentation review
Line 3: Line 3:
 ===== Description ===== ===== Description =====
  
-This functor chooses one of two possible ​categorical ​maps produced ​from different ​execution pipelines.+Picks the first available ​categorical ​map from two possible ​execution pipelines, so a categorical map still reaches the rest of the model even when one of the pipelines that could produce it does not run.
  
 ===== Inputs ===== ===== Inputs =====
  
-^ Name            ^ Type                                      ^ Description ​                                                    ​+^ Name  ^ Type  ^ Description ​ 
-| Possible Map 1 | [[Categorical Map Type | Categorical Map]] | Map of classes or categories output from an execution pipeline. | +| Possible Map 1  | [[Categorical Map Type]] ​ | Map produced by one possible ​execution pipeline. ​ 
-| Possible Map 2 | [[Categorical Map Type | Categorical Map]] | Map of classes or categories output from an execution pipeline. |+| Possible Map 2  | [[Categorical Map Type]] ​ | Map produced by another possible ​execution pipeline. ​ | 
 + 
 +===== Optional Inputs ===== 
 + 
 +None.
  
 ===== Outputs ===== ===== Outputs =====
  
-^ Name ^ Type                                       ​^ Description ​                 +^ Name  ^ Type  ^ Description ​ 
-| Map  | [[Categorical Map Type | Categorical Map]] | Map of classes or categories ​|+| Map  | [[Categorical Map Type]] ​ | Map picked.  ​|
  
 ===== Group ===== ===== Group =====
  
-Map Algebra+[[Functor List#​Control | Control]]
  
 ===== Notes ===== ===== Notes =====
  
-First, this functor verifies whether there is a valid input in Possible Map 1; if notit chooses ​Possible Map 2 as input. ​It is a convenient way to provide an alternate categorical map in case an execution ​pipeline does not return a valid data. If possibleMap2 ​is not set, the functor ​will return a void output.+The inputs are checked ​in order — Possible Map 1, then Possible Map 2 — and the first one that has a map is passed to the output. If neither ​input has a map, the output is left without one, which allows chaining several junctions together to combine more than two possible pipelines. 
 + 
 +This functor ​is typically placed after container whose execution ​is conditional,​ such as [[If Then]] or [[Skip On Error]], so a default map is still available when that container'​s content does not run or does not finish. 
 + 
 +This functor ​was previously known as "​JoinCategoricalMap"​.
  
 ===== Internal Name ===== ===== Internal Name =====