jcolibri.method.retrieve.selection.compromiseDriven
Class CompromiseDrivenSelection

java.lang.Object
  extended by 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.

Constructor Summary
CompromiseDrivenSelection()
           
 
Method Summary
static CDRSet CDR(CBRQuery query, java.util.Collection<RetrievalResult> cases, FilterConfig preferences)
          Returns a list of cases according with their compromises and similarity
static java.util.Set<Attribute> getCompromises(CBRCase _case, CBRQuery query, FilterConfig preferences)
          Returns the compromises of a case
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompromiseDrivenSelection

public CompromiseDrivenSelection()
Method Detail

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 with
cases - to compare
preferences - 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 compromises
query - to compare
preferences - define the predicates that evaluate the user preferences
Returns:
a set of attributes

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