public class TaxonomicDistance extends java.lang.Object implements Distance<Concept>
| Constructor and Description |
|---|
TaxonomicDistance(Taxonomy taxonomy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
d(Concept x,
Concept y)
Compute the distance between two concepts in a taxonomy.
|
double |
d(java.lang.String x,
java.lang.String y)
Compute the distance between two concepts in a taxonomy.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, applyAsDouble, D, Dpublic TaxonomicDistance(Taxonomy taxonomy)
taxonomy - the taxonomy that this distance is associated with.