Interface MACFACQuery
-
- All Superinterfaces:
Query
- All Known Implementing Classes:
MACFACQueryImpl
public interface MACFACQuery extends Query
A MACFAC query needs additional parameters compared to a standard retrieval query.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_FILTER_SIZEThe default value for the number of items, which should be communicated between MAC and FAC stage.static doubleDEFAULT_MIN_MAC_SIMILARITYThe default value for the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.-
Fields inherited from interface de.uni_trier.wi2.procake.retrieval.Query
DEFAULT_MINSIMILARITY, DEFAULT_NUMBEROFRESULTS, DEFAULT_RETRIEVECASES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuerygetFacQuery()Returns the FAC-query if a FAC-query was set beforeintgetFilterSize()Gets the current set number of items, which should be communicated between MAC and FAC stage.doublegetMinMACSimilarity()Gets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.voidsetFacQuery(Query facQuery)Sets the FAC-query of the MACFAC-queryvoidsetFilterSize(int size)Sets the number of items, which should be communicated between MAC and FAC stage.voidsetMinMACSimilarity(double minMACSimilarity)Sets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.-
Methods inherited from interface de.uni_trier.wi2.procake.retrieval.Query
fromXML, getMinSimilarity, getNumberOfResults, getQueryObject, isRetrieveCases, setMinSimilarity, setNumberOfResults, setQueryObject, setRetrieveCases, toXML, toXML
-
-
-
-
Field Detail
-
DEFAULT_FILTER_SIZE
static final int DEFAULT_FILTER_SIZE
The default value for the number of items, which should be communicated between MAC and FAC stage. Value is 10.- See Also:
- Constant Field Values
-
DEFAULT_MIN_MAC_SIMILARITY
static final double DEFAULT_MIN_MAC_SIMILARITY
The default value for the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase. Value is 0.0.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilterSize
int getFilterSize()
Gets the current set number of items, which should be communicated between MAC and FAC stage.
-
setFilterSize
void setFilterSize(int size)
Sets the number of items, which should be communicated between MAC and FAC stage.
-
getMinMACSimilarity
double getMinMACSimilarity()
Gets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.- Returns:
- the minimum MAC similarity
-
setMinMACSimilarity
void setMinMACSimilarity(double minMACSimilarity)
Sets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.- Parameters:
minMACSimilarity- the minimum MAC similarity
-
setFacQuery
void setFacQuery(Query facQuery)
Sets the FAC-query of the MACFAC-query- Parameters:
facQuery- using FAC-query
-
getFacQuery
Query getFacQuery()
Returns the FAC-query if a FAC-query was set before
-
-