| 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.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). |
| de.dfki.mycbr.core.similarity |
Contains standard classes to maintain similarity functions for
attribute descriptions (local similarity functions) and concepts (amalgamation functions).
|
| de.dfki.mycbr.core.similarity.config |
Contains various enumerations specifying configurations
for the corresponding similarity function.
|
| Modifier and Type | Method and Description |
|---|---|
Similarity |
Project.calculateMultipleAttributeSimilarity(java.lang.Object simFct,
MultipleAttribute<?> att1,
MultipleAttribute<?> att2)
Calculates the similarity of the given
MultipleAttribute objects
based on the given similarity function. |
Similarity |
Project.calculateSpecialSimilarity(Attribute att1,
Attribute att2)
Calculates the similarity of the given attributes by calling the
calculateSimilarity method of the appropriate similarity function.
|
Similarity |
Project.getLocalSimilarity(Attribute a,
Attribute b,
AttributeDesc desc)
For displaying local similarities.
|
| Modifier and Type | Method and Description |
|---|---|
Similarity |
SpecialAttribute.calculateSimilarity(SimpleAttribute att)
Returns similarity of this attribute to the given attribute.
|
| 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 | Field and Description |
|---|---|
static Similarity |
Similarity.INVALID_SIM |
| Modifier and Type | Method and Description |
|---|---|
Similarity |
AdvancedFloatFct.calculateSimilarity(Attribute a1,
Attribute a2)
Calculates the similarity of the specified attributes
using the interpolated function.
|
Similarity |
DateFct.calculateSimilarity(Attribute value1,
Attribute value2) |
Similarity |
IntervalFct.calculateSimilarity(Attribute value1,
Attribute value2) |
Similarity |
ISimFct.calculateSimilarity(Attribute value1,
Attribute value2)
Computes the similarity of value1 and value2.
|
Similarity |
AmalgamationFct.calculateSimilarity(Attribute value1,
Attribute value2)
Returns the similarity of the given SimpleAttribute objects.
|
Similarity |
StringFct.calculateSimilarity(Attribute value1,
Attribute value2)
Calculates the similarity of the given attributes.
|
Similarity |
AdvancedIntegerFct.calculateSimilarity(Attribute a1,
Attribute a2)
Calculates the similarity of the specified attributes
using the interpolated function.
|
Similarity |
SymbolFct.calculateSimilarity(Attribute attribute,
Attribute attribute2)
Returns the similarity of the given attributes.
|
Similarity |
FloatFct.calculateSimilarity(Attribute a1,
Attribute a2)
Returns the similarity of the given attributes.
|
Similarity |
AdvancedDoubleFct.calculateSimilarity(Attribute a1,
Attribute a2)
Calculates the similarity of the specified attributes
using the interpolated function.
|
Similarity |
IntegerFct.calculateSimilarity(Attribute a1,
Attribute a2)
Returns the similarity of the given attributes.
|
Similarity |
DoubleFct.calculateSimilarity(Attribute a1,
Attribute a2)
Returns the similarity of the given attributes.
|
Similarity |
AdvancedDoubleFct.calculateSimilarity(double q,
double c) |
Similarity |
DoubleFct.calculateSimilarity(java.lang.Double value1,
java.lang.Double value2)
Calculates the similarity of the given Floats.
|
Similarity |
AdvancedFloatFct.calculateSimilarity(float q,
float c) |
Similarity |
FloatFct.calculateSimilarity(java.lang.Float value1,
java.lang.Float value2)
Calculates the similarity of the given Floats.
|
Similarity |
IntegerFct.calculateSimilarity(java.lang.Integer value1,
java.lang.Integer value2)
Calculates the similarity of the given Integers.
|
Similarity |
AdvancedIntegerFct.calculateSimilarity(int q,
int c) |
Similarity |
SpecialFct.calculateSimilarity(SpecialAttribute att1,
SpecialAttribute att2)
Returns the similarity of the given attributes.
|
Similarity |
SymbolFct.calculateSimilarity(java.lang.String value1,
java.lang.String value2)
Returns the similarity of the given attributes.
|
static Similarity |
Similarity.get(java.lang.Double d)
Initializes this with d
|
Similarity |
Taxonomy.getSimilarity(TaxonomyNode obj)
Returns the Similarity object that corresponds to obj.
|
Similarity |
TaxonomyFct.getSimilarity(TaxonomyNode node) |
| Modifier and Type | Method and Description |
|---|---|
java.util.TreeMap<java.lang.Double,Similarity> |
AdvancedFloatFct.getAdditionalPoints()
Returns the map of additional point used to interpolate this function
Points are pairs of a double value and a similarity
|
java.util.TreeMap<java.lang.Double,Similarity> |
AdvancedIntegerFct.getAdditionalPoints()
Returns the map of additional point used to interpolate this function
Points are pairs of a double value and a similarity
|
java.util.TreeMap<java.lang.Double,Similarity> |
AdvancedDoubleFct.getAdditionalPoints()
Returns the map of additional point used to interpolate this function
Points are pairs of a double value and a similarity
|
java.util.HashMap<TaxonomyNode,Similarity> |
Taxonomy.getSimilarityMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
AdvancedFloatFct.addAdditionalPoint(java.lang.Double key,
Similarity value)
Adds the specified point to the list of additional points.
|
void |
AdvancedIntegerFct.addAdditionalPoint(java.lang.Double key,
Similarity value)
Adds the specified point to the list of additional points.
|
void |
AdvancedDoubleFct.addAdditionalPoint(java.lang.Double key,
Similarity value)
Adds the specified point to the list of additional points.
|
boolean |
Similarity.equals(Similarity sim)
Compares this to another similarity.
|
void |
TaxonomyFct.setNodeSimilarity(TaxonomyNode att,
Similarity sim) |
boolean |
OrderedSymbolFct.setSimilarity(Attribute att1,
Attribute att2,
Similarity sim) |
boolean |
SymbolFct.setSimilarity(Attribute att1,
Attribute att2,
Similarity sim)
Sets the similarity of att1 and att2 to sim.
|
boolean |
OrderedSymbolFct.setSimilarity(java.lang.String symbol1,
java.lang.String symbol2,
Similarity sim) |
boolean |
SymbolFct.setSimilarity(java.lang.String symbol1,
java.lang.String symbol2,
Similarity sim)
Sets the similarity the given symbols to sim.
|
| Modifier and Type | Method and Description |
|---|---|
Similarity |
MultipleConfig.calculateSimilarity(AmalgamationFct innerFct,
MultipleAttribute<?> value1,
MultipleAttribute<?> value2) |
Similarity |
MultipleConfig.calculateSimilarity(ISimFct innerFunction,
MultipleAttribute<?> value1,
MultipleAttribute<?> value2) |