Skip to content

Commit 1989410

Browse files
committed
Clean up Op definition bullet list
1 parent 3094161 commit 1989410

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎scijava/scijava-ops-api/src/main/java/org/scijava/ops/api/package-info.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* An Op is an algorithm adhering to the following traits:
1818
* <ol>
1919
* <li>Ops are stateless and deterministic - with no internal state, calling an Op two times on the same inputs will produce the same output.</li>
20-
* <li>Ops are limited to one output - by limiting Ops to one output, we ensure that the algorithms we write are reusable building blocks. Of course, algorithms always need inputs, and there are no limitations on the number of inputs.</li>
21-
* <li>Ops have at least one name - this name conveys an Op's purpose</li>
20+
* <li>Ops are named - this name conveys an Op's purpose, and allows us to find all Ops implementing a particular operation</li>
2221
* </ol>
2322
* Using the name and the combination of input and output parameters, we can retrieve, or "match", any Op from within an {@link org.scijava.ops.api.OpEnvironment}. Op calls with the same name and specified inputs/outputs will be reproducible within a particular Op environment.
2423
*

0 commit comments

Comments
 (0)