jcolibri.method.retrieve.selection.diversity
Class BoundedRandomSelection
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundedRandomSelection
public BoundedRandomSelection()
boundedRandomSelection
public static java.util.Collection<CBRCase> boundedRandomSelection(java.util.Collection<RetrievalResult> cases,
CBRQuery query,
int k,
int bound)
- Executes the algorithm.