Interface SequenceDistance.DistanceResult<T>
-
- Type Parameters:
T-
- Enclosing interface:
- SequenceDistance<T>
public static interface SequenceDistance.DistanceResult<T>Holds the result of a sequence distance computation.- Author:
- F. Mannhardt
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSequenceDistance.DistanceResult.Entry<T>A single step in the alignment of A and B.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<SequenceDistance.DistanceResult.Entry<T>>getAlignment()Optional alignment of the two sequences.intgetDistance()
-
-
-
Method Detail
-
getAlignment
java.util.List<SequenceDistance.DistanceResult.Entry<T>> getAlignment()
Optional alignment of the two sequences. This may benull.- Returns:
- a list of
SequenceDistance.DistanceResult.Entrythat represents the "alignment" of A and B according to the distance function
-
getDistance
int getDistance()
- Returns:
- the distance between A and B
-
-