org.jscience.computing.ai.casebasedreasoning
Class Item
java.lang.Object
org.jscience.computing.ai.casebasedreasoning.Item
public class Item
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
protected Item(TraitDescriptors traitDescriptors)
getTraitDataType
public int getTraitDataType(java.lang.String traitName)
getTraitValue
public TraitValue getTraitValue(java.lang.String traitName)
- DOCUMENT ME!
- Parameters:
traitName - DOCUMENT ME!
- Returns:
- DOCUMENT ME!
iterator
public java.util.Iterator iterator()
- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
loadFromDelimitedString
protected void loadFromDelimitedString(TraitDescriptors traitDescriptors,
java.lang.String encodedData)
- Assumption: good data is passed in.
This method does not currently do any error checking like
making sure the number of fields matches the number of
| delimited items in the data
Hey, it's prototype code, what do you expect?