jcolibri.extensions.recommendation.askingAndProposing
Class AskingAndProposingPreferenceElicitation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AskingAndProposingPreferenceElicitation
public AskingAndProposingPreferenceElicitation()
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 elicitcases
- is the working cases setsam
- 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.