I have class OperatorChain which has two (extendable)
inner ports:
- OutputPortExtender
- InputPortExtender
(see the figure below)
#######################
# #
##-------Line 1------##
# #
##-------Line 2------##
# #
# ... #
# #
#######################
Is it possible to execute process in a "line by line" manner (i.e. port by port)?Currently I call:
getSubprocess(0).execute();
I would like to save processing time and execute next "lines" only if the previous lines go well (something like AdaBoost).
The only possible way I know is to terminate the execution by throwing an exception in the inner operator. I am afraid that capturing exceptions can be much slower.
Thanks for any help.
radone