Class SimpleFastUpdateableFeatureIndex<F>

java.lang.Object
es.uam.eps.ir.ranksys.fast.index.SimpleFastFeatureIndex<F>
es.uam.eps.ir.relison.links.data.updateable.index.fast.SimpleFastUpdateableFeatureIndex<F>
Type Parameters:
F - type of the features
All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>, es.uam.eps.ir.ranksys.fast.index.FastFeatureIndex<F>, FastUpdateableFeatureIndex<F>, UpdateableFeatureIndex<F>

public class SimpleFastUpdateableFeatureIndex<F>
extends es.uam.eps.ir.ranksys.fast.index.SimpleFastFeatureIndex<F>
implements FastUpdateableFeatureIndex<F>
Simple implementation of FastUpdateableFeatureIndex backed by a bi-map IdxIndex
  • Constructor Summary

    Constructors 
    Constructor Description
    SimpleFastUpdateableFeatureIndex()  
  • Method Summary

    Modifier and Type Method Description
    int addFeature​(F f)
    Adds a new feature
    static <F> SimpleFastUpdateableFeatureIndex<F> load​(java.util.stream.Stream<F> features)
    Creates a feature index from a stream of feature objects.

    Methods inherited from class es.uam.eps.ir.ranksys.fast.index.SimpleFastFeatureIndex

    add, containsFeature, feature2fidx, fidx2feature, getAllFeatures, numFeatures

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    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.relison.links.data.updateable.index.fast.FastUpdateableFeatureIndex

    containsFeature, getAllFeatures

    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

    addFeatures