Information Technology Reference
In-Depth Information
involved in the function, then the shorter
file sets ordered by their index will be
repeated cyclically. Cross product operates on
file sets, and dot product operates on
the produced paired or multiply paired sets of
files. Therefore setting ports in cross
product relation has greater precedence than setting them in dot product.
In technical terms in gUSE, a cross product relation of two ports is de
ned by
setting their CrossDot PID to the same number. This method identi
es those ports
(or sets of ports) on which the dot product method should be applied, since they
have different CrossDot PID set.
The following example illustrates a complex parameter
field generation.
(a 1 ,b 1 )
(a 2 ,b 1 )
(a 3 ,b 1 )
(a 1 ,b 2 )
(a 2 ,b 2 )
(a 3 ,b 2 )
Assuming four ports, P 1 ={a 1 ,a 2 ,a 3 }; P 2 ={b 1 ,b 2 };P 3 ={c 1 ,c 2 ,c 3 }; P 4 ={d 1 } ,
connected as follows: (P 1 xP 2 )(P 3 xP 4 ) . This connection can be made in gUSE by
setting CrossDot PID for P 1 and P 2 to 1, and for P 3 and P 4 to 2. Due to the greater
precedence of the Cartesian product, those methods are applied, and P 1 xP 2 pro-
duces the following pairs:
P 3 xP 4 produces these: (c 1 ,d 1 ); (c 2 ,d 1 ); (c 3 ,d 1 ) . Then the dot product is per-
formed, resulting the
final parameter
fields as follows:
(a 1 ,b 1 ,c 1 ,d 1 )
(a 2 ,b 1 ,c 2 ,d 1 )
(a 3 ,b 1 ,c 3 ,d 1 )
(a 1 ,b 2 ,c 1 ,d 1 )
(a 2 ,b 2 ,c 2 ,d 1 )
(a 3 ,b 2 ,c 2 ,d 1 )
3.6.4 Port-Dependent Conditions
Last but not least, we must mention an interesting feature of input ports, called port-
dependent conditions. Such conditions enable or block the submission of a job
instance, depending on the value of the incoming data in comparison to a prede-
file uploaded to the portal server.
Moreover, the users can specify the relation that should be performed as compar-
ison function; they can select
fined value added as text or as a content of a
.
For example, let us assume a job having one input port only in connection with a
generator port on which 3 outputs come containing 1, 2, and 3 respectively. Now if
the port condition is set to compare the incoming data with value
equal
,
not equal
,or
contains
1
and the
relation is set to
equal
, then the one job instance will be executed with the input
1
. If the relation is set to
not equal
, then two instances will be submitted with
2
and
3
.
Search WWH ::




Custom Search