Package | Description |
---|---|
de.citec.tcs.alignment.sequence |
This module contains the sequence datastructure of the
TCS Alignment Toolbox.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractValue
This is a convenience implementation of the Value interface.
|
class |
StringValue
This value is supposed to represent strings that are not restricted to a
certain alphabet.
|
class |
SymbolicValue
This is a special value class that is restricted to a finite list of values
defined by an alphabet.
|
class |
VectorialValue
This value is reserved for numeric vectors, represented internally as
doubles.
|
Modifier and Type | Method and Description |
---|---|
Value |
Node.getValue(int index)
Returns the value stored in this Node for the given keyword or null of no
value is stored for the given keyword in this node.
|
Value |
Node.getValue(String keyword)
Returns the value stored in this Node for the given keyword or null of no
value is stored for the given keyword in this node.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Value> |
ValueType.getValueClass()
The corresponding class of this ValueType.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setValue(int index,
Value value)
Sets the value for the given keyword.
|
void |
Node.setValue(String keyword,
Value value)
Sets the value for the given keyword.
|
boolean |
SymbolicKeywordSpecification.validate(Value value)
This applies the KeywordSpecification validation and additionally checks
whether the given value is part of the Alphabet.
|
boolean |
KeywordSpecification.validate(Value value)
Returns true if the given value is in order according to this
specification, meaning that it has the correct type or is null.
|
boolean |
VectorialKeywordSpecification.validate(Value value)
This applies the KeywordSpecification validation and additionally checks
whether the given value has the correct length.
|
Copyright (C) 2016-2018 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/