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
public abstract class SMListDPImpl extends SimilarityMeasureImpl implements SMListDP
-
-
Field Summary
Fields Modifier and Type Field Description protected String
dataSimilarityToUse
Name of the data similarity measure to be used for comparing data nodes.protected boolean
forceAlignmentEndsWithQuery
Whether the alignments shall end with the query.protected double
halvingDistancePercentage
Percentage of the query length as position, where temporal factor shall equal one half.protected String
localSimilarityToUse
Name of the task similarity measure to be used.protected boolean
normScore
Whether or not to return the normalized score.-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
COMPONENT, COMPONENT_KEY, LOG_ORDER_NAME_NOT_FOUND
-
-
Constructor Summary
Constructors Constructor Description SMListDPImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDataSimilarityToUse()
boolean
getForceAlignmentEndsWithQuery()
Return property of similarity measure to find an alignment that ends with the query or not.double
getHalvingDistancePercentage()
String
getLocalSimilarityToUse()
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
setLocalSimilarityToUse(String name)
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 Detail
-
forceAlignmentEndsWithQuery
protected boolean forceAlignmentEndsWithQuery
Whether the alignments shall end with the query.
-
normScore
protected boolean normScore
Whether or not to return the normalized score.
-
halvingDistancePercentage
protected double halvingDistancePercentage
Percentage of the query length as position, where temporal factor shall equal one half.
-
dataSimilarityToUse
protected String dataSimilarityToUse
Name of the data similarity measure to be used for comparing data nodes.
-
localSimilarityToUse
protected String localSimilarityToUse
Name of the task similarity measure to be used.
-
-
Method Detail
-
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
public String getDataSimilarityToUse()
- Specified by:
getDataSimilarityToUse
in interfaceSMListDP
-
setDataSimilarityToUse
public void setDataSimilarityToUse(String name)
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
public String getLocalSimilarityToUse()
- Specified by:
getLocalSimilarityToUse
in interfaceSMListDP
-
setLocalSimilarityToUse
public void setLocalSimilarityToUse(String name)
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.
-
-