Interface UpdateableFeatureIndex<F>
- Type Parameters:
F- type of the features
- All Superinterfaces:
es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>
- All Known Subinterfaces:
FastUpdateableFeatureIndex<F>
- All Known Implementing Classes:
SimpleFastUpdateableFeatureIndex
public interface UpdateableFeatureIndex<F>
extends es.uam.eps.ir.ranksys.core.index.FeatureIndex<F>
Updateable index for a set of features.
-
Method Summary
Modifier and Type Method Description intaddFeature(F f)Adds a new featuredefault voidaddFeatures(java.util.stream.Stream<F> features)Adds a set of features to the index
-
Method Details
-
addFeature
Adds a new feature- Parameters:
f- the new feature- Returns:
- the index of the new feature.
-
addFeatures
Adds a set of features to the index- Parameters:
features- a stream containing the features.
-