Class FeatureMACFACRetriever<TCase extends DataObject>
java.lang.Object
de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
de.uni_trier.wi2.procake.utils.composition.AbstractEmptyFactoryObjectImplementation
de.uni_trier.wi2.procake.retrieval.impl.RetrieverImpl<TCase,MACFACQuery>
de.uni_trier.wi2.procake.retrieval.impl.macfac.AbstractMACFACRetriever<TCase>
de.uni_trier.wi2.procake.retrieval.impl.macfac.fb.FeatureMACFACRetriever<TCase>
- All Implemented Interfaces:
RetrievalFactoryObject
,Retriever<TCase,
MACFACQuery>
public class FeatureMACFACRetriever<TCase extends DataObject>
extends AbstractMACFACRetriever<TCase>
implements RetrievalFactoryObject
-
Field Summary
Fields inherited from class de.uni_trier.wi2.procake.retrieval.impl.macfac.AbstractMACFACRetriever
facRetriever, macRetriever
Fields inherited from interface de.uni_trier.wi2.procake.retrieval.Retriever
DEFAULT_ADDQUERYTORESULTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEach retriever must have an unique name.perform
(MACFACQuery query) Performs a retrieval for the given query.void
setFACRetriever
(Retriever<TCase, Query> facRetriever) Set the FAC retriever instance that is used to execute the FAC phase of the MAC/FAC retrieval.void
setMACRetriever
(Retriever<TCase, Query> macRetriever) Set the MAC retriever instance that is used to execute the MAC phase of the MAC/FAC retrieval.Methods inherited from class de.uni_trier.wi2.procake.retrieval.impl.macfac.AbstractMACFACRetriever
getFACRetriever, getMACRetriever, newQuery
Methods inherited from class de.uni_trier.wi2.procake.retrieval.impl.RetrieverImpl
getInternalSimilarityMeasure, getObjectPool, getSimilarityModel, getValuator, isAddQueryToResults, setAddQueryToResults, setInternalSimilarityMeasure, setObjectPool, setSimilarityModel
Methods inherited from class de.uni_trier.wi2.procake.utils.composition.AbstractEmptyFactoryObjectImplementation
getParameters, postInit, preInit
Methods inherited from class de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
getParameter, initParametersBasedOn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uni_trier.wi2.procake.retrieval.Retriever
getValuator, isAddQueryToResults, setAddQueryToResults, setInternalSimilarityMeasure, setObjectPool, setSimilarityModel
-
Constructor Details
-
FeatureMACFACRetriever
public FeatureMACFACRetriever()
-
-
Method Details
-
perform
Description copied from interface:Retriever
Performs a retrieval for the given query.- Specified by:
perform
in interfaceRetriever<TCase extends DataObject,
MACFACQuery> - Overrides:
perform
in classAbstractMACFACRetriever<TCase extends DataObject>
- Parameters:
query
- A query that can be created withRetriever.newQuery()
- Returns:
- a list of retrieval results
-
setMACRetriever
Description copied from class:AbstractMACFACRetriever
Set the MAC retriever instance that is used to execute the MAC phase of the MAC/FAC retrieval.- Overrides:
setMACRetriever
in classAbstractMACFACRetriever<TCase extends DataObject>
- Parameters:
macRetriever
- a retriever instance that is ready to use in the MAC/FAC setup
-
setFACRetriever
Description copied from class:AbstractMACFACRetriever
Set the FAC retriever instance that is used to execute the FAC phase of the MAC/FAC retrieval.- Overrides:
setFACRetriever
in classAbstractMACFACRetriever<TCase extends DataObject>
- Parameters:
facRetriever
- a retriever instance that is ready to use in the MAC/FAC setup
-
getRetrieverName
Description copied from interface:RetrievalFactoryObject
Each retriever must have an unique name. This name gan be used to get a new retriever instance from the factory.- Specified by:
getRetrieverName
in interfaceRetrievalFactoryObject
- Returns:
- Returns the name of the retriever.
-