| Modifier and Type | Method and Description |
|---|---|
Attribute |
CaseComponent.getIdAttribute()
Returns the attribute that identifies the component.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ObtainQueryWithFormMethod.obtainQueryWithInitialValues(CBRQuery query,
Collection<Attribute> hiddenAttributes,
Map<Attribute,String> labels)
Obtains a query showing the initial values of the received query object.
|
static void |
ObtainQueryWithFormMethod.obtainQueryWithInitialValues(CBRQuery query,
Collection<Attribute> hiddenAttributes,
Map<Attribute,String> labels)
Obtains a query showing the initial values of the received query object.
|
static void |
ObtainQueryWithFormMethod.obtainQueryWithoutInitialValues(CBRQuery query,
Collection<Attribute> hiddenAttributes,
Map<Attribute,String> labels)
Obtains a query without showing initila values.
|
static void |
ObtainQueryWithFormMethod.obtainQueryWithoutInitialValues(CBRQuery query,
Collection<Attribute> hiddenAttributes,
Map<Attribute,String> labels)
Obtains a query without showing initila values.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<RetrievalResult> |
ExpertClerkMedianScoring.getDiverseByMedian(Collection<CBRCase> cases,
NNConfig simConfig,
HashMap<Attribute,Double> thresholds)
Returns diverse cases using the ExpertClerk median method.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Attribute> |
FilterConfig.getDefinedAttributes()
Returns a list of attributres that have a predicate defined.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FilterConfig.addPredicate(Attribute attribute,
FilterPredicate predicate)
Adds a new predicate
|
FilterPredicate |
FilterConfig.getPredicate(Attribute attribute)
Gets the predicate for a given attribute
|
| Modifier and Type | Method and Description |
|---|---|
void |
NNConfig.addMapping(Attribute attribute,
GlobalSimilarityFunction similFunction)
Sets the global similarity function to apply to a compound attribute.
|
void |
NNConfig.addMapping(Attribute attribute,
LocalSimilarityFunction similFunction)
Sets the local similarity function to apply to a simple attribute.
|
GlobalSimilarityFunction |
NNConfig.getGlobalSimilFunction(Attribute attribute)
Gets the global similarity function configured for a given compound attribute.
|
LocalSimilarityFunction |
NNConfig.getLocalSimilFunction(Attribute attribute)
Gets the local similarity function configured for a given simple attribute.
|
Double |
NNConfig.getWeight(Attribute attribute)
Gets the weight for an attribute.
|
void |
NNConfig.setWeight(Attribute attribute,
Double weight)
Sets the weight for an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Attribute> |
CompromiseDrivenSelection.getCompromises(CBRCase _case,
CBRQuery query,
FilterConfig preferences)
Returns the compromises of a case
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DirectAttributeCopyMethod.copyAttribute(Attribute querySource,
Attribute caseDestination,
CBRQuery query,
Collection<CBRCase> cases)
Copies the value of the querySource attribute into the caseDestination attribute of the cases.
|
static void |
NumericDirectProportionMethod.directProportion(Attribute source,
Attribute destination,
CBRQuery query,
Collection<CBRCase> cases)
This method computes the proportion of the values of a source attibute in a query and a case, and modifies the destination attribute in the case with that proportion.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DefineNewIdsMethod.defineNewIdsMethod(CBRCase _case,
HashMap<Attribute,Object> componentsKeys)
Changes the values of the ID attributes of a case with new ones.
|
| Modifier and Type | Method and Description |
|---|---|
static Attribute[] |
AttributeUtils.getAttributes(Class<?> c)
Returns the list of attributes of a class.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Attribute> |
AttributeUtils.getAttributes(CaseComponent cc)
Returns the list of attributes of a CaseComponents and all its sub-caseComponents.
|
static Collection<Attribute> |
AttributeUtils.getAttributes(CaseComponent cc,
Class<?> _class)
Returns the list of attributes of a CaseComponents and all its sub-caseComponents which values are instance of a given class
|
| Modifier and Type | Method and Description |
|---|---|
static CaseComponent |
AttributeUtils.findBelongingComponent(Attribute at,
CaseComponent cc)
Finds the belonging component of an attribute.
|
static CaseComponent |
AttributeUtils.findBelongingComponent(Attribute at,
CBRCase c)
Similar to findBelongingComponent(Attribute, CaseComponent) as a CBRCase is a CaseComponent.
|
static CaseComponent |
AttributeUtils.findBelongingComponent(Attribute at,
CBRQuery q)
Similar to findBelongingComponent(Attribute, CaseComponent) as a CBRQuery is a CaseComponent.
|
static Object |
AttributeUtils.findValue(Attribute at,
CaseComponent cc)
Returns the value of an Attribute in a CaseComponent object.
|
static Object |
AttributeUtils.findValue(Attribute at,
CBRCase c)
Finds the value of an Attribute in a CBRCase object.
|
static Object |
AttributeUtils.findValue(Attribute at,
CBRQuery query)
Finds the value of an Attribute in a CBRQuery object.
|
static void |
AttributeUtils.setValue(Attribute at,
CaseComponent cc,
Object value)
Returns the value of an Attribute in a CaseComponent object.
|
static void |
AttributeUtils.setValue(Attribute at,
CBRCase c,
Object value)
Finds the value of an Attribute in a CBRCase object.
|
static void |
AttributeUtils.setValue(Attribute at,
CBRQuery query,
Object value)
Finds the value of an Attribute in a CBRQuery object.
|
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.