| 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.similarity |
Contains standard classes to maintain similarity functions for
attribute descriptions (local similarity functions) and concepts (amalgamation functions).
|
| de.dfki.mycbr.io |
Contains classes that handle import and export of relevant CBR application
data.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<java.lang.String,AttributeDesc> |
Project.getAllAttributeDescs() |
java.util.LinkedList<AttributeDesc> |
Project.getAttDescsByName(java.lang.String name)
Returns a list of attribute descriptions with the given name.
|
java.util.HashMap<java.lang.String,AttributeDesc> |
Project.getAttributeDescs() |
| Modifier and Type | Method and Description |
|---|---|
void |
Project.addAttributeDesc(AttributeDesc desc) |
void |
Project.cleanInstances(Concept c,
AttributeDesc desc)
Cleans all instances known for concept c.
|
Similarity |
Project.getLocalSimilarity(Attribute a,
Attribute b,
AttributeDesc desc)
For displaying local similarities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultipleAttribute<Type extends AttributeDesc>
Represents sets of values in query/case.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDesc |
SimpleAttribute.getAttributeDesc()
Gets the description for this attribute to determine similarity functions
or restrictions for the value of this attribute.
|
AttributeDesc |
SimpleAttribute.getDesc() |
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<AttributeDesc,Attribute> |
Instance.getAttributes()
Gets all the attribute values for this c.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Instance.addAttribute(AttributeDesc desc,
Attribute a) |
boolean |
Instance.addAttribute(AttributeDesc desc,
java.lang.Object value) |
void |
Instance.clean(AttributeDesc desc) |
Attribute |
Instance.getAttForDesc(AttributeDesc attDesc)
Returns the attribute for the given description.
|
void |
Instance.removeAttribute(AttributeDesc desc)
Removes the given attribute.
|
void |
ConceptRange.setAllInstancesMultiple(AttributeDesc d)
Called when changing the description from having single to multiple values.
|
void |
ConceptRange.setAllInstancesSingle(AttributeDesc d)
Called when changing the description from having multiple to single values.
|
void |
SimpleAttribute.setDesc(AttributeDesc d) |
| Modifier and Type | Method and Description |
|---|---|
ConceptExplanation |
ExplanationManager.explain(AttributeDesc desc,
java.lang.String description) |
ConceptExplanation |
ExplanationManager.getExplanation(AttributeDesc desc) |
void |
ExplanationManager.setExplanation(ConceptExplanation exp,
AttributeDesc desc) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanDesc
Description for boolean attributes.
|
class |
ConceptDesc
The vocabulary of a myCBR project consists of several attribute descriptions
which describe a tree like structure as a class hierarchy (with composition
and inheritance).
|
class |
DateDesc
Description for date attributes.
|
class |
DoubleDesc
Description for Number attributes.
|
class |
FloatDesc
Description for Number attributes.
|
class |
IntegerDesc
Description for Integer attributes.
|
class |
IntervalDesc
The allow computation of similarity between intervals there must be a minimal
and a maximal value that restrict the possible interval bounds.
|
class |
SimpleAttDesc
You can either define simple attribute descriptions, or
concept descriptions.
|
class |
SpecialDesc
Special values are values that can be used for any
attribute description.
|
class |
StringDesc
Description for string attributes.
|
class |
SymbolDesc
Description for symbol attributes.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDesc |
Concept.getAttributeDesc(java.lang.String name)
Returns the attribute description with the given name visible in this concept.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<java.lang.String,AttributeDesc> |
Concept.getAllAttributeDescs()
Gets the attribute descriptions of this c including inherited
attributes.
|
java.util.HashMap<java.lang.String,AttributeDesc> |
Concept.getAttributeDescs()
Gets the attribute descriptions of this c
Be aware that the inherited attribute descriptions are not returned by
this method.
|
java.util.Vector<AttributeDesc> |
Concept.getAttributesOfSubDescsForName(java.lang.String name)
Searches for an attribute with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Concept.addAttributeDesc(AttributeDesc desc)
Adds given description as attribute description to current c
description.
|
boolean |
ConceptDesc.canOverride(AttributeDesc desc) |
abstract boolean |
AttributeDesc.canOverride(AttributeDesc desc)
Checks whether this attribute description
can override the given attribute description
|
abstract boolean |
SimpleAttDesc.canOverride(AttributeDesc desc) |
boolean |
DateDesc.canOverride(AttributeDesc desc) |
boolean |
BooleanDesc.canOverride(AttributeDesc desc) |
boolean |
IntervalDesc.canOverride(AttributeDesc desc) |
boolean |
SymbolDesc.canOverride(AttributeDesc desc) |
boolean |
IntegerDesc.canOverride(AttributeDesc desc) |
boolean |
DoubleDesc.canOverride(AttributeDesc desc) |
boolean |
FloatDesc.canOverride(AttributeDesc desc) |
boolean |
StringDesc.canOverride(AttributeDesc desc)
Checks whether this can override the given description.
|
void |
Concept.setAllInstancesMultiple(AttributeDesc desc) |
void |
Concept.setAllInstancesSingle(AttributeDesc desc) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDesc |
DateFct.getDesc() |
AttributeDesc |
IntervalFct.getDesc() |
AttributeDesc |
ISimFct.getDesc()
Returns the description of the attributes which can be compared
using this function
|
AttributeDesc |
NumberFct.getDesc() |
AttributeDesc |
StringFct.getDesc() |
| Modifier and Type | Method and Description |
|---|---|
void |
AdvancedFloatFct.clone(AttributeDesc descNEW,
boolean active) |
void |
DateFct.clone(AttributeDesc descNEW,
boolean active) |
void |
IntervalFct.clone(AttributeDesc descNEW,
boolean active) |
void |
OrderedSymbolFct.clone(AttributeDesc descNEW,
boolean active) |
void |
ISimFct.clone(AttributeDesc descNEW,
boolean active)
Creates a new function which is the same function
as this but with a different description, namely descNEW.
|
void |
StringFct.clone(AttributeDesc descNEW,
boolean active) |
void |
AdvancedIntegerFct.clone(AttributeDesc descNEW,
boolean active) |
void |
SymbolFct.clone(AttributeDesc descNEW,
boolean active) |
void |
FloatFct.clone(AttributeDesc descNEW,
boolean active) |
void |
AdvancedDoubleFct.clone(AttributeDesc descNEW,
boolean active) |
void |
IntegerFct.clone(AttributeDesc descNEW,
boolean active) |
void |
TaxonomyFct.clone(AttributeDesc descNEW,
boolean active) |
void |
DoubleFct.clone(AttributeDesc descNEW,
boolean active) |
java.lang.Object |
AmalgamationFct.getActiveFct(AttributeDesc att)
Gets the active similarity function for this attribute description.
|
java.lang.Number |
AmalgamationFct.getWeight(AttributeDesc desc) |
java.lang.Boolean |
AmalgamationFct.isActive(AttributeDesc att)
Attributes may be inactive, meaning that they appear in the model but
should not be used for similarity computations.
|
void |
AmalgamationFct.remove(AttributeDesc desc) |
void |
AmalgamationFct.setActive(AttributeDesc att,
boolean active)
Sets this attribute to active or inactive.
|
void |
AmalgamationFct.setActiveFct(AttributeDesc att,
java.lang.Object activeSim)
Sets the active similarity function for this attribute description to
activeSim.
|
void |
AmalgamationFct.setWeight(AttributeDesc attDesc,
java.lang.Number weight)
Sets the weight of the given attribute to weight.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<AttributeDesc,java.lang.Integer> |
CSVImporter.getIndexToDescMap() |
java.util.HashSet<Pair<java.lang.String,AttributeDesc>> |
CSVImporter.getInvalidValues() |