| Modifier and Type | Method and Description |
|---|---|
CBRCase |
IDIndexedLinealCaseBase.getCase(Object id)
Returns the case that corresponds with the id parameter.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CBRCase> |
LinealCaseBase.getCases() |
Collection<CBRCase> |
IDIndexedLinealCaseBase.getCases() |
Collection<CBRCase> |
CachedLinealCaseBase.getCases()
Returns working cases.
|
Collection<CBRCase> |
LinealCaseBase.getCases(CaseBaseFilter filter) |
Collection<CBRCase> |
IDIndexedLinealCaseBase.getCases(CaseBaseFilter filter) |
Collection<CBRCase> |
CachedLinealCaseBase.getCases(CaseBaseFilter filter)
TODO.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LinealCaseBase.forgetCases(Collection<CBRCase> cases) |
void |
IDIndexedLinealCaseBase.forgetCases(Collection<CBRCase> cases) |
void |
CachedLinealCaseBase.forgetCases(Collection<CBRCase> cases)
Forgets cases.
|
void |
LinealCaseBase.learnCases(Collection<CBRCase> cases) |
void |
IDIndexedLinealCaseBase.learnCases(Collection<CBRCase> cases) |
void |
CachedLinealCaseBase.learnCases(Collection<CBRCase> cases)
Learns cases that are only saved when closing the Case Base.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CBRCase> |
CBRCaseBase.getCases()
Returns all the cases available on this case base
|
Collection<CBRCase> |
CBRCaseBase.getCases(CaseBaseFilter filter)
Returns some cases depending on the filter
|
Collection<CBRCase> |
Connector.retrieveAllCases()
Returns max cases without any special consideration
|
Collection<CBRCase> |
Connector.retrieveSomeCases(CaseBaseFilter filter)
Retrieves some cases depending on the filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connector.deleteCases(Collection<CBRCase> cases)
Deletes given cases for the storage media
|
void |
CBRCaseBase.forgetCases(Collection<CBRCase> cases)
Removes a collection of new CBRCase objects to the current case base
|
void |
CBRCaseBase.learnCases(Collection<CBRCase> cases)
Adds a collection of new CBRCase objects to the current case base
|
void |
Connector.storeCases(Collection<CBRCase> cases)
Stores given classes on the storage media
|
| Modifier and Type | Method and Description |
|---|---|
List<CBRCase> |
OntologyConnector.retrieveAllCases() |
List<CBRCase> |
PlainTextConnector.retrieveAllCases()
Retrieves all cases from the text file.
|
Collection<CBRCase> |
DataBaseConnector.retrieveAllCases() |
List<CBRCase> |
OntologyConnector.retrieveSomeCases(CaseBaseFilter filter)
UnImplemented.
|
List<CBRCase> |
PlainTextConnector.retrieveSomeCases(CaseBaseFilter filter) |
List<CBRCase> |
DataBaseConnector.retrieveSomeCases(CaseBaseFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
OntologyConnector.deleteCases(Collection<CBRCase> cases)
Deletes cases in the ontology.
|
void |
PlainTextConnector.deleteCases(Collection<CBRCase> cases)
Deletes cases from the case base.
|
void |
DataBaseConnector.deleteCases(Collection<CBRCase> cases) |
void |
OntologyConnector.storeCases(Collection<CBRCase> cases)
Stores cases into the ontology.
|
void |
PlainTextConnector.storeCases(Collection<CBRCase> cases)
Stores the cases in the data base.
|
void |
DataBaseConnector.storeCases(Collection<CBRCase> cases) |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<ArrayList<CBRCase>> |
NFoldEvaluator._folds |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NFoldEvaluator.createFolds(Collection<CBRCase> cases,
int folds) |
protected void |
NFoldEvaluator.getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet) |
protected void |
NFoldEvaluator.getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet) |
protected void |
SameSplitEvaluator.save(Collection<CBRCase> queries,
String filename) |
protected void |
HoldOutEvaluator.splitCaseBase(Collection<CBRCase> holeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
HoldOutEvaluator.splitCaseBase(Collection<CBRCase> holeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
HoldOutEvaluator.splitCaseBase(Collection<CBRCase> holeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
SameSplitEvaluator.splitCaseBase(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
SameSplitEvaluator.splitCaseBase(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
SameSplitEvaluator.splitCaseBase(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
protected void |
SameSplitEvaluator.splitCaseBaseFromFile(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename) |
protected void |
SameSplitEvaluator.splitCaseBaseFromFile(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename) |
protected void |
SameSplitEvaluator.splitCaseBaseFromFile(Collection<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<ArrayList<CBRCase>> |
MaintenanceNFoldEvaluator.createFolds(Collection<CBRCase> cases,
int numFolds)
Divides the given cases into the given number of folds.
|
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<ArrayList<CBRCase>> |
MaintenanceNFoldEvaluator.createFolds(Collection<CBRCase> cases,
int numFolds)
Divides the given cases into the given number of folds.
|
static void |
MaintenanceNFoldEvaluator.getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet,
ArrayList<ArrayList<CBRCase>> folds)
Clears the current query and case base sets and populates the query set with fold
f and the case base set with the cases not contained in fold f.
|
static void |
MaintenanceNFoldEvaluator.getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet,
ArrayList<ArrayList<CBRCase>> folds)
Clears the current query and case base sets and populates the query set with fold
f and the case base set with the cases not contained in fold f.
|
static void |
MaintenanceNFoldEvaluator.getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet,
ArrayList<ArrayList<CBRCase>> folds)
Clears the current query and case base sets and populates the query set with fold
f and the case base set with the cases not contained in fold f.
|
protected void |
MaintenanceNFoldEvaluator.prepareCases(Collection<CBRCase> originalCases,
List<CBRCase> querySet,
int fold,
CBRCaseBase caseBase,
ArrayList<ArrayList<CBRCase>> folds)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceNFoldEvaluator.prepareCases(Collection<CBRCase> originalCases,
List<CBRCase> querySet,
int fold,
CBRCaseBase caseBase,
ArrayList<ArrayList<CBRCase>> folds)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceNFoldEvaluator.prepareCases(Collection<CBRCase> originalCases,
List<CBRCase> querySet,
int fold,
CBRCaseBase caseBase,
ArrayList<ArrayList<CBRCase>> folds)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceHoldOutEvaluator.prepareCases(List<CBRCase> originalCases,
List<CBRCase> querySet,
int testPercent,
CBRCaseBase caseBase)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceHoldOutEvaluator.prepareCases(List<CBRCase> originalCases,
List<CBRCase> querySet,
int testPercent,
CBRCaseBase caseBase)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceSameSplitEvaluator.prepareCases(List<CBRCase> originalCases,
List<CBRCase> querySet,
String file,
CBRCaseBase caseBase)
Prepares the cases for evaluation by setting up test and training sets
|
protected void |
MaintenanceSameSplitEvaluator.prepareCases(List<CBRCase> originalCases,
List<CBRCase> querySet,
String file,
CBRCaseBase caseBase)
Prepares the cases for evaluation by setting up test and training sets
|
static void |
MaintenanceHoldOutEvaluator.splitCaseBase(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
static void |
MaintenanceHoldOutEvaluator.splitCaseBase(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
static void |
MaintenanceHoldOutEvaluator.splitCaseBase(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
int testPercent)
Splits the case base in two sets: queries and case base
|
static void |
MaintenanceSameSplitEvaluator.splitCaseBaseFromFile(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename)
Splits the case base in two sets: queries and case base, with the
queries contained in the given file
|
static void |
MaintenanceSameSplitEvaluator.splitCaseBaseFromFile(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename)
Splits the case base in two sets: queries and case base, with the
queries contained in the given file
|
static void |
MaintenanceSameSplitEvaluator.splitCaseBaseFromFile(List<CBRCase> wholeCaseBase,
List<CBRCase> querySet,
List<CBRCase> casebaseSet,
String filename)
Splits the case base in two sets: queries and case base, with the
queries contained in the given file
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CasesVisualization.visualize(Collection<CBRCase> cases,
NNConfig knnConfig)
Visualizes a collection of cases using a given NN similarity configuration.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<CBRCase> |
SolvesFunction.misclassifyQ |
protected Collection<CBRCase> |
SolvesFunction.solveQ |
| Modifier and Type | Method and Description |
|---|---|
CBRCase |
CaseResult.getCase()
Returns the case.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CBRCase> |
SolvesFunction.getCasesThatMisclassifiedQuery()
Returns the cases that contributed to the misclassification
of the last query for which cases were divided.
|
Collection<CBRCase> |
SolvesFunction.getCasesThatSolvedQuery()
Returns the cases that solved the last query for which cases
were divided.
|
Collection<CBRCase> |
CompetenceModel.getCoverageSet(CBRCase c)
Returns the coverage set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getCoverageSets()
Returns the coverage sets of the case base.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getCoverageSets()
Returns the coverage sets of the case base.
|
Collection<CBRCase> |
CompetenceModel.getLiabilitySet(CBRCase c)
Returns the liability set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getLiabilitySets()
Returns the liability sets of the case base.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getLiabilitySets()
Returns the liability sets of the case base.
|
Collection<CBRCase> |
CompetenceModel.getReachabilitySet(CBRCase c)
Returns the reachability set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getReachabilitySets()
Returns the reachability sets of the case base.
|
Map<CBRCase,Collection<CBRCase>> |
CompetenceModel.getReachabilitySets()
Returns the reachability sets of the case base.
|
abstract Collection<CBRCase> |
AbstractCaseBaseEditMethod.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates a case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
Collection<CBRCase> |
TwoStepCaseBaseEditMethod.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Runs alg1 followed by alg2 on the given cases and returns the cases
deleted by the combined algorithms
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CBRCase> |
CompetenceModel.getCoverageSet(CBRCase c)
Returns the coverage set of the given case.
|
Collection<CBRCase> |
CompetenceModel.getLiabilitySet(CBRCase c)
Returns the liability set of the given case.
|
Collection<CBRCase> |
CompetenceModel.getReachabilitySet(CBRCase c)
Returns the reachability set of the given case.
|
void |
QueryResult.setCase(CBRCase _case)
Set the given case to be the query case
associated with this
|
abstract void |
SolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the classes that both solve q or contribute to its
misclassification
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompetenceModel.computeCompetenceModel(SolvesFunction solves,
KNNClassificationConfig knnConfig,
Collection<CBRCase> cases)
Computes the competence model for the given cases using
the given solves function.
|
abstract Collection<CBRCase> |
AbstractCaseBaseEditMethod.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates a case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
Collection<CBRCase> |
TwoStepCaseBaseEditMethod.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Runs alg1 followed by alg2 on the given cases and returns the cases
deleted by the combined algorithms
|
abstract void |
SolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the classes that both solve q or contribute to its
misclassification
|
| Constructor and Description |
|---|
CaseResult(CBRCase _case,
double result)
Sets up a
|
| Modifier and Type | Method and Description |
|---|---|
List<CBRCase> |
RCRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the RC case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
List<CBRCase> |
RENNNoiseReduction.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the RENN case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
LinkedList<CBRCase> |
BBNRNoiseReduction.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the BBNR editing algorithm, returning the cases
that would be deleted by the algorithm.
|
List<CBRCase> |
CRRRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the CRR case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
Collection<CBRCase> |
ICFRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the ICF case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
List<CBRCase> |
RCRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the RC case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
List<CBRCase> |
RENNNoiseReduction.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the RENN case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
LinkedList<CBRCase> |
BBNRNoiseReduction.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the BBNR editing algorithm, returning the cases
that would be deleted by the algorithm.
|
List<CBRCase> |
CRRRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the CRR case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
Collection<CBRCase> |
ICFRedundancyRemoval.retrieveCasesToDelete(Collection<CBRCase> cases,
KNNClassificationConfig simConfig)
Simulates the ICF case base editing algorithm, returning the cases
that would be deleted by the algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CBESolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the cases that either solve q or contribute to its
misclassification.
|
void |
ICFSolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the cases that both solve q or contribute to its
misclassification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CBESolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the cases that either solve q or contribute to its
misclassification.
|
void |
ICFSolvesFunction.setCasesThatSolveAndMisclassifyQ(CBRCase q,
Collection<CBRCase> cases,
KNNClassificationConfig knnConfig)
Sets the cases that both solve q or contribute to its
misclassification.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StoreCasesMethod.storeCase(CBRCaseBase caseBase,
CBRCase _case)
Simple method that add a case to the case base invoking caseBase->learnCases().
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StoreCasesMethod.storeCases(CBRCaseBase caseBase,
List<CBRCase> cases)
Simple method that adds some cases to the case base invoking caseBase->learnCases().
|
| Modifier and Type | Method and Description |
|---|---|
CBRCase |
RetrievalResult.get_case() |
| Modifier and Type | Method and Description |
|---|---|
void |
RetrievalResult.set_case(CBRCase _case) |
| Constructor and Description |
|---|
RetrievalResult(CBRCase _case,
Double eval)
Constructor
|
| 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 |
|---|---|
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 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 CBRCase |
InContextLocalSimilarityFunction._case
case 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 Collection<CBRCase> |
SelectCases.selectAll(Collection<RetrievalResult> cases)
Selects all cases
|
static Collection<CBRCase> |
SelectCases.selectTopK(Collection<RetrievalResult> cases,
int k)
Selects top K cases
|
| Modifier and Type | Method and Description |
|---|---|
Set<CBRCase> |
CDRSet.getCoveredSet(CBRCase _case)
Returns the covered set of a case
|
Set<CBRCase> |
CDRSet.getLikeSet(CBRCase _case)
Returns the like set of a case
|
| Modifier and Type | Method and Description |
|---|---|
void |
CDRSet.addToCoveredSet(CBRCase _case,
CBRCase coveredCase)
Adds a case to the covered set of another case
|
void |
CDRSet.addToLikeSet(CBRCase _case,
CBRCase likeCase)
Adds a case to the like set of another case
|
static Set<Attribute> |
CompromiseDrivenSelection.getCompromises(CBRCase _case,
CBRQuery query,
FilterConfig preferences)
Returns the compromises of a case
|
Set<CBRCase> |
CDRSet.getCoveredSet(CBRCase _case)
Returns the covered set of a case
|
Set<CBRCase> |
CDRSet.getLikeSet(CBRCase _case)
Returns the like set of a case
|
| Modifier and Type | Method and Description |
|---|---|
static CBRCase |
GreedySelection.getMoreQuality(CBRQuery query,
Collection<CBRCase> cases,
Collection<CBRCase> R,
NNConfig simConfig)
Returns the case with more quality.
|
| 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 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 double |
GreedySelection.relDiversity(CBRCase c,
Collection<CBRCase> R,
NNConfig simConfig) |
| Modifier and Type | Method and Description |
|---|---|
static CBRCase |
GreedySelection.getMoreQuality(CBRQuery query,
Collection<CBRCase> cases,
Collection<CBRCase> R,
NNConfig simConfig)
Returns the case with more quality.
|
static CBRCase |
GreedySelection.getMoreQuality(CBRQuery query,
Collection<CBRCase> cases,
Collection<CBRCase> R,
NNConfig simConfig)
Returns the case with more quality.
|
static double |
GreedySelection.relDiversity(CBRCase c,
Collection<CBRCase> R,
NNConfig simConfig) |
| Modifier and Type | Method and Description |
|---|---|
static List<CBRCase> |
CombineQueryAndCasesMethod.combine(CBRQuery query,
Collection<CBRCase> cases)
Combienes some cases with a query.
|
| 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 |
|---|---|
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 |
|---|---|
double |
BasicClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
CBRCase testCase)
Calculates the cost of the given solution as a prediction for the
solution of the given case.
|
double |
ClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
CBRCase testCase)
Calculates the cost of the given solution as a prediction for the
solution of the given case.
|
boolean |
BasicClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
CBRCase testCase)
Checks if the predicted solution is the correct solution
for the given test case.
|
boolean |
ClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
CBRCase testCase)
Checks if the predicted solution is the correct solution
for the given test case.
|
| Modifier and Type | Method and Description |
|---|---|
static CBRCase |
CopyUtils.copyCBRCase(CBRCase c)
Returns a deep copy of a CBRCase.
|
| Modifier and Type | Method and Description |
|---|---|
static CBRCase |
CopyUtils.copyCBRCase(CBRCase c)
Returns a deep copy of a CBRCase.
|
static CaseComponent |
AttributeUtils.findBelongingComponent(Attribute at,
CBRCase c)
Similar to findBelongingComponent(Attribute, CaseComponent) as a CBRCase is a CaseComponent.
|
static Object |
AttributeUtils.findValue(Attribute at,
CBRCase c)
Finds the value of an Attribute in a CBRCase object.
|
static void |
AttributeUtils.setValue(Attribute at,
CBRCase c,
Object value)
Finds the value of an Attribute in a CBRCase object.
|
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.