public class CaseResult extends QueryResult
_case, result| Constructor and Description |
|---|
CaseResult(CBRCase _case,
double result)
Sets up a
|
| Modifier and Type | Method and Description |
|---|---|
CBRCase |
getCase()
Returns the case.
|
static List<CaseResult> |
sortResults(boolean ascending,
List<CaseResult> toSort)
Sorts the given list of CaseResults in the given order and
returns the sorted list.
|
public CaseResult(CBRCase _case, double result)
_case - The case to be storedresult - The result associated with this case.public CBRCase getCase()
getCase in class QueryResultpublic static List<CaseResult> sortResults(boolean ascending, List<CaseResult> toSort)
ascending - The order in which to sort the elements.toSort - The list of CaseResults to sort.Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.