org.jscience.computing.ai.casebasedreasoning
Class Item

java.lang.Object
  extended by org.jscience.computing.ai.casebasedreasoning.Item

public class Item
extends java.lang.Object


Constructor Summary
protected Item(TraitDescriptors traitDescriptors)
           
 
Method Summary
 int getTraitDataType(java.lang.String traitName)
           
 TraitValue getTraitValue(java.lang.String traitName)
          DOCUMENT ME!
 java.util.Iterator iterator()
          DOCUMENT ME!
protected  void loadFromDelimitedString(TraitDescriptors traitDescriptors, java.lang.String encodedData)
          Assumption: good data is passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

protected Item(TraitDescriptors traitDescriptors)
Method Detail

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?