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 |
getNodeSpecificiation()
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 getNodeSpecificiation()
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