Interface FastUpdateableFeatureIndex<F>

Type Parameters:
F - type of the features
All Superinterfaces:
es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex<F>, es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>, UpdateableFeatureIndex<F>
All Known Implementing Classes:
SimpleFastUpdateableFeatureIndex

public interface FastUpdateableFeatureIndex<F>
extends UpdateableFeatureIndex<F>, es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex<F>
Fast and updateable version of a FeatureIndex, where features are internally represented with numerical indices from 0 (inclusive) to the number of indexed features (exclusive).
  • Method Summary

    Modifier and Type Method Description
    default boolean containsFeature​(F f)  
    default java.util.stream.Stream<F> getAllFeatures()  

    Methods inherited from interface es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex

    feature2fidx, feature2fidx, feature2fidx, fidx2feature, fidx2feature, fidx2feature, getAllFidx

    Methods inherited from interface es.uam.eps.ir.ranksys.core.index.FeatureIndex

    numFeatures

    Methods inherited from interface es.uam.eps.ir.relison.links.data.updateable.index.UpdateableFeatureIndex

    addFeature, addFeatures
  • Method Details

    • containsFeature

      default boolean containsFeature​(F f)
      Specified by:
      containsFeature in interface es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex<F>
      Specified by:
      containsFeature in interface es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>
    • getAllFeatures

      default java.util.stream.Stream<F> getAllFeatures()
      Specified by:
      getAllFeatures in interface es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex<F>
      Specified by:
      getAllFeatures in interface es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>