jcolibri.method.retrieve
Class RetrievalResult
java.lang.Object
jcolibri.method.retrieve.RetrievalResult
- All Implemented Interfaces:
- java.lang.Comparable
public class RetrievalResult
- extends java.lang.Object
- implements java.lang.Comparable
Stores the retrieval information. It contais a pair.
- Version:
- 2.0
- Author:
- Juan A. Recio-Garcia
Field Summary |
static int |
RETRIEVE_ALL
Constant used to retrieve all the cases in the retrieval methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RETRIEVE_ALL
public static final int RETRIEVE_ALL
- Constant used to retrieve all the cases in the retrieval methods.
- See Also:
- Constant Field Values
RetrievalResult
public RetrievalResult(CBRCase _case,
java.lang.Double eval)
- Constructor
- Parameters:
_case
- retrievedeval
- is the similiarty with the query
get_case
public CBRCase get_case()
- Returns:
- Returns the _case.
set_case
public void set_case(CBRCase _case)
- Parameters:
_case
- The _case to set.
getEval
public double getEval()
- Returns:
- Returns the eval.
setEval
public void setEval(double eval)
- Parameters:
eval
- The eval to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable