| 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.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.similarity |
Contains standard classes to maintain similarity functions for
attribute descriptions (local similarity functions) and concepts (amalgamation functions).
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Project.getSpecialAttribute(java.lang.String obj)
Returns the
SpecialAttribute object corresponding to
the given string. |
| Modifier and Type | Method and Description |
|---|---|
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 | Class and Description |
|---|---|
class |
DateAttribute
Represents date attributes.
|
class |
DoubleAttribute
Represents integers in query/cases.
|
class |
FloatAttribute
Represents integers in query/cases.
|
class |
Instance
Represents values occurring in query and or cases.
|
class |
IntegerAttribute
Represents integers in query/cases.
|
class |
IntervalAttribute
Represents intervals as values in query/case.
|
class |
MultipleAttribute<Type extends AttributeDesc>
Represents sets of values in query/case.
|
class |
SimpleAttribute
Represents values occurring in query and or cases.
|
class |
SpecialAttribute
Represents special values in queries or cases.
|
class |
StringAttribute
Represents strings used in query/cases.
|
class |
SymbolAttribute
Represents values of symbol attribute descriptions (for example: color could
have green, blue, red, ...
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Instance.getAttForDesc(AttributeDesc attDesc)
Returns the attribute for the given description.
|
abstract Attribute |
Range.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
SymbolRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
StringRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
IntervalRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
DateRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
IntegerRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
SpecialRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
DoubleRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
ConceptRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
FloatRange.getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified
Object obj. |
Attribute |
StringRange.parseValue(java.lang.String string) |
Attribute |
IntervalRange.parseValue(java.lang.String string) |
Attribute |
DateRange.parseValue(java.lang.String string) |
Attribute |
IntegerRange.parseValue(java.lang.String string) |
Attribute |
DoubleRange.parseValue(java.lang.String string) |
Attribute |
ConceptRange.parseValue(java.lang.String s) |
Attribute |
FloatRange.parseValue(java.lang.String string) |
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<AttributeDesc,Attribute> |
Instance.getAttributes()
Gets all the attribute values for this c.
|
java.util.List<Attribute> |
MultipleAttribute.getValues()
Gets the list of values for this attribute.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Instance.addAttribute(AttributeDesc desc,
Attribute a) |
boolean |
Instance.addAttribute(java.lang.String n,
Attribute a)
Sets the value of the attribute specified by desc to att.
|
void |
MultipleAttribute.addValue(Attribute value)
Adds the given attribute to the list of values for this attribute.
|
void |
MultipleAttribute.removeValue(Attribute value)
Adds the given attribute to the list of values for this attribute.
|
| Constructor and Description |
|---|
MultipleAttribute(Type desc,
java.util.LinkedList<Attribute> l1)
Initializes this with empty value.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AttributeDesc.getAttribute(java.lang.Object value) |
Attribute |
BooleanDesc.getAttribute(java.lang.Object value)
Returns
SymbolAttribute object representing the specified
value. |
Attribute |
SpecialDesc.getAttribute(java.lang.String value)
Returns
SymbolAttribute object representing the specified
value. |
Attribute |
SymbolDesc.getAttribute(java.lang.String value)
Returns
SymbolAttribute object representing the specified
value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConceptDesc.fits(Attribute att) |
boolean |
AttributeDesc.fits(Attribute att)
Checks whether the given attribute
fits this.
|
boolean |
DateDesc.fits(Attribute att) |
boolean |
IntervalDesc.fits(Attribute att) |
boolean |
SymbolDesc.fits(Attribute att) |
boolean |
IntegerDesc.fits(Attribute att) |
boolean |
DoubleDesc.fits(Attribute att) |
boolean |
FloatDesc.fits(Attribute att) |
boolean |
ConceptDesc.fitsSingle(Attribute att) |
boolean |
AttributeDesc.fitsSingle(Attribute att)
Checks whether a single attribute fits the constraints for this.
|
boolean |
DateDesc.fitsSingle(Attribute att) |
boolean |
IntervalDesc.fitsSingle(Attribute att) |
boolean |
SymbolDesc.fitsSingle(Attribute att) |
boolean |
IntegerDesc.fitsSingle(Attribute att) |
boolean |
DoubleDesc.fitsSingle(Attribute att) |
boolean |
FloatDesc.fitsSingle(Attribute att) |
| 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.
|
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.
|