|
Mobios v0.91 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmobios.dist.SequenceFragmentMetric
public abstract class SequenceFragmentMetric
Computes the distance between two Fragments.
| Constructor Summary | |
|---|---|
SequenceFragmentMetric(WeightMatrix weightMatrix)
Creates a new SequenceFragmentMetric over the given WeightMatrix. |
|
| Method Summary | |
|---|---|
abstract double |
getDistance(Fragment one,
Fragment two)
Computes the distance between two Fragments |
double |
getDistance(IndexObject one,
IndexObject two)
Computes the distance between two objects. |
WeightMatrix |
getWeightMatrix()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceFragmentMetric(WeightMatrix weightMatrix)
WeightMatrix.
weightMatrix - | Method Detail |
|---|
public WeightMatrix getWeightMatrix()
WeightMatrix used when computing the distance between two fragments using
this metric.
public double getDistance(IndexObject one,
IndexObject two)
Metric
getDistance in interface Metricone - the first IndexObject to compute distance ontwo - the second IndexObject to compute distance on
public abstract double getDistance(Fragment one,
Fragment two)
Fragments
one - the first Fragment to compute distance ontwo - the second Fragment to compute distance on
Fragments
|
Mobios v0.91 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||