- java.lang.Object
-
- org.scijava.ops.engine.matcher.reduce.ReducedOpInfo
-
- All Implemented Interfaces:
Comparable<OpInfo>,OpInfo
public class ReducedOpInfo extends Object implements OpInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringIMPL_DECLARATIONprotected static StringORIGINAL_INFOprotected static StringPARAMS_REDUCED
-
Constructor Summary
Constructors Constructor Description ReducedOpInfo(OpInfo src, Type reducedOpType, int paramsReduced)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructInstance<?>createOpInstance(List<?> dependencies)HintsdeclaredHints()Stringdescription()AnnotatedElementgetAnnotationBearer()Stringid()For a reduced Op, we define the implementation as the concatenation of: The number of reduced parameters The id of the source OpStringimplementationName()List<String>names()TypeopType()intparamsReduced()doublepriority()OpInfosrcInfo()Structstruct()StringtoString()Stringversion()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.ops.api.OpInfo
compareTo, inputs, inputTypes, output, outputs, outputType
-
-
-
-
Field Detail
-
IMPL_DECLARATION
protected static final String IMPL_DECLARATION
- See Also:
- Constant Field Values
-
PARAMS_REDUCED
protected static final String PARAMS_REDUCED
- See Also:
- Constant Field Values
-
ORIGINAL_INFO
protected static final String ORIGINAL_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
declaredHints
public Hints declaredHints()
- Specified by:
declaredHintsin interfaceOpInfo
-
description
public String description()
- Specified by:
descriptionin interfaceOpInfo
-
implementationName
public String implementationName()
- Specified by:
implementationNamein interfaceOpInfo
-
createOpInstance
public StructInstance<?> createOpInstance(List<?> dependencies)
- Specified by:
createOpInstancein interfaceOpInfo
-
getAnnotationBearer
public AnnotatedElement getAnnotationBearer()
- Specified by:
getAnnotationBearerin interfaceOpInfo
-
id
public String id()
For a reduced Op, we define the implementation as the concatenation of:- The number of reduced parameters
- The id of the source Op
-
srcInfo
public OpInfo srcInfo()
-
paramsReduced
public int paramsReduced()
-
-