|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobios.dist.SequenceFragmentMetric
public abstract class SequenceFragmentMetric
Computes the distance between two Fragment
s.
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 Fragment s |
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 Metric
one
- the first IndexObject
to compute distance ontwo
- the second IndexObject
to compute distance on
public abstract double getDistance(Fragment one, Fragment two)
Fragment
s
one
- the first Fragment
to compute distance ontwo
- the second Fragment
to compute distance on
Fragment
s
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |