- All Superinterfaces:
SimilarityMeasure
- All Known Subinterfaces:
SMGraphDTW
, SMGraphSWA
, SMListDTW
, SMListDTWWeighted
, SMListSWA
, SMListSWAWeighted
- All Known Implementing Classes:
SMGraphDTWImpl
, SMGraphSWAImpl
, SMListDPImpl
, SMListDTWImpl
, SMListDTWWeightedImpl
, SMListSWAImpl
, SMListSWAWeightedImpl
-
Nested Class Summary
Nested Classes
static enum
Presents the possible strategies for the method ignoreDifferentBeginnings.
-
-
Method Summary
boolean
Return property of similarity measure to find an alignment that ends with the query or not.
double
Returns a bool whether different beginnings are considered in the similarity calculation or
not.
boolean
Returns a bool weather the local similarities should be calculated or not.
void
Set the data similarity to be used during local node similarity calculation.
void
Set property of similarity measures to find an alignment that ends with the query.
void
Set the percentage of the query length, at which the temporal factor shall equal one half.
void
Sets a bool whether different beginnings are considered in the similarity calculation or
not.
void
Set the task similarity to be used during local node similarity calculation.
void
void
Sets a parameter weather a mapping of similarities of each query and case object should be
calculated.
-
Method Details
-
getHalvingDistancePercentage
double getHalvingDistancePercentage()
-
setHalvingDistancePercentage
void setHalvingDistancePercentage(double hDist)
Set the percentage of the query length, at which the temporal factor shall equal one half.
- Parameters:
hDist
- Distance as percentage between 0 and 1.
-
getDataSimilarityToUse
String getDataSimilarityToUse()
-
setDataSimilarityToUse
void setDataSimilarityToUse(String name)
Set the data similarity to be used during local node similarity calculation.
- Parameters:
name
- Name of the sim measure
-
getLocalSimilarityToUse
String getLocalSimilarityToUse()
-
setLocalSimilarityToUse
void setLocalSimilarityToUse(String name)
Set the task similarity to be used during local node similarity calculation.
- Parameters:
name
- Name of the sim measure
-
setNormScore
void setNormScore(boolean normScore)
-
getForceAlignmentEndsWithQuery
boolean getForceAlignmentEndsWithQuery()
Return property of similarity measure to find an alignment that ends with the query or not.
- Returns:
-
setForceAlignmentEndsWithQuery
void setForceAlignmentEndsWithQuery(boolean endWithQuery)
Set property of similarity measures to find an alignment that ends with the query.
- Parameters:
endWithQuery
- Whether the alignment shall end with the query. Defaults to true.
-
setIgnoreDifferentBeginnings
Sets a bool whether different beginnings are considered in the similarity calculation or
not.
- Parameters:
strategy
- NONE, IGNORE_DIFFERENT_BEGINNINGS_CASE or IGNORE_DIFFERENT_BEGINNINGS_CASE_AND_QUERY
- See Also:
-
-
getIgnoreDifferentBeginnings
Returns a bool whether different beginnings are considered in the similarity calculation or
not.
- Returns:
- true or false
-
setReturnLocalSimilarities
void setReturnLocalSimilarities(boolean returnLocalSimilarities)
Sets a parameter weather a mapping of similarities of each query and case object should be
calculated.
- Parameters:
returnLocalSimilarities
- true or false.
-
getReturnLocalSimilarities
boolean getReturnLocalSimilarities()
Returns a bool weather the local similarities should be calculated or not.
- Returns:
- true or false