jcolibri.extensions.recommendation.navigationByProposing.queryElicitation
Class MoreAndLessLikeThis

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

public class MoreAndLessLikeThis
extends java.lang.Object
implements ComparisonQueryElicitation

The Less+More Like combines both MoreLikeThis and LessLikeThis. It copies the values of the selected case into the query and returns a FilterConfig object with the negative conditions. That way, this method should be used together with FilteredKNNRetrieval.

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:
MoreLikeThis, LessLikeThis

Constructor Summary
MoreAndLessLikeThis(FilterConfig filterConfig)
           
 
Method Summary
static void moreAndLessLikeThis(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases, FilterConfig filterConfig)
          The Less+More Like combines both MoreLikeThis and LessLikeThis.
 void reviseQuery(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases)
          The Less+More Like combines both MoreLikeThis and LessLikeThis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoreAndLessLikeThis

public MoreAndLessLikeThis(FilterConfig filterConfig)
Method Detail

moreAndLessLikeThis

public static void moreAndLessLikeThis(CBRQuery query,
                                       CBRCase selectedCase,
                                       java.util.Collection<CBRCase> proposedCases,
                                       FilterConfig filterConfig)
The Less+More Like combines both MoreLikeThis and LessLikeThis. It copies the values of the selected case into the query and returns a FilterConfig object with the negative conditions.


reviseQuery

public void reviseQuery(CBRQuery query,
                        CBRCase selectedCase,
                        java.util.Collection<CBRCase> proposedCases)
The Less+More Like combines both MoreLikeThis and LessLikeThis. It copies the values of the selected case into the query and returns a FilterConfig object with the negative conditions.

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