org.jscience.computing.ai.casebasedreasoning
Class SimilarItems

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

public class SimilarItems
extends java.lang.Object

DOCUMENT ME!


Constructor Summary
SimilarItems()
           
 
Method Summary
protected  void add(SimilarityDescription descriptor)
          DOCUMENT ME!
 SimilarityDescription getBestMatch()
          DOCUMENT ME!
 SimilarItems getBestMatches(int numberOfMatches)
          DOCUMENT ME!
 SimilarItems getByPercentSimilarity(float percentSimilar)
          DOCUMENT ME!
 SimilarItems getByRank(int rank)
          DOCUMENT ME!
 SimilarityDescription getByRelativeRank(int rank)
          DOCUMENT ME!
 SimilarItems getByThreshold(float minimumPercentSimilar)
          DOCUMENT ME!
 boolean isEmpty()
          DOCUMENT ME!
 java.util.Iterator iterator()
          DOCUMENT ME!
 void rankItems()
          DOCUMENT ME!
 int size()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimilarItems

public SimilarItems()
Method Detail

add

protected void add(SimilarityDescription descriptor)
DOCUMENT ME!

Parameters:
descriptor - DOCUMENT ME!

getBestMatch

public SimilarityDescription getBestMatch()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getBestMatches

public SimilarItems getBestMatches(int numberOfMatches)
DOCUMENT ME!

Parameters:
numberOfMatches - DOCUMENT ME!
Returns:
DOCUMENT ME!

getByPercentSimilarity

public SimilarItems getByPercentSimilarity(float percentSimilar)
DOCUMENT ME!

Parameters:
percentSimilar - DOCUMENT ME!
Returns:
DOCUMENT ME!

getByRank

public SimilarItems getByRank(int rank)
DOCUMENT ME!

Parameters:
rank - DOCUMENT ME!
Returns:
DOCUMENT ME!

getByRelativeRank

public SimilarityDescription getByRelativeRank(int rank)
DOCUMENT ME!

Parameters:
rank - DOCUMENT ME!
Returns:
DOCUMENT ME!

getByThreshold

public SimilarItems getByThreshold(float minimumPercentSimilar)
DOCUMENT ME!

Parameters:
minimumPercentSimilar - 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!

rankItems

public void rankItems()
DOCUMENT ME!


size

public int size()
DOCUMENT ME!

Returns:
DOCUMENT ME!