Merge branch 'develop' into features/JAL-2393customMatrices
[jalview.git] / src / jalview / api / analysis / DistanceScoreModelI.java
1 package jalview.api.analysis;
2
3 import jalview.datamodel.AlignmentView;
4 import jalview.math.MatrixI;
5
6 /**
7  * A sequence distance score models, that provides a method to compute distances
8  * between pairs of sequences. The options parameter provides configuration
9  * choices for how the similarity score is calculated.
10  * 
11  * @author gmcarstairs
12  *
13  */
14 public interface DistanceScoreModelI extends ScoreModelI
15 {
16   /**
17    * Returns a distance score for the given sequence regions, that is, a matrix
18    * whose value [i][j] is the distance of sequence i from sequence j by some
19    * measure
20    * 
21    * @param seqData
22    * @param options
23    * @return
24    */
25   MatrixI findDistances(AlignmentView seqData, SimilarityParamsI options);
26 }