public interface CBRCaseBase
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.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
DeInitializes the case base.
|
void |
forgetCases(Collection<CBRCase> cases)
Removes a collection of new CBRCase objects to the current case base
|
Collection<CBRCase> |
getCases()
Returns all the cases available on this case base
|
Collection<CBRCase> |
getCases(CaseBaseFilter filter)
Returns some cases depending on the filter
|
void |
init(Connector connector)
Initializes the case base.
|
void |
learnCases(Collection<CBRCase> cases)
Adds a collection of new CBRCase objects to the current case base
|
void init(Connector connector) throws InitializingException
InitializingExceptionvoid close()
Collection<CBRCase> getCases()
Collection<CBRCase> getCases(CaseBaseFilter filter)
filter - a case base filtervoid learnCases(Collection<CBRCase> cases)
cases - to be addedvoid forgetCases(Collection<CBRCase> cases)
cases - to be removedCopyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.