|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.test.recommenders.rec3.Houses3
public class Houses3
Conversational (type B) flats recommender using form-filling and Filter-Based retrieval.
This recommender obtains the user preferences through a form. Then, it performs the
retrieval filtering the items that obbey the user preferences. If the retrieval set
is small enough, items are shown to the user. If the retrieval set is too big or
the user does not find the desired item, the system presents again a form to modify
the user requirements. The form has some initial values and custom labels.
Summary:
jcolibri.extensions.recommendation
ObtainQueryWithFormMethod
,
FilterBasedRetrievalMethod
,
DisplayCasesIfNumber
,
DisplayCasesTableMethod
Constructor Summary | |
---|---|
Houses3()
|
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,
java.util.Collection<CBRCase> retrievedCases)
|
void |
sequence3(CBRQuery query)
|
void |
sequence4(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 Houses3()
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, java.util.Collection<CBRCase> retrievedCases)
public void sequence3(CBRQuery query)
public void sequence4(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 |