| Modifier and Type | Method and Description |
|---|---|
void |
StandardCBRApplication.cycle(CBRQuery query)
Executes a CBR cycle with the given query.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CBRCase
Interface that represents any Case structure of jCOLIBRI.
|
| Modifier and Type | Method and Description |
|---|---|
static CBRQuery |
QuerySerializer.deserializeQuery(String filename) |
| Modifier and Type | Method and Description |
|---|---|
static void |
QuerySerializer.serializeQuery(CBRQuery query,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
DetailedEvaluationReport.addDataToSeries(String label,
CBRQuery query,
Double value)
Adds the given query and value to the series labelled by the given label.
|
| 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.obtainQueryWithoutInitialValues(CBRQuery query,
Collection<Attribute> hiddenAttributes,
Map<Attribute,String> labels)
Obtains a query without showing initila values.
|
| Modifier and Type | Field and Description |
|---|---|
protected CBRQuery |
QueryResult._case |
| Modifier and Type | Method and Description |
|---|---|
CBRQuery |
QueryResult.getCase()
Returns the case.
|
| Constructor and Description |
|---|
QueryResult(CBRQuery _case,
double result)
Sets up a
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<CBRCase> |
FilterBasedRetrievalMethod.filterCases(Collection<CBRCase> cases,
CBRQuery query,
FilterConfig filterConfig)
Retrieves cases that match with the given predicates in filter config
|
| Modifier and Type | Method and Description |
|---|---|
static List<RetrievalResult> |
NNScoringMethod.evaluateSimilarity(Collection<CBRCase> cases,
CBRQuery query,
NNConfig simConfig)
Performs the NN scoring over a collection of cases comparing them with a query.
|
| Modifier and Type | Field and Description |
|---|---|
protected CBRQuery |
InContextLocalSimilarityFunction._query
query that this attribute belongs to
|
| Modifier and Type | Method and Description |
|---|---|
double |
GlobalSimilarityFunction.compute(CaseComponent componentOfCase,
CaseComponent componentOfQuery,
CBRCase _case,
CBRQuery _query,
NNConfig numSimConfig)
Computes the global simliarity between two compound attributes.
|
double |
StandardGlobalSimilarityFunction.compute(CaseComponent componentOfCase,
CaseComponent componentOfQuery,
CBRCase _case,
CBRQuery _query,
NNConfig numSimConfig)
Computes the similarities of the sub-attributes of this CaseComponent and calls the computeSimilarity() method with those values.
|
void |
InContextLocalSimilarityFunction.setContext(CaseComponent componentOfCase,
CaseComponent componentOfQuery,
CBRCase _case,
CBRQuery _query,
String attributeName)
Method used by the StandardGlobalSimilarityFunction (or any other future implementation of the GlobalSimilarityFunction)
to set the context of this LocalSimilarityFunction.
|
| Modifier and Type | Method and Description |
|---|---|
static CDRSet |
CompromiseDrivenSelection.CDR(CBRQuery query,
Collection<RetrievalResult> cases,
FilterConfig preferences)
Returns a list of cases according with their compromises and similarity
|
static Set<Attribute> |
CompromiseDrivenSelection.getCompromises(CBRCase _case,
CBRQuery query,
FilterConfig preferences)
Returns the compromises of a case
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<CBRCase> |
BoundedGreedySelection.boundedGreddySelection(Collection<RetrievalResult> cases,
CBRQuery query,
NNConfig simConfig,
int k,
int bound)
Executes the algorithm
|
static Collection<CBRCase> |
BoundedRandomSelection.boundedRandomSelection(Collection<RetrievalResult> cases,
CBRQuery query,
int k,
int bound)
Executes the algorithm.
|
static CBRCase |
GreedySelection.getMoreQuality(CBRQuery query,
Collection<CBRCase> cases,
Collection<CBRCase> R,
NNConfig simConfig)
Returns the case with more quality.
|
static List<CBRCase> |
GreedySelection.greedySelection(Collection<RetrievalResult> cases,
CBRQuery query,
NNConfig simConfig,
int k)
Executes the greedy selection algorithm
|
| Modifier and Type | Method and Description |
|---|---|
static List<CBRCase> |
CombineQueryAndCasesMethod.combine(CBRQuery query,
Collection<CBRCase> cases)
Combienes some cases with a query.
|
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 |
|---|---|
CBRCase |
KNNClassificationMethod.getPredictedCase(CBRQuery query,
Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type and returns a case that has the
query description and the predicted solution.
|
CBRCase |
AbstractKNNClassificationMethod.getPredictedCase(CBRQuery query,
Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type and returns a case that has the
query description and the predicted solution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
BasicClassificationOracle.getPredictionCost(CBRQuery query,
CBRCaseBase caseBase,
KNNClassificationConfig knnConfig)
Calculates the cost of the prediction made by the given case-base and
similarity configuration for the solution of the query.
|
double |
ClassificationOracle.getPredictionCost(CBRQuery query,
CBRCaseBase caseBase,
KNNClassificationConfig knnConfig)
Calculates the cost of the prediction made by the given case-base and
similarity configuration for the solution of the query.
|
boolean |
BasicClassificationOracle.isCorrectPrediction(CBRQuery query,
CBRCaseBase caseBase,
KNNClassificationConfig knnConfig)
Checks if the query is correctly classified by the given case-base and
similarity configuration.
|
boolean |
ClassificationOracle.isCorrectPrediction(CBRQuery query,
CBRCaseBase caseBase,
KNNClassificationConfig knnConfig)
Checks if the query is correctly classified by the given case-base and
similarity configuration.
|
| Modifier and Type | Method and Description |
|---|---|
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,
CBRQuery query)
Finds the value of an Attribute in a CBRQuery 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.