|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.common.crn.CRNCaseBase
public class CRNCaseBase
Method Summary | |
---|---|
void |
close()
DeInitializes the case base. |
void |
createCRN()
|
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 |
static CRNCaseBase |
getInstance()
|
double |
getSimilarity(IEText queryText,
Attribute textualAttribute,
java.lang.Object caseId)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CRNCaseBase getInstance()
public void init(Connector connector)
CBRCaseBase
init
in interface CBRCaseBase
public void close()
CBRCaseBase
close
in interface CBRCaseBase
public void forgetCases(java.util.Collection<CBRCase> cases)
CBRCaseBase
forgetCases
in interface CBRCaseBase
cases
- to be removedpublic java.util.Collection<CBRCase> getCases()
CBRCaseBase
getCases
in interface CBRCaseBase
public java.util.Collection<CBRCase> getCases(CaseBaseFilter filter)
CBRCaseBase
getCases
in interface CBRCaseBase
filter
- a case base filter
public void learnCases(java.util.Collection<CBRCase> cases)
CBRCaseBase
learnCases
in interface CBRCaseBase
cases
- to be addedpublic void createCRN()
public double getSimilarity(IEText queryText, Attribute textualAttribute, java.lang.Object caseId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |