Interface RetrievalQuality
- All Known Implementing Classes:
RetrievalQualityImpl
public interface RetrievalQuality
Interface to calculate the retrieval quality
- Author:
- Gilbert Mueller
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
enumeration to define quality criterion -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculateRetrievalQuality
(RetrievalQuality.QualityCriterion qualityCriterion, RetrievalResultList referenceResult, RetrievalResultList newResult) Calculates the retrieval quality a particular retrieval (particularRetrieval).
-
Method Details
-
calculateRetrievalQuality
double calculateRetrievalQuality(RetrievalQuality.QualityCriterion qualityCriterion, RetrievalResultList referenceResult, RetrievalResultList newResult) Calculates the retrieval quality a particular retrieval (particularRetrieval).- Parameters:
qualityCriterion
- (enum value to define the quality criterion that should be used)referenceResult
- (retrieval which has no missing cases and cases are correctly ordered)newResult
- (retrieval whose quality should by calculated)- Returns:
- the retrieval quality of the particular retrieval
-