Mobios v0.91

mobios.dist
Interface WeightMatrix

All Superinterfaces:
Serializable
All Known Implementing Classes:
SymmetricSubstitutionWeightMatrix

public interface WeightMatrix
extends Serializable

A WeightMatrix is the substitution matrix of an Alphabetof Symbol objects. It defines the distance between each pair of Symbols of the Alphabet. Using a WeightMatrix, a weighted edit distance metric can be defined onSequence or Fragment objects.

Version:
2004.03.02
Author:
Jack, Rui Mao, Weijia Xu, Willard

Method Summary
 Alphabet getAlphabet()
           
 double getDistance(Symbol one, Symbol two)
           
 

Method Detail

getAlphabet

Alphabet getAlphabet()
Returns:
the Alphabet over which this matrix is defined.

getDistance

double getDistance(Symbol one,
                   Symbol two)
Returns:
the distance between two Symbol objects in the Alphabet over which this matrix is defined.

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group