Package | Description |
---|---|
de.unibi.citec.tcs.alignment.comparators |
This package contains comparators that define distances between Values.
|
Modifier and Type | Method and Description |
---|---|
double |
ReplacementComparator.calculateLocalDerivative(int paramIdx,
SymbolicValue a,
SymbolicValue b,
OperationType type)
This is called by an AlignmentDerivativeAlgorithm and should calculate
the local derivative for only one comparison of the values a and b.
|
SparseLocalDerivative |
ReplacementComparator.calculateSparseLocalDerivative(SymbolicValue a,
SymbolicValue b,
OperationType type)
This method shall return a sparse representation of the derivative for
all parameters that have non-zero derivatives in this step of the
alignment.
|
double |
ReplacementComparator.compare(SymbolicValue a,
SymbolicValue b)
This has to return a distance between a and b with the following
restrictions:
The return value has to lie between 0 and 1.
|
double |
TrivialEditComparator.compare(SymbolicValue a,
SymbolicValue b)
This has to return a distance between a and b with the following
restrictions:
The return value has to lie between 0 and 1.
|
double |
TrivialEditComparator.comparisonDerivative(int paramIdx,
SymbolicValue a,
SymbolicValue b)
This should implement the local derivative calculation in case of
comparisons.
|
double |
ReplacementComparator.delete(SymbolicValue a)
This should be called during an alignment to retrieve the costs for a
deletion of value a from the first sequence.
|
double |
ReplacementComparator.insert(SymbolicValue b)
This should be called during an alignment to retrieve the costs for an
insertion of value b into the first sequence.
|
double |
ReplacementComparator.skipDelete(SymbolicValue a)
This should be called during an alignment to retrieve the costs for a
skip deletion of value a from the first sequence.
|
double |
ReplacementComparator.skipInsert(SymbolicValue b)
This should be called during an alignment to retrieve the costs for a
skip insertion of value b into the first sequence.
|
SparseLocalDerivative |
TrivialEditComparator.sparseComparisonDerivative(SymbolicValue a,
SymbolicValue b)
This should implement the local derivative calculation in case of
comparisons.
|
Copyright (C) 2013, 2014 Benjamin Paaßen, Charlie Krüger, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs