class |
Mediators
this is the default (super)class of the three mediators
o seq: sequence or concatenation,
o par: parallelism or concurrency,
o fix: fixpoint or unrestricted iteration,
providing some default behavior;
I originaly thought that this functionality (without the trival default
sequence mediator) had to be part of the module interface;
however, a module should usually NOT know what a fixpoint is (in case of
module iteration);
moreover, when moving the mediators into the module interface, an asymmetry
for the parallelism pattern will occur;
NOTE: the mediators do NOT set the input NOR the output of their module
parameters!!
note that in case we want to have specific mediators for certain modules/
module combinations, we can easily achieve this by providing additional
instance methods with different signatures in subclasses of Mediators |