jcolibri.method.maintenance.solvesFunctions
Class ICFSolvesFunction

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

public class ICFSolvesFunction
extends SolvesFunction

Provides the ICF algorithm solves function 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
ICFSolvesFunction()
           
 
Method Summary
 void setCasesThatSolveAndMisclassifyQ(CBRCase q, java.util.Collection<CBRCase> cases, KNNClassificationConfig knnConfig)
          Sets the cases that both 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

ICFSolvesFunction

public ICFSolvesFunction()
Method Detail

setCasesThatSolveAndMisclassifyQ

public void setCasesThatSolveAndMisclassifyQ(CBRCase q,
                                             java.util.Collection<CBRCase> cases,
                                             KNNClassificationConfig knnConfig)
Sets the cases that both solve q or contribute to its misclassification. In the case of ICF we only record cases that solve q. According to the ICF definition, a case solves a query if it is of the same class as the query and if there are no classes more similar to the query with a different class.

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