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 StringdataSimilarityToUseName of the data similarity measure to be used for comparing data nodes.protected booleanforceAlignmentEndsWithQueryWhether the alignments shall end with the query.protected doublehalvingDistancePercentagePercentage of the query length as position, where temporal factor shall equal one half.protected StringlocalSimilarityToUseName of the task similarity measure to be used.protected booleannormScoreWhether 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 StringgetDataSimilarityToUse()booleangetForceAlignmentEndsWithQuery()Return property of similarity measure to find an alignment that ends with the query or not.doublegetHalvingDistancePercentage()StringgetLocalSimilarityToUse()voidsetDataSimilarityToUse(String name)Set the data similarity to be used during local node similarity calculation.voidsetForceAlignmentEndsWithQuery(boolean endWithQuery)Set property of similarity measures to find an alignment that ends with the query.voidsetHalvingDistancePercentage(double halvingDistancePercentage)Set the percentage of the query length, at which the temporal factor shall equal one half.voidsetLocalSimilarityToUse(String name)Set the task similarity to be used during local node similarity calculation.voidsetNormScore(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:
getHalvingDistancePercentagein interfaceSMListDP
-
setHalvingDistancePercentage
public void setHalvingDistancePercentage(double halvingDistancePercentage)
Description copied from interface:SMListDPSet the percentage of the query length, at which the temporal factor shall equal one half.- Specified by:
setHalvingDistancePercentagein interfaceSMListDP- Parameters:
halvingDistancePercentage- Distance as percentage between 0 and 1.
-
getDataSimilarityToUse
public String getDataSimilarityToUse()
- Specified by:
getDataSimilarityToUsein interfaceSMListDP
-
setDataSimilarityToUse
public void setDataSimilarityToUse(String name)
Description copied from interface:SMListDPSet the data similarity to be used during local node similarity calculation.- Specified by:
setDataSimilarityToUsein interfaceSMListDP- Parameters:
name- Name of the sim measure
-
getLocalSimilarityToUse
public String getLocalSimilarityToUse()
- Specified by:
getLocalSimilarityToUsein interfaceSMListDP
-
setLocalSimilarityToUse
public void setLocalSimilarityToUse(String name)
Description copied from interface:SMListDPSet the task similarity to be used during local node similarity calculation.- Specified by:
setLocalSimilarityToUsein interfaceSMListDP- Parameters:
name- Name of the sim measure
-
setNormScore
public void setNormScore(boolean normScore)
- Specified by:
setNormScorein interfaceSMListDP
-
getForceAlignmentEndsWithQuery
public boolean getForceAlignmentEndsWithQuery()
Description copied from interface:SMListDPReturn property of similarity measure to find an alignment that ends with the query or not.- Specified by:
getForceAlignmentEndsWithQueryin interfaceSMListDP- Returns:
-
setForceAlignmentEndsWithQuery
public void setForceAlignmentEndsWithQuery(boolean endWithQuery)
Description copied from interface:SMListDPSet property of similarity measures to find an alignment that ends with the query.- Specified by:
setForceAlignmentEndsWithQueryin interfaceSMListDP- Parameters:
endWithQuery- Whether the alignment shall end with the query. Defaults to true.
-
-