| Package | Description |
|---|---|
| de.jstacs.data |
Provides classes for the representation of data.
The base classes to represent data are Alphabet and AlphabetContainer for representing alphabets,
Sequence and its sub-classes to represent continuous and discrete sequences, and
DataSet to represent data sets comprising a set of sequences. |
| de.jstacs.data.sequences |
Provides classes for representing sequences.
The implementations of sequences currently include DiscreteSequences prepared for alphabets of different sizes, and ArbitrarySequences that may
contain continuous values as well.As sub-package provides the facilities to annotate Sequences. |
| de.jstacs.io |
Provides classes for reading data from and writing to a file and storing a number of datatypes, including all primitives, arrays of primitives, and
Storables to an XML-representation. |
| Constructor and Description |
|---|
DataSet(AlphabetContainer abc,
AbstractStringExtractor se)
|
DataSet(AlphabetContainer abc,
AbstractStringExtractor se,
int subsequenceLength)
Creates a new
DataSet from a StringExtractor
using the given AlphabetContainer and all overlapping windows of
length subsequenceLength. |
DataSet(AlphabetContainer abc,
AbstractStringExtractor se,
String delim)
Creates a new
DataSet from a StringExtractor
using the given AlphabetContainer and a delimiter
delim. |
DataSet(AlphabetContainer abc,
AbstractStringExtractor se,
String delim,
int subsequenceLength)
Creates a new
DataSet from a StringExtractor
using the given AlphabetContainer, the given delimiter
delim and all overlapping windows of length
subsequenceLength. |
DataSet(AlphabetContainer abc,
AbstractStringExtractor se,
String delim,
int subsequenceLength,
double percentage)
Creates a new
DataSet from a StringExtractor
using the given AlphabetContainer, the given delimiter
delim and all overlapping windows of length
subsequenceLength. |
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
SparseSequence.getDataSet(AlphabetContainer con,
AbstractStringExtractor... se)
This method allows to create a
DataSet containing SparseSequences. |
static DataSet |
ArbitraryFloatSequence.getDataSet(AlphabetContainer con,
AbstractStringExtractor... se)
This method allows to create a
DataSet containing ArbitraryFloatSequences. |
| Modifier and Type | Class and Description |
|---|---|
class |
InfixStringExtractor
This class implements an
AbstractStringExtractor that can be seen as a filter. |
class |
LimitedStringExtractor
This
AbstractStringExtractor allows to read only a limited amount of data. |
class |
SimpleStringExtractor
This is a simple class that extracts
Strings. |
class |
SparseStringExtractor
|
class |
StringExtractor
|
| Constructor and Description |
|---|
InfixStringExtractor(AbstractStringExtractor se,
int start,
int length)
This constructor creates an instance that uses only a infix of the string returned by
se. |
LimitedStringExtractor(AbstractStringExtractor se,
int num)
This constructor creates a new instance based on a given
AbstractStringExtractor and a maximal number of Strings to be read. |