|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.test.recommenders.rec2.Travel2
public class Travel2
Conversational (type A) trips recommender using form-filling, Nearest Neighbour retrieval and top k selection .
This recommender obtains the user preferences using a form. Then it computes
Nearest Neighbour scoring to obtain the most similar cases.
If the user does not find the desired item, he/she can refine the requirements
using again a form. The form contains initial values and some attributes are
hidden (defined by the designer).
Summary:
jcolibri.extensions.recommendation
ObtainQueryWithFormMethod
,
NNScoringMethod
,
SelectCases
,
DisplayCasesTableMethod
Constructor Summary | |
---|---|
Travel2()
|
Method Summary | |
---|---|
void |
configure()
Configures the application: case base, connectors, etc. |
void |
cycle(CBRQuery query)
Executes a CBR cycle with the given query. |
static void |
main(java.lang.String[] args)
|
void |
postCycle()
Runs the code to shutdown the application. |
CBRCaseBase |
preCycle()
Runs the precyle where typically cases are read and organized into a case base. |
void |
sequence1(CBRQuery query)
|
void |
sequence2(CBRQuery query)
|
void |
sequence3(UserChoice choice,
java.util.Collection<CBRCase> retrievedCases)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Travel2()
Method Detail |
---|
public void configure() throws ExecutionException
StandardCBRApplication
configure
in interface StandardCBRApplication
ExecutionException
public void cycle(CBRQuery query) throws ExecutionException
StandardCBRApplication
cycle
in interface StandardCBRApplication
ExecutionException
public void sequence1(CBRQuery query)
public void sequence2(CBRQuery query)
public void sequence3(UserChoice choice, java.util.Collection<CBRCase> retrievedCases)
public void postCycle() throws ExecutionException
StandardCBRApplication
postCycle
in interface StandardCBRApplication
ExecutionException
public CBRCaseBase preCycle() throws ExecutionException
StandardCBRApplication
preCycle
in interface StandardCBRApplication
ExecutionException
public static void main(java.lang.String[] args)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |