public class Sequence extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULTKEYWORD |
Constructor and Description |
---|
Sequence(NodeSpecification nodeSpecficiation)
Sets up an empty sequence with the given NodeSpecification as basis.
|
Sequence(String sequenceString)
Sets up a trivial sequence with only one keyword (DEFAULTKEYWORD) and treats
the string content between | delimiters in the input string as symbolic
values.
|
Sequence(String sequenceString,
Alphabet alphabet)
Sets up a trivial sequence with only one keyword (DEFAULTKEYWORD) and treats
the string content between | delimiters in the input string as symbolic
values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ArrayList<Node> |
getNodes()
Returns the actual list of nodes.
|
NodeSpecification |
getNodeSpecification()
Returns the NodeSpecification all Nodes in this sequence belong to.
|
int |
hashCode() |
String |
toString() |
public static final String DEFAULTKEYWORD
public Sequence(NodeSpecification nodeSpecficiation)
nodeSpecficiation
- The NodeSpecificaton that is the basis for this
Sequence.public Sequence(String sequenceString)
sequenceString
- an input string.public Sequence(String sequenceString, Alphabet alphabet)
sequenceString
- an input string.alphabet
- the alphabet that is the basis for the given input string
and contains all symbols that are used in the input sequence.public ArrayList<Node> getNodes()
public NodeSpecification getNodeSpecification()
Copyright (C) 2013-2015 Benjamin Paaßen, 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 . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/