public class FeatureTypeWindow extends AbstractFeatureTypeWrapper
Window feature type
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentWindow |
protected DataSequence |
dataSeq |
protected int |
endPos |
protected int |
startPos |
protected Window[] |
windows |
ftype| Constructor and Description |
|---|
FeatureTypeWindow(Window[] windows,
FeatureType ftype) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advance(boolean firstCall) |
boolean |
hasNext()
Tests if next feature exists
|
Feature |
next()
Gets the next feature
|
boolean |
startScanFeaturesAt(DataSequence data,
int startPos,
int endPos)
Starts scanning features of the given segment of a sequence
|
getTypeID, needTraining, readTrainingResult, saveTrainingResult, setTypeID, supportSegment, trainprotected int currentWindow
protected int startPos
protected int endPos
protected transient DataSequence dataSeq
protected Window[] windows
public FeatureTypeWindow(Window[] windows, FeatureType ftype)
protected boolean advance(boolean firstCall)
public boolean startScanFeaturesAt(DataSequence data, int startPos, int endPos)
FeatureTypestartScanFeaturesAt in interface FeatureTypestartScanFeaturesAt in class AbstractFeatureTypeWrapperdata - the sequencestartPos - the start position of the segmentendPos - the end position of the segmentpublic boolean hasNext()
FeatureTypehasNext in interface FeatureTypehasNext in class AbstractFeatureTypeWrapperpublic Feature next()
FeatureTypenext in interface FeatureTypenext in class AbstractFeatureTypeWrapperCopyright © 2018 JULIE Lab, Germany. All rights reserved.