com.sjm.machlearn.dataset
Class FeatureIdList

java.lang.Object
  |
  +--com.sjm.machlearn.util.MainClass
        |
        +--com.sjm.machlearn.dataset.FeatureIdList

public class FeatureIdList
extends MainClass


Field Summary
protected  FeatureId[] features
           
protected  int output_index
           
 
Fields inherited from class com.sjm.machlearn.util.MainClass
debug, debug_level, debug_listeners
 
Constructor Summary
FeatureIdList(Feature[] featurelist)
           
FeatureIdList(FeatureId[] featureids)
           
FeatureIdList(FeatureIdList idl)
           
FeatureIdList(java.lang.String namesfile)
           
 
Method Summary
 FeatureId get(int i)
           
 int getFeatureIndex(FeatureId featureid)
           
 FeatureId getOutputFeatureId()
           
 int getOutputIndex()
           
 boolean hasFeature(FeatureId featureid)
           
 java.lang.String printList()
           
 int size()
           
 void writeList(java.lang.String filename)
           
 
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
 

Field Detail

features

protected FeatureId[] features

output_index

protected int output_index
Constructor Detail

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
Method Detail

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