public class RetrievalResult extends Object implements Comparable<RetrievalResult>
| Modifier and Type | Field and Description |
|---|---|
static int |
RETRIEVE_ALL
Constant used to retrieve all the cases in the retrieval methods.
|
| Constructor and Description |
|---|
RetrievalResult(CBRCase _case,
Double eval)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RetrievalResult o) |
CBRCase |
get_case() |
double |
getEval() |
void |
set_case(CBRCase _case) |
void |
setEval(double eval) |
String |
toString() |
public static final int RETRIEVE_ALL
public RetrievalResult(CBRCase _case, Double eval)
_case - retrievedeval - is the similiarty with the querypublic double getEval()
public void setEval(double eval)
eval - The eval to set.public int compareTo(RetrievalResult o)
compareTo in interface Comparable<RetrievalResult>Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.