public enum OperationType extends Enum<OperationType>
Enum Constant and Description |
---|
DELETION
The deletion of one node in the left sequence.
|
DELETIONREPLACEMENT
This is a special concept of the dynamic time warping algorithm, where
a deletion is done by defining:
del(x_i) := rep(x_i, y_j)
but only consuming a node in the left sequence, not in the right.
|
INSERTION
The insertion of one node from the right sequence into the left sequence.
|
INSERTIONREPLACEMENT
This is a special concept of the dynamic time warping algorithm, where
a insertion is done by defining:
ins(y_j) := rep(x_i, y_j)
but only consuming a node in the right sequence, not in the left.
|
REPLACEMENT
A replacement of one node in the left input sequnce with one in the right
input sequence.
|
SKIPDELETION
The deletion of one node in the left sequence in the beginning or end of
the alignment.
|
SKIPINSERTION
The insertion of one node from the right sequence into the left sequence
in the beginning or end of the alignment.
|
Modifier and Type | Method and Description |
---|---|
static OperationType[] |
getDeletions()
Returns an array containing the Deletion OperationTypes, namely DELETION and SKIPDELETION.
|
static OperationType[] |
getGaps()
Returns an array containing the gap OperationTypes, namely DELETION and INSERTION.
|
static OperationType[] |
getInsertions()
Returns an array containing the Insertion OperationTypes, namely INSERTION and SKIPINSERTION.
|
static OperationType[] |
getReplacements()
Returns an array containing the Replacement OperationTypes, namely REPLACEMENT,
DELETIONREPLACEMENT and INSERTIONREPLACEMENT.
|
static OperationType[] |
getSkips()
Returns an array containing the skip OperationTypes, namely SKIPDELETION and SKIPINSERTION.
|
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType REPLACEMENT
public static final OperationType DELETION
public static final OperationType INSERTION
public static final OperationType SKIPDELETION
public static final OperationType SKIPINSERTION
public static final OperationType DELETIONREPLACEMENT
public static final OperationType INSERTIONREPLACEMENT
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OperationType[] getReplacements()
public static OperationType[] getDeletions()
public static OperationType[] getInsertions()
public static OperationType[] getGaps()
public static OperationType[] getSkips()
Copyright (C) 2016 Benjamin Paaßen, 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 . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/