- All Superinterfaces:
DP
- All Known Implementing Classes:
SWAImpl
public interface SWA
extends DP
-
Nested Class Summary
Nested Classes
static interface
Functional interface representing a penalty scheme.
-
-
Method Summary
initiate a new SWA Calculation on query and case tasks.
initiate a new SWA Calculation on query and case tasks.
void
Set the penalty scheme to be used when deleting from the query.
void
Set the penalty scheme to be used when inserting into the query.
Methods inherited from interface de.uni_trier.wi2.procake.similarity.nest.sequence.utils.DP
computeSimilarity, computeSimilarity, computeSimilarity, getAlignment, getAssignments, getNormedSimilarityScore, getRawSimilarityScore, getRecommendation, getStepVec, removeCase, setBindToLastRow, setCase, setCase, setDataSimilarityToUse, setHalvingDistancePercentage, setLocalSimilarityToUse, setLocalSimWeights, setSimilarityValuator
-
-
Method Details
-
newSWACalculation
initiate a new SWA Calculation on query and case tasks.
- Parameters:
queryRes
- The query.
caseRes
- The case.
- Returns:
- A new DTWImpl for calculation.
-
newSWACalculation
initiate a new SWA Calculation on query and case tasks.
- Parameters:
queryRes
- The query.
caseRes
- The case.
- Returns:
- A new DTWImpl for calculation.
-
setInsertionPenaltyScheme
Set the penalty scheme to be used when inserting into the query.
- Parameters:
penaltyScheme
- A functional interface of type PenaltyScheme. Represents a function
mapping a NESTTaskNodeObject to a double.
-
setDeletionPenaltyScheme
Set the penalty scheme to be used when deleting from the query.
- Parameters:
penaltyScheme
- A functional interface of type PenaltyScheme. Represents a function
mapping a NESTTaskNodeObject to a double.