org.jscience.computing.ai.casebasedreasoning
Class Traits

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

public class Traits
extends java.lang.Object


Constructor Summary
Traits()
           
 
Method Summary
protected  void add(Trait newTrait)
           
 Trait get(java.lang.String traitName)
          DOCUMENT ME!
 boolean isEmpty()
          DOCUMENT ME!
 java.util.Iterator iterator()
          DOCUMENT ME!
protected  void loadFromDelimitedString(TraitDescriptors traitDescriptors, java.lang.String encodedData)
          Load data from a string

The string will have the data fields in the same

order as the array of field definitions

The string is | delimited

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Traits

public Traits()
Method Detail

add

protected void add(Trait newTrait)

get

public Trait get(java.lang.String traitName)
DOCUMENT ME!

Parameters:
traitName - DOCUMENT ME!
Returns:
DOCUMENT ME!

isEmpty

public boolean isEmpty()
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)
Load data from a string

The string will have the data fields in the same

order as the array of field definitions

The string is | delimited