|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.datainspection.impl.DiceMetric
public class DiceMetric
class DiceMetric for distance metrics on SetValues
Value,
SetValue| Constructor Summary | |
|---|---|
DiceMetric()
|
|
| Method Summary | |
|---|---|
double |
distance(Value f,
Value s)
implements distance of interface DistanceMetric using Dice coefficient on two given sets |
int |
nrOfCommonElements(java.util.Set f,
java.util.Set s)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiceMetric()
| Method Detail |
|---|
public double distance(Value f,
Value s)
distance in interface DistanceMetricf - and s must be SetValues not null
public int nrOfCommonElements(java.util.Set f,
java.util.Set s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||