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
Constructors Constructor Description FeatureMACFACRetriever()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRetrieverName()Each retriever must have an unique name.RetrievalResultListperform(MACFACQuery query)Performs a retrieval for the given query.voidsetFACRetriever(Retriever<TCase,Query> facRetriever)Set the FAC retriever instance that is used to execute the FAC phase of the MAC/FAC retrieval.voidsetMACRetriever(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, getSimilarityCache, getSimilarityModel, getValuator, isAddQueryToResults, setAddQueryToResults, setInternalSimilarityMeasure, setObjectPool, setSimilarityCache, 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
isAddQueryToResults, setAddQueryToResults, setInternalSimilarityMeasure, setObjectPool, setSimilarityCache, setSimilarityModel
-
-
-
-
Method Detail
-
perform
public RetrievalResultList perform(MACFACQuery query)
Description copied from interface:RetrieverPerforms a retrieval for the given query.- Specified by:
performin interfaceRetriever<TCase extends DataObject,MACFACQuery>- Overrides:
performin classAbstractMACFACRetriever<TCase extends DataObject>- Parameters:
query- A query that can be created withRetriever.newQuery()- Returns:
- a list of retrieval results
-
setMACRetriever
public void setMACRetriever(Retriever<TCase,Query> macRetriever)
Description copied from class:AbstractMACFACRetrieverSet the MAC retriever instance that is used to execute the MAC phase of the MAC/FAC retrieval.- Overrides:
setMACRetrieverin classAbstractMACFACRetriever<TCase extends DataObject>- Parameters:
macRetriever- a retriever instance that is ready to use in the MAC/FAC setup
-
setFACRetriever
public void setFACRetriever(Retriever<TCase,Query> facRetriever)
Description copied from class:AbstractMACFACRetrieverSet the FAC retriever instance that is used to execute the FAC phase of the MAC/FAC retrieval.- Overrides:
setFACRetrieverin classAbstractMACFACRetriever<TCase extends DataObject>- Parameters:
facRetriever- a retriever instance that is ready to use in the MAC/FAC setup
-
getRetrieverName
public String getRetrieverName()
Description copied from interface:RetrievalFactoryObjectEach retriever must have an unique name. This name gan be used to get a new retriever instance from the factory.- Specified by:
getRetrieverNamein interfaceRetrievalFactoryObject- Returns:
- Returns the name of the retriever.
-
-