|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CBRCaseBase
This interface defines the methods that at least any Case Base must implement to be transparently used by the framework.
A Case Base is the in-memory organization of the cases. Cases are read from the persistence media an loaded into an implementation of this interface. Further implementations will provide cache mechanisms, optimized organizations, etc.
Method Summary | |
---|---|
void |
close()
DeInitializes the case base. |
void |
forgetCases(java.util.Collection<CBRCase> cases)
Removes a collection of new CBRCase objects to the current case base |
java.util.Collection<CBRCase> |
getCases()
Returns all the cases available on this case base |
java.util.Collection<CBRCase> |
getCases(CaseBaseFilter filter)
Returns some cases depending on the filter |
void |
init(Connector connector)
Initializes the case base. |
void |
learnCases(java.util.Collection<CBRCase> cases)
Adds a collection of new CBRCase objects to the current case base |
Method Detail |
---|
void init(Connector connector) throws InitializingException
InitializingException
void close()
java.util.Collection<CBRCase> getCases()
java.util.Collection<CBRCase> getCases(CaseBaseFilter filter)
filter
- a case base filter
void learnCases(java.util.Collection<CBRCase> cases)
cases
- to be addedvoid forgetCases(java.util.Collection<CBRCase> cases)
cases
- to be removed
|
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 |