jcolibri.method.maintenance.solvesFunctions
Class CBESolvesFunction

java.lang.Object
  extended by jcolibri.method.maintenance.SolvesFunction
      extended by jcolibri.method.maintenance.solvesFunctions.CBESolvesFunction

public class CBESolvesFunction
extends SolvesFunction

Provides the solves function that Sarah-Jane Delaney uses in her case-base editing (CBE) algorithms which will decide which cases solve a query.

Author:
Lisa Cummins, Derek Bridge 22/05/07

Field Summary
 
Fields inherited from class jcolibri.method.maintenance.SolvesFunction
misclassifyQ, solveQ
 
Constructor Summary
CBESolvesFunction()
           
 
Method Summary
 void setCasesThatSolveAndMisclassifyQ(CBRCase q, java.util.Collection<CBRCase> cases, KNNClassificationConfig knnConfig)
          Sets the cases that either solve q or contribute to its misclassification.
 
Methods inherited from class jcolibri.method.maintenance.SolvesFunction
getCasesThatMisclassifiedQuery, getCasesThatSolvedQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CBESolvesFunction

public CBESolvesFunction()
Method Detail

setCasesThatSolveAndMisclassifyQ

public void setCasesThatSolveAndMisclassifyQ(CBRCase q,
                                             java.util.Collection<CBRCase> cases,
                                             KNNClassificationConfig knnConfig)
Sets the cases that either solve q or contribute to its misclassification. A case solves a query if the query is correctly classified by its nearest neighbours and the solution of the case agrees with the solution of the query. A case misclassifies a query if the query is incorrectly classified by its nearest neighbours and the solution of the case disagrees with the solution of the query.

Specified by:
setCasesThatSolveAndMisclassifyQ in class SolvesFunction
Parameters:
q - the query
cases - from which to find the cases which solve and classify the query. These include the query itself.
knnConfig - the similarity configuration

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es