Class MACFACQueryImpl

java.lang.Object
de.uni_trier.wi2.procake.retrieval.impl.QueryImpl
de.uni_trier.wi2.procake.retrieval.impl.MACFACQueryImpl
All Implemented Interfaces:
MACFACQuery, Query

public class MACFACQueryImpl extends QueryImpl implements MACFACQuery
The query class for MAC/FAC queries which contains additional parameters to control the behavior of the MAC/FAC retriever. Implementation of MACFACQuery.
Author:
Alexander Stromer, Maximilian Hoffmann
  • Constructor Details

    • MACFACQueryImpl

      public MACFACQueryImpl()
  • Method Details

    • getFilterSize

      public int getFilterSize()
      Description copied from interface: MACFACQuery
      Gets the current set number of items, which should be communicated between MAC and FAC stage.
      Specified by:
      getFilterSize in interface MACFACQuery
    • setFilterSize

      public void setFilterSize(int size)
      Description copied from interface: MACFACQuery
      Sets the number of items, which should be communicated between MAC and FAC stage.
      Specified by:
      setFilterSize in interface MACFACQuery
    • getMinMACSimilarity

      public double getMinMACSimilarity()
      Description copied from interface: MACFACQuery
      Gets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.
      Specified by:
      getMinMACSimilarity in interface MACFACQuery
      Returns:
      the minimum MAC similarity
    • setMinMACSimilarity

      public void setMinMACSimilarity(double minMACSimilarity)
      Description copied from interface: MACFACQuery
      Sets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.
      Specified by:
      setMinMACSimilarity in interface MACFACQuery
      Parameters:
      minMACSimilarity - the minimum MAC similarity
    • getFacQuery

      public Query getFacQuery()
      Description copied from interface: MACFACQuery
      Returns the FAC-query if a FAC-query was set before
      Specified by:
      getFacQuery in interface MACFACQuery
    • setFacQuery

      public void setFacQuery(Query facQuery)
      Description copied from interface: MACFACQuery
      Sets the FAC-query of the MACFAC-query
      Specified by:
      setFacQuery in interface MACFACQuery
      Parameters:
      facQuery - using FAC-query