com.sjm.machlearn.dataset
Class FeatureIdList
java.lang.Object
|
+--com.sjm.machlearn.util.MainClass
|
+--com.sjm.machlearn.dataset.FeatureIdList
- public class FeatureIdList
- extends MainClass
Methods inherited from class com.sjm.machlearn.util.MainClass |
_internalError,
_internalError,
addDebugListener,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugOff,
debugOn,
internalError,
internalError,
setDebug,
setDebugLevel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
features
protected FeatureId[] features
output_index
protected int output_index
FeatureIdList
public FeatureIdList(FeatureIdList idl)
throws MultipleOutputException,
NoOutputException
FeatureIdList
public FeatureIdList(FeatureId[] featureids)
throws MultipleOutputException,
NoOutputException
FeatureIdList
public FeatureIdList(Feature[] featurelist)
throws NoOutputException,
MultipleOutputException
FeatureIdList
public FeatureIdList(java.lang.String namesfile)
throws java.lang.Exception
size
public int size()
getOutputIndex
public int getOutputIndex()
getOutputFeatureId
public FeatureId getOutputFeatureId()
get
public FeatureId get(int i)
writeList
public void writeList(java.lang.String filename)
throws java.io.IOException
getFeatureIndex
public int getFeatureIndex(FeatureId featureid)
throws MissingFeatureException
hasFeature
public boolean hasFeature(FeatureId featureid)
printList
public java.lang.String printList()