jcolibri.extensions.recommendation.navigationByProposing.queryElicitation
Class LessLikeThis

java.lang.Object
  extended by jcolibri.extensions.recommendation.navigationByProposing.queryElicitation.LessLikeThis
All Implemented Interfaces:
ComparisonQueryElicitation

public class LessLikeThis
extends java.lang.Object
implements ComparisonQueryElicitation

The LessLikeThis strategy is a simple one: if the rejected cases all have the same feature-value combination, which is different from the preferred case then this combination can be added as a negative condition. This negative condition is coded as a NotEqualTo(value) predicate in a FilterConfig object. The query is not modified. That way, this method should be used together with FilterBasedRetrieval.

See:

L. McGinty and B. Smyth. Comparison-based recommendation. In ECCBR'02: Proceedings of the 6th European Conference on Advances in Case-Based Reasoning, pages 575-589, London, UK, 2002. Springer-Verlag.

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

Constructor Summary
LessLikeThis(FilterConfig filterConfig)
           
 
Method Summary
static void lessLikeThis(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases, FilterConfig filterConfig)
          If the rejected cases all have the same feature-value combination, which is different from the preferred case then this combination can be added as a negative condition.
 void reviseQuery(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases)
          If the rejected cases all have the same feature-value combination, which is different from the preferred case then this combination can be added as a negative condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessLikeThis

public LessLikeThis(FilterConfig filterConfig)
Method Detail

lessLikeThis

public static void lessLikeThis(CBRQuery query,
                                CBRCase selectedCase,
                                java.util.Collection<CBRCase> proposedCases,
                                FilterConfig filterConfig)
If the rejected cases all have the same feature-value combination, which is different from the preferred case then this combination can be added as a negative condition. This negative condition is coded as a NotEqualTo(value) predicate in a FilterConfig object. The query is not modified.


reviseQuery

public void reviseQuery(CBRQuery query,
                        CBRCase selectedCase,
                        java.util.Collection<CBRCase> proposedCases)
If the rejected cases all have the same feature-value combination, which is different from the preferred case then this combination can be added as a negative condition. This negative condition is coded as a NotEqualTo(value) predicate in a FilterConfig object.

Specified by:
reviseQuery in interface ComparisonQueryElicitation
Parameters:
query - to revise
selectedCase - by the user
proposedCases - to the user

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