X
- the class of left-hand values for this comparator.Y
- the class of right-hand values for this comparator.public abstract class ParameterLessSkipExtendedComparator<X,Y> extends SkipExtendedComparator<X,Y>
Constructor and Description |
---|
ParameterLessSkipExtendedComparator() |
Modifier and Type | Method and Description |
---|---|
Gradient |
computeComparisonGradient(X a,
Y b)
Computes the gradient of the comparator function w.r.t.
|
double[] |
getComparisonParameters()
Return the current value of all parameters of this comparator.
|
int |
getNumberOfComparisonParameters()
Implementing classes should return the number of (derivative-relevant) parameters used for
the compare-function.
|
void |
setComparisonParameters(double[] params)
Sets the current value of all parameters of this comparator.
|
actualCompare, compare, computeGradient, equals, getNumberOfParameters, getParameters, hasCoherentReplacementCost, hashCode, setParameters, supports
public Gradient computeComparisonGradient(X a, Y b)
SkipExtendedComparator
computeComparisonGradient
in class SkipExtendedComparator<X,Y>
a
- the left input.b
- the right input.public int getNumberOfComparisonParameters()
SkipExtendedComparator
getNumberOfComparisonParameters
in class SkipExtendedComparator<X,Y>
public double[] getComparisonParameters()
SkipExtendedComparator
getComparisonParameters
in class SkipExtendedComparator<X,Y>
public void setComparisonParameters(double[] params)
SkipExtendedComparator
setComparisonParameters
in class SkipExtendedComparator<X,Y>
params
- the new value of all parameters of this comparator.Copyright (C) 2016 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/