jcolibri.extensions.recommendation.askingAndProposing
Class AskingAndProposingPreferenceElicitation

java.lang.Object
  extended by jcolibri.extensions.recommendation.askingAndProposing.AskingAndProposingPreferenceElicitation

public class AskingAndProposingPreferenceElicitation
extends java.lang.Object

Method that implements the Preference elicitation task for the Expert Clerk system.
See recommender 8 for details.
In NbA it elicits the query asking for the value of an attribute.
In NbP it uses the MoreLikeThis method.

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

Constructor Summary
AskingAndProposingPreferenceElicitation()
           
 
Method Summary
static void changeTo(DisplayCasesIfNumberAndChangeNavigation.NavigationMode _mode)
          Changes the navigation type.
static void doPreferenceElicitation(CBRQuery query, java.util.Collection<CBRCase> cases, SelectAttributeMethod sam, CriticalUserChoice cuc)
          Executes the preference elicitation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AskingAndProposingPreferenceElicitation

public AskingAndProposingPreferenceElicitation()
Method Detail

changeTo

public static void changeTo(DisplayCasesIfNumberAndChangeNavigation.NavigationMode _mode)
Changes the navigation type.


doPreferenceElicitation

public static void doPreferenceElicitation(CBRQuery query,
                                           java.util.Collection<CBRCase> cases,
                                           SelectAttributeMethod sam,
                                           CriticalUserChoice cuc)
                                    throws ExecutionException
Executes the preference elicitation.
If NbA mode it obtains a new query using the ObtainQueryWithAttributeQuestionMethod.
If NBP mode it revises the query using MoreLikeThis.

Parameters:
query - to elicit
cases - is the working cases set
sam - is the method used to obtain the next attribute to ask (only in NbA mode).
cuc - is the user critique in NbP mode.
Throws:
ExecutionException - if any error.

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