Package | Description |
---|---|
de.unibi.citec.tcs.alignment |
This package contains the actual AlignmentAlgorithms as well as their return
classes.
|
de.unibi.citec.tcs.alignment.comparators |
This package contains comparators that define distances between Values.
|
de.unibi.citec.tcs.alignment.sequence |
This package contains the definition of input Sequences for
AlignmentAlgorithms.
|
Modifier and Type | Method and Description |
---|---|
Comparator |
AlignmentSpecification.getComparator(int index)
Returns the Comparator that is currently set for the given keyword.
|
Comparator |
AlignmentSpecification.getComparator(String keyword)
Returns the Comparator that is currently set for the given keyword.
|
Modifier and Type | Method and Description |
---|---|
static double |
SoftDTWModel.calc_weighted_comp_sum(Comparator[] comparators,
double[] weights,
int[] originalIndices,
Node nodeX,
Node nodeY)
Returns weighted sum k of local comparators: k = sum(w_i * k_i) with:
k_i: local comparators w_i: local weights
Note: Comparators, weights, originalIndices are supposed to originate
from the same AlignmentSpecification.
|
void |
AlignmentSpecification.setComparator(int index,
Comparator comparator)
Sets the comparator for a given keyword.
|
void |
AlignmentSpecification.setComparator(String keyword,
Comparator comparator)
Sets the comparator for a given keyword.
|
Constructor and Description |
---|
AlignmentSpecification(NodeSpecification nodeSpecification,
String[] keywords,
Comparator[] comparators) |
AlignmentSpecification(NodeSpecification nodeSpecification,
String[] keywords,
Comparator[] comparators,
double[] weighting) |
Modifier and Type | Interface and Description |
---|---|
interface |
GapComparator<X extends Value>
This specifies the comparator interface slightly to include the case that
entities might be deleted/inserted.
|
interface |
SkipComparator<X extends Value>
This further specifies the AlignmentComparator to include skips.
|
Modifier and Type | Class and Description |
---|---|
class |
CharStatComparator
This compares strings using statistics over the number of letters inside.
|
class |
DTWKernelComparator
implements halved gauss-kernel k:
k = exp(-1/2sigma^2 * |x-y|^2) /2, with |.| beeing the weighted euclidian
distance
k is positive definite
|
class |
EuclidianComparator
Compares vectors using the L2-Norm.
|
class |
L1NormComparator
Compares vectors using the L1-Norm.
|
class |
ReplacementComparator
This comparator defines explicit replacement (and deletion/insertion) costs
for comparison of symbolic values.
|
class |
TrivialEditComparator
This is a Comparator for SymbolicValues that just specifies a score for:
a match between the same symbols (0 per default)
a mismatch between different symbols (1 per default)
an alignment of a symbol with a gap (1 per default).
|
Modifier and Type | Method and Description |
---|---|
Comparator |
KeywordSpecification.getDefaultComparator()
This returns a valid Comparator for this KeywordSpecification.
|
Copyright © 2014. All rights reserved.