jcolibri.extensions.recommendation.navigationByProposing.queryElicitation
Class PartialMoreLikeThis

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

public class PartialMoreLikeThis
extends java.lang.Object
implements ComparisonQueryElicitation

Partially replaces current query with the description of the selected case. It only transfers a feature value from the selected case if none of the rejected cases have the same feature value.

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.

Constructor Summary
PartialMoreLikeThis()
           
 
Method Summary
static void partialMoreLikeThis(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases)
          Partially replaces current query with the description of the selected case.
 void reviseQuery(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases)
          Partially replaces current query with the description of the selected case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialMoreLikeThis

public PartialMoreLikeThis()
Method Detail

partialMoreLikeThis

public static void partialMoreLikeThis(CBRQuery query,
                                       CBRCase selectedCase,
                                       java.util.Collection<CBRCase> proposedCases)
Partially replaces current query with the description of the selected case.


reviseQuery

public void reviseQuery(CBRQuery query,
                        CBRCase selectedCase,
                        java.util.Collection<CBRCase> proposedCases)
Partially replaces current query with the description of the selected case.

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