|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.math.DistanceFactory
public class DistanceFactory
Get a distance function by name.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
|
Constructor Summary | |
---|---|
DistanceFactory()
|
Method Summary | |
---|---|
static cern.colt.function.VectorVectorFunction |
getDistance(java.lang.String name)
Get a distance function by name. |
static cern.colt.function.VectorVectorFunction |
getDistance(java.lang.String name,
boolean ignoreNaN)
Get a distance function by name with flag whether to ignore NaN. |
static cern.colt.function.ThresholdVectorVectorFunction |
getThresholdDistance(java.lang.String name)
Get a thresholded distance function by name. |
static cern.colt.function.ThresholdVectorVectorFunction |
getThresholdDistance(java.lang.String name,
boolean ignoreNaN)
Get a thresholded distance function by name with flag whether to ignore NaN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger log
Constructor Detail |
---|
public DistanceFactory()
Method Detail |
---|
public static cern.colt.function.VectorVectorFunction getDistance(java.lang.String name)
name
- name of the distance function.public static cern.colt.function.VectorVectorFunction getDistance(java.lang.String name, boolean ignoreNaN)
name
- name of the distance function.ignoreNaN
- whether to ignore missing values.public static cern.colt.function.ThresholdVectorVectorFunction getThresholdDistance(java.lang.String name)
name
- name of the distance function.public static cern.colt.function.ThresholdVectorVectorFunction getThresholdDistance(java.lang.String name, boolean ignoreNaN)
name
- name of the distance function.ignoreNaN
- whether to ignore missing values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |