jcolibri.method.retrieve.selection.compromiseDriven
Class CompromiseDrivenSelection
java.lang.Object
jcolibri.method.retrieve.selection.compromiseDriven.CompromiseDrivenSelection
public class CompromiseDrivenSelection
- extends java.lang.Object
Cases selection approach that chooses cases according to their compromises with the user's query.
The compromises are those attributes that do not satisfy the user's requirement.
That way cases are selected according to the number of compromises and their similarity.
See:
D. McSherry. Similarity and compromise. In Case-Based Reasoning Research
and Development, 5th International Conference on Case-Based Reasoning,
ICCBR, pages 291-305, 2003.
- 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 |
CompromiseDrivenSelection
public CompromiseDrivenSelection()
CDR
public static CDRSet CDR(CBRQuery query,
java.util.Collection<RetrievalResult> cases,
FilterConfig preferences)
- Returns a list of cases according with their compromises and similarity
- Parameters:
query
- to compare withcases
- to comparepreferences
- define the predicates that evaluate the user preferences
- Returns:
- a CDRSet object that stores the list of selected cases, the "like" sets and the "covered" sets (see paper for details).
getCompromises
public static java.util.Set<Attribute> getCompromises(CBRCase _case,
CBRQuery query,
FilterConfig preferences)
- Returns the compromises of a case
- Parameters:
_case
- to find the compromisesquery
- to comparepreferences
- define the predicates that evaluate the user preferences
- Returns:
- a set of attributes