jcolibri.method.retrieve.selection.diversity
Class BoundedRandomSelection

java.lang.Object
  extended by jcolibri.method.retrieve.selection.diversity.BoundedRandomSelection

public class BoundedRandomSelection
extends java.lang.Object

Is the simplest diversity strategy: select the k cases at random from a larger set of the b·k most similar cases to the query.

See:

B. Smyth and P. McClave. Similarity vs. diversity. In ICCBR '01: Proceedings of the 4th International Conference on Case-Based Reasoning, pages 347-361, London, UK, 2001. Springer-Verlag.

Version:
1.0
Author:
Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.

Constructor Summary
BoundedRandomSelection()
           
 
Method Summary
static java.util.Collection<CBRCase> boundedRandomSelection(java.util.Collection<RetrievalResult> cases, CBRQuery query, int k, int bound)
          Executes the algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundedRandomSelection

public BoundedRandomSelection()
Method Detail

boundedRandomSelection

public static java.util.Collection<CBRCase> boundedRandomSelection(java.util.Collection<RetrievalResult> cases,
                                                                   CBRQuery query,
                                                                   int k,
                                                                   int bound)
Executes the algorithm.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es