jcolibri.cbraplications
Interface StandardCBRApplication

All Known Implementing Classes:
EvaluableApp, GlassEvaluableApp, Houses1, Houses10, Houses11, Houses13, Houses14, Houses2, Houses3, Houses4, Houses5, Houses6, Houses8, Houses9, IrisEvaluableApp, IrisEvaluableApp, IrisMaintainedEvaluableApp, MoviesRecommender, Restaurant7, SpamFilterApp, Test1, Test10, Test13a, Test13b, Test2, Test3, Test4, Test5, Test6, Test7, Travel1, Travel2, Travel3

public interface StandardCBRApplication

Defines the method of an standard CBR application. It is composed by:

Author:
Juan A. Recio-García

Method Summary
 void configure()
          Configures the application: case base, connectors, etc.
 void cycle(CBRQuery query)
          Executes a CBR cycle with the given query.
 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.
 

Method Detail

configure

void configure()
               throws ExecutionException
Configures the application: case base, connectors, etc.

Throws:
ExecutionException

preCycle

CBRCaseBase preCycle()
                     throws ExecutionException
Runs the precyle where typically cases are read and organized into a case base.

Returns:
The created case base with the cases in the storage.
Throws:
ExecutionException

cycle

void cycle(CBRQuery query)
           throws ExecutionException
Executes a CBR cycle with the given query.

Throws:
ExecutionException

postCycle

void postCycle()
               throws ExecutionException
Runs the code to shutdown the application. Typically it closes the connector.

Throws:
ExecutionException

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