Class SMListDPImpl
java.lang.Object
de.uni_trier.wi2.procake.similarity.impl.SimilarityMeasureImpl
de.uni_trier.wi2.procake.similarity.base.collection.impl.SMListDPImpl
- All Implemented Interfaces:
SMListDP
,SimilarityMeasure
- Direct Known Subclasses:
SMListDTWImpl
,SMListSWAImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Name of the data similarity measure to be used for comparing data nodes.protected boolean
Whether the alignments shall end with the query.protected double
Percentage of the query length as position, where temporal factor shall equal one half.protected String
Name of the task similarity measure to be used.protected boolean
Whether or not to return the normalized score.Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
LOG_ORDER_NAME_NOT_FOUND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return property of similarity measure to find an alignment that ends with the query or not.double
void
setDataSimilarityToUse
(String name) Set the data similarity to be used during local node similarity calculation.void
setForceAlignmentEndsWithQuery
(boolean endWithQuery) Set property of similarity measures to find an alignment that ends with the query.void
setHalvingDistancePercentage
(double halvingDistancePercentage) Set the percentage of the query length, at which the temporal factor shall equal one half.void
Set the task similarity to be used during local node similarity calculation.void
setNormScore
(boolean normScore) Methods inherited from class de.uni_trier.wi2.procake.similarity.impl.SimilarityMeasureImpl
getDataClass, getName, initialize, initializeBasedOn, isAggregate, isForceOverride, isInterval, isNumeric, isObject, isReusable, isSet, isSimilarityFor, isTable, isTaxonomy, isText, setDataClass, setForceOverride, setName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, getSystemName, isForceOverride, isReusable, setForceOverride
-
Field Details
-
forceAlignmentEndsWithQuery
protected boolean forceAlignmentEndsWithQueryWhether the alignments shall end with the query. -
normScore
protected boolean normScoreWhether or not to return the normalized score. -
halvingDistancePercentage
protected double halvingDistancePercentagePercentage of the query length as position, where temporal factor shall equal one half. -
dataSimilarityToUse
Name of the data similarity measure to be used for comparing data nodes. -
localSimilarityToUse
Name of the task similarity measure to be used.
-
-
Constructor Details
-
SMListDPImpl
public SMListDPImpl()
-
-
Method Details
-
getHalvingDistancePercentage
public double getHalvingDistancePercentage()- Specified by:
getHalvingDistancePercentage
in interfaceSMListDP
-
setHalvingDistancePercentage
public void setHalvingDistancePercentage(double halvingDistancePercentage) Description copied from interface:SMListDP
Set the percentage of the query length, at which the temporal factor shall equal one half.- Specified by:
setHalvingDistancePercentage
in interfaceSMListDP
- Parameters:
halvingDistancePercentage
- Distance as percentage between 0 and 1.
-
getDataSimilarityToUse
- Specified by:
getDataSimilarityToUse
in interfaceSMListDP
-
setDataSimilarityToUse
Description copied from interface:SMListDP
Set the data similarity to be used during local node similarity calculation.- Specified by:
setDataSimilarityToUse
in interfaceSMListDP
- Parameters:
name
- Name of the sim measure
-
getLocalSimilarityToUse
- Specified by:
getLocalSimilarityToUse
in interfaceSMListDP
-
setLocalSimilarityToUse
Description copied from interface:SMListDP
Set the task similarity to be used during local node similarity calculation.- Specified by:
setLocalSimilarityToUse
in interfaceSMListDP
- Parameters:
name
- Name of the sim measure
-
setNormScore
public void setNormScore(boolean normScore) - Specified by:
setNormScore
in interfaceSMListDP
-
getForceAlignmentEndsWithQuery
public boolean getForceAlignmentEndsWithQuery()Description copied from interface:SMListDP
Return property of similarity measure to find an alignment that ends with the query or not.- Specified by:
getForceAlignmentEndsWithQuery
in interfaceSMListDP
- Returns:
-
setForceAlignmentEndsWithQuery
public void setForceAlignmentEndsWithQuery(boolean endWithQuery) Description copied from interface:SMListDP
Set property of similarity measures to find an alignment that ends with the query.- Specified by:
setForceAlignmentEndsWithQuery
in interfaceSMListDP
- Parameters:
endWithQuery
- Whether the alignment shall end with the query. Defaults to true.
-