Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When creating an oplet, the getInputs() method needs to be overridden to provide the consumers which process the data. Thus, an implementation of getInputs() determines the number of input ports.
At the same time, DirectGraph.insert(oplet, inputs, output) requires that the user specify the number of input ports. Why does this have to be done in two places?