| Package | Description |
|---|---|
| de.dfki.mycbr.core |
Contains all classes that represent core functionality of a CBR application
such as the domain model, case bases, similarity functions and retrieval algorithms.
|
| de.dfki.mycbr.core.casebase |
Contains classes for the basic definition of
DefaultCaseBase objects. |
| de.dfki.mycbr.core.explanation |
Explanations provide additional information on all
myCBR concepts.
|
| de.dfki.mycbr.core.model |
Contains classes for the basic definition of the project's model.
The model is represented as a tree-like structure representing an inheritance hierarchy. |
| de.dfki.mycbr.core.retrieval |
All retrieval algorithms extend the abstract class
RetrievalEngine
and can be used within Retrieval objects to obtain the retrieval results
(possibly ordered pairs of case and corresponding similarity). |
| Modifier and Type | Method and Description |
|---|---|
Instance |
DefaultCaseBase.containsCase(java.lang.String caseName)
Tells whether this case base contains a case with the given name.
|
Instance |
ICaseBase.containsCase(java.lang.String name)
Returns true, if the case base contains a case with the given name.
|
Instance |
Project.getInstance(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Instance> |
Project.getAllInstances()
Returns all instances that are known for this project.
|
java.util.Collection<Instance> |
DefaultCaseBase.getCases()
Returns the list of cases known for this case base
|
java.util.Collection<Instance> |
ICaseBase.getCases()
Returns all cases known for this case base.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCaseBase.addCase(Instance caze)
Adds a new case to the list of known cases for the given description.
|
void |
ICaseBase.addCase(Instance caze) |
boolean |
DefaultCaseBase.removeCase(Instance c)
Removes the given c attribute from the list of known cases.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
ConceptRange.contains(java.lang.String name)
Returns the ConceptAttribute associated with the given String.
|
Instance |
ConceptRange.getInstance(java.lang.String name)
Returns the ConceptAttribute associated with the given String.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Instance> |
ConceptRange.getInstances()
Gets the current c attributes maintained by this range.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConceptRange.add(Instance i) |
| Modifier and Type | Method and Description |
|---|---|
ConceptExplanation |
ExplanationManager.explain(Instance i,
java.lang.String description) |
ConceptExplanation |
ExplanationManager.getExplanation(Instance i) |
void |
ExplanationManager.setExplanation(ConceptExplanation exp,
Instance i) |
| Modifier and Type | Method and Description |
|---|---|
Instance |
Concept.addInstance(java.lang.String name)
Adds a new instance to this concept's range.
|
Instance |
Concept.copyInstance(Instance original,
java.lang.String newName) |
Instance |
Concept.getInstance(java.lang.String name)
Returns the instance of this with name name and null
if there is none.
|
Instance |
Concept.getQueryInstance()
Returns a new instance that can be used as a query object
for retrieval.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Instance> |
Concept.getAllInstances()
Get all instances known for this concept
including instances of sub concepts.
|
java.util.Collection<Instance> |
Concept.getDirectInstances()
Returns the instances of this concept.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Concept.addInstance(Instance i)
Adds the given instance to this concept's range.
|
Instance |
Concept.copyInstance(Instance original,
java.lang.String newName) |
| Modifier and Type | Method and Description |
|---|---|
Instance |
RetrievalEngine.getCurrentCase() |
Instance |
Retrieval.getQueryInstance() |
Instance |
Retrieval.resetQuery()
Set all attributes to undefined
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Pair<Instance,Similarity>> |
Retrieval.getResult() |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieve(ICaseBase cb,
Instance q) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieve(ICaseBase cb,
Instance q) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveK(ICaseBase cb,
Instance q,
int k) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveK(ICaseBase cb,
Instance q,
int k) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveKSorted(ICaseBase cb,
Instance q,
int k) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveKSorted(ICaseBase cb,
Instance q,
int k) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveSorted(ICaseBase cb,
Instance q) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveSorted(ICaseBase cb,
Instance q) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieve(ICaseBase cb,
Instance q) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieve(ICaseBase cb,
Instance q) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveK(ICaseBase cb,
Instance q,
int k) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveK(ICaseBase cb,
Instance q,
int k) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveKSorted(ICaseBase cb,
Instance q,
int k) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveKSorted(ICaseBase cb,
Instance q,
int k) |
java.util.List<Pair<Instance,Similarity>> |
SequentialRetrieval.retrieveSorted(ICaseBase cb,
Instance q) |
abstract java.util.List<Pair<Instance,Similarity>> |
RetrievalEngine.retrieveSorted(ICaseBase cb,
Instance q) |
void |
RetrievalEngine.setCurrentCase(Instance c) |