|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.test.recommenders.rec4.Houses4
public class Houses4
Conversational (type B) flats recommender using Navigation by Asking and Filter retrieval.
This recommender applies the Navigation by Asking strategy to obtain the user requirements.
This strategy selects an attribute of the items to be asked to the user each iteration. Depending on
the values of these attributes a retrieval set is obtained using filtering.
If the retrieval set is small enough it is presented to the user. If it is too big or
the user does not find the desired item, the recommender uses again the Navigation by
Asking strategy to improve the user requirements.
Summary:
jcolibri.extensions.recommendation
ObtainQueryWithAttributeQuestionMethod
,
InformationGain
,
FilterBasedRetrievalMethod
,
DisplayCasesIfNumber
,
DisplayCasesTableMethod
Constructor Summary | |
---|---|
Houses4()
|
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,
boolean _continue)
|
void |
sequence2(CBRQuery query,
java.util.Collection<CBRCase> workingCases,
boolean _continue)
|
void |
sequence3(CBRQuery query,
java.util.Collection<CBRCase> workingCases)
|
void |
sequence4(UserChoice choice,
java.util.Collection<CBRCase> workingCases)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Houses4()
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, boolean _continue) throws ExecutionException
ExecutionException
public void sequence2(CBRQuery query, java.util.Collection<CBRCase> workingCases, boolean _continue) throws ExecutionException
ExecutionException
public void sequence3(CBRQuery query, java.util.Collection<CBRCase> workingCases) throws ExecutionException
ExecutionException
public void sequence4(UserChoice choice, java.util.Collection<CBRCase> workingCases) throws ExecutionException
ExecutionException
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 |