X
- the class of the elements in the left input sequence.Y
- the class of the elements in the right input sequence.public interface DerivableAlignmentDistance<X,Y>
Modifier and Type | Method and Description |
---|---|
double[] |
computeGradient(DerivableComparator<X,Y> comp)
This computes the gradient of this DerivableAlignmentDistance w.r.t.
|
double |
getDistance()
Returns the distance between the two input sequences.
|
List<X> |
getLeft()
Returns the left sequence of this distance.
|
List<Y> |
getRight()
Returns the right sequence of this distance.
|
double[] computeGradient(@NonNull DerivableComparator<X,Y> comp)
comp
- the DerivableComparator that was used in computing this distance.double getDistance()
List<X> getLeft()
Copyright (C) 2016-2018 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/