X
- The class that can be compared using this comparator.public interface GapComparator<X extends Value> extends Comparator<X>
Modifier and Type | Method and Description |
---|---|
double |
delete(X a)
This should be called during an alignment to retrieve the costs for a
deletion of value a from the first sequence.
|
double |
insert(X b)
This should be called during an alignment to retrieve the costs for an
insertion of value b into the first sequence.
|
compare, getType
double delete(X a)
a
- a value.double insert(X b)
b
- a value.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, 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