| Constructor and Description |
|---|
BasicDataset(int originalLabelNum,
int markovOrder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(DataSequence seq) |
Dataset |
copy() |
int |
getLabelNum()
Gets the number of unique labels.
|
int |
getMarkovOrder()
Gets the order of the markov chain
|
int |
getOriginalLabelNum()
Gets the number of original unique labels no matter what order the markov chain is.
|
boolean |
hasNext()
Tests if the next sequence exists
|
DataSequence |
next()
Reads out the next sequence
|
int |
size()
Gets the number of sequences in the dataset
|
void |
startScan()
Moves the pointer to the position before the first sequence.
|
public Dataset copy()
public int size()
Datasetpublic void startScan()
Datasetpublic boolean hasNext()
Datasetpublic DataSequence next()
Datasetpublic boolean add(DataSequence seq)
public int getLabelNum()
DatasetgetLabelNum in interface Datasetpublic int getOriginalLabelNum()
DatasetgetOriginalLabelNum in interface Datasetpublic int getMarkovOrder()
DatasetgetMarkovOrder in interface DatasetCopyright © 2018 JULIE Lab, Germany. All rights reserved.