|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.mds.distances.DistanceManagerFactory
public final class DistanceManagerFactory
| Field Summary | |
|---|---|
static String |
COS_DIST
Flag for cosinus distance. |
static String |
EUCLIDEAN_DIST
Flag for euclidean distance. |
static String |
MANHATTAN_DIST
Flag for korrelation distance. |
| Method Summary | |
|---|---|
static DistanceManager |
createDistanceManager(String distance)
Creates a new instance extending the DistanceManager
interface. |
static DistanceManager |
createDistanceManager(String distance,
boolean fuzzy)
Creates a new instance extending the DistanceManager
interface. |
static DistanceManager |
createDistanceManager(String distance,
boolean fuzzy,
boolean ignoreCase)
Creates a new instance extending the DistanceManager
interface. |
static DistanceManager |
createDistanceManager(String distance,
boolean fuzzy,
double offset,
boolean ignoreType)
Creates a new instance extending the DistanceManager
interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EUCLIDEAN_DIST
public static final String COS_DIST
public static final String MANHATTAN_DIST
| Method Detail |
|---|
public static final DistanceManager createDistanceManager(String distance,
boolean fuzzy,
double offset,
boolean ignoreType)
DistanceManager
interface. According to the kind of distance a particular
DistanceManager is returned. If you want to compute i.e.
euclidean distances, then use
DistanceManagerFactory.EUCLIDEAN_DIST as distance parameter
and the EuclideanDistanceManager is returned. If an unvalid
kind of distance is given null will be returned.
The fuzzy parameter specifies if the created DistanceManager
will compute distances between FuzzyIntervalCells or
DataCells containing numbers.
The offset parameter specifies a particular offset used i.e. by the
CosinusDistanceManager.
distance - Specifies the concrete DistanceManager
implementation to be returned.fuzzy - If true the DistanceManager will compute
distances between FuzzyIntervalCells.offset - A particular offset use by i.e. the
CosinusDistanceManagerignoreType - If set true the type
(fuzzy or number) will be ignored. When dealing with fuzzy values the
center of gravity is used, otherwise the numerical value.
DistanceManager, specified by the
distance parameter.public static final DistanceManager createDistanceManager(String distance)
DistanceManager
interface. According to the kind of distance a particular
DistanceManager is returned. If you want to compute for
instance euclidean distances, then use
DistanceManagerFactory.EUCLIDEAN_DIST as distance parameter
and the EuclideanDistanceManager is returned. If an unvalid
kind of distance is given null will be returned.
The returned DistanceManager computes distances between
DataCells containing numbers, not
FuzzyIntervalCells. The offset is set to 1 by default.
The types will not be ignored by default.
distance - Specifies the concrete DistanceManager
implementation to be returned.
DistanceManager, specified by the
distance parameter.
public static final DistanceManager createDistanceManager(String distance,
boolean fuzzy)
DistanceManager
interface. According to the kind of distance a particular
DistanceManager is returned. If you want to compute for
instance euclidean distances, then use
DistanceManagerFactory.EUCLIDEAN_DIST as distance parameter
and the EuclideanDistanceManager is returned. If an unvalid
kind of distance is given null will be returned.
The fuzzy parameter specifies if the created DistanceManager
will compute distances between FuzzyIntervalCells or
DataCells containing numbers.
The offset is set to 1 by default.
distance - Specifies the concrete DistanceManager
implementation to be returned.fuzzy - If true the DistanceManager will compute
distances between FuzzyIntervalCells.
DistanceManager, specified by the
distance parameter.
public static final DistanceManager createDistanceManager(String distance,
boolean fuzzy,
boolean ignoreCase)
DistanceManager
interface. According to the kind of distance a particular
DistanceManager is returned. If you want to compute for
instance euclidean distances, then use
DistanceManagerFactory.EUCLIDEAN_DIST as distance parameter
and the EuclideanDistanceManager is returned. If an unvalid
kind of distance is given null will be returned.
The fuzzy parameter specifies if the created DistanceManager
will compute distances between FuzzyIntervalCells or
DataCells containing numbers.
The offset is set to 1 by default.
distance - Specifies the concrete DistanceManager
implementation to be returned.fuzzy - If true the DistanceManager will compute
distances between FuzzyIntervalCells.ignoreCase - If trueThe type (fuzzy or number)
will be ignored. When dealing with fuzzy values the
center of gravity is used, otherwise the numerical value.
DistanceManager, specified by the
distance parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||