| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistanceMatrix
| Method Summary | |
|---|---|
|  double | getDistance(int row,
            int column)Gets the distance at a particular row and column | 
|  double | getDistance(Taxon taxonRow,
            Taxon taxonColumn)Gets the distance between 2 taxa | 
|  double[][] | getDistances()Gets a 2-dimensional array containing the distances | 
|  int | getSize()Gets the size of the matrix (which is square), i.e., number of rows or columns. | 
|  DistanceMatrix | getSubmatrix(Collection<Taxon> taxa)Gets a sub-matrix for only those taxa in the collection (all of which should be present in this matrix). | 
|  List<Taxon> | getTaxa() | 
| Method Detail | 
|---|
int getSize()
List<Taxon> getTaxa()
double getDistance(int row,
                   int column)
row - the row indexcolumn - the column index
double getDistance(Taxon taxonRow,
                   Taxon taxonColumn)
taxonRow - taxonColumn - 
DistanceMatrix getSubmatrix(Collection<Taxon> taxa)
taxa - 
double[][] getDistances()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||