Skip to main content

Loop and Deliver Best

Synopsis

This operator iterates over its subprocess the specified number of times and delivers the results of the iteration that has the best performance.

Description

The Loop and Deliver Best operator is a nested operator i.e. it has a subprocess. The subprocess of the Loop and Deliver Best operator executes n number of times, where n is the value of the iterations parameter specified by the user. The subprocess of this operator must always return a performance vector. The best performance vector from these performance vectors is returned as result of this operator. For more information regarding subprocesses please study the <reference key="operator.subprocess">Subprocess</reference> operator.

Differentiation

Loop and Average

This operator iterates over its subprocess the specified number of times and delivers the average of the inner results.

Input

in

This operator can have multiple inputs. When one input is connected, another in port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The Object supplied at the first in port of this operator is available at the first in port of the nested chain (inside the subprocess). Do not forget to connect all inputs in correct order. Make sure that you have connected the right number of ports at the subprocess level.

Output

performance

The best performance vector of all the performance vectors is returned from this port.

out

This operator can have multiple out output ports. When one output is connected, another out output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The object delivered at the first out port of the subprocess is delivered at the first out port of the outer process. Don't forget to connect all outputs in correct order. Make sure that you have connected the right number of ports at all levels of the chain.

Parameters

Iterations

This parameter specifies the number of iterations of the subprocess of this operator.

Enable timeout

This parameter specifies if the processing should be aborted after the time specified in the timeout parameter. Please note that the processing is aborted after completion of the running iteration.

Timeout

The timeout (in minutes) is specified through this parameter.

Loop and Average