public class IDIndexedLinealCaseBase extends Object implements CBRCaseBase
| Constructor and Description |
|---|
IDIndexedLinealCaseBase() |
| 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
|
CBRCase |
getCase(Object id)
Returns the case that corresponds with the id parameter.
|
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
|
public IDIndexedLinealCaseBase()
public void init(Connector connector)
CBRCaseBaseinit in interface CBRCaseBasepublic void close()
CBRCaseBaseclose in interface CBRCaseBasepublic void forgetCases(Collection<CBRCase> cases)
CBRCaseBaseforgetCases in interface CBRCaseBasecases - to be removedpublic Collection<CBRCase> getCases()
CBRCaseBasegetCases in interface CBRCaseBasepublic Collection<CBRCase> getCases(CaseBaseFilter filter)
CBRCaseBasegetCases in interface CBRCaseBasefilter - a case base filterpublic void learnCases(Collection<CBRCase> cases)
CBRCaseBaselearnCases in interface CBRCaseBasecases - to be addedCopyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.