Class AbstractSequenceDistance<T>