X
- The value that can be compared by this class.Y
- An intuitive format for the derivatives of all parameters of this
comparator.public interface SparseDerivableComparator<X extends Value,Y> extends DerivableComparator<X,Y>
Modifier and Type | Method and Description |
---|---|
SparseLocalDerivative |
calculateSparseLocalDerivative(X a,
X b,
OperationType type)
This method shall return a sparse representation of the derivative for
all parameters that have non-zero derivatives in this step of the
alignment.
|
calculateLocalDerivative, getNumberOfParameters, getResultClass, transformToResult
SparseLocalDerivative calculateSparseLocalDerivative(X a, X b, OperationType type)
a
- the value that has been compared with b.b
- the value that has been compared with a.type
- the operation type that has actually been used in the
comparison.Copyright © 2014. All rights reserved.