Class AbstractIndexBasedSimilarity.Par<F extends IndexFactory<?>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected F factory
      The index factory we use.
      static OptionID INDEX_ID
      Parameter to specify the preprocessor to be used.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configIndexFactory​(Parameterization config, java.lang.Class<?> restrictionClass, java.lang.Class<?> defaultClass)
      Get the index factory parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INDEX_ID

        public static final OptionID INDEX_ID
        Parameter to specify the preprocessor to be used.
      • factory

        protected F extends IndexFactory<?> factory
        The index factory we use.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configIndexFactory

        protected void configIndexFactory​(Parameterization config,
                                          java.lang.Class<?> restrictionClass,
                                          java.lang.Class<?> defaultClass)
        Get the index factory parameter.
        Parameters:
        config - Parameterization
        restrictionClass - Restriction class
        defaultClass - Default class