jcolibri.extensions.recommendation.navigationByProposing
Class DisplayCasesTableWithCritiquesMethod

java.lang.Object
  extended by jcolibri.extensions.recommendation.navigationByProposing.DisplayCasesTableWithCritiquesMethod

public class DisplayCasesTableWithCritiquesMethod
extends java.lang.Object

This method shows the cases in a table and also allows to show buttons with critiques.
It is an extension of jcolibri.extensions.recommendation.casesDisplay.DisplayCasesTableMethod used in navigationByProposing recommenders.
This method enables and disables the critiques buttons depending on the values of the available cases. (For example, it has no sense to show a "creaper" button if there are not cheaper cases). Usually, displayed cases are the same than working cases, but when using diversity algorithms only three of the working cases are displayed.

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

Constructor Summary
DisplayCasesTableWithCritiquesMethod()
           
 
Method Summary
static CriticalUserChoice displayCasesInTableWithCritiques(java.util.Collection<CBRCase> cases, java.util.Collection<CritiqueOption> critiques, java.util.Collection<CBRCase> availableCases)
          This method shows the cases in a table and also allows to show buttons with critiques.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayCasesTableWithCritiquesMethod

public DisplayCasesTableWithCritiquesMethod()
Method Detail

displayCasesInTableWithCritiques

public static CriticalUserChoice displayCasesInTableWithCritiques(java.util.Collection<CBRCase> cases,
                                                                  java.util.Collection<CritiqueOption> critiques,
                                                                  java.util.Collection<CBRCase> availableCases)
This method shows the cases in a table and also allows to show buttons with critiques.

Parameters:
cases - to be shown
critiques - to the cases (buttons are automatically generated from these critiques).
availableCases - are the current working cases. Critiques are enabled depending on these cases.
Returns:
a CriticalUserChoice object.

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