I
- type of the itemsF
- type of the featuresV
- type of the information about item-feature pairspublic interface FastFeatureData<I,F,V> extends FeatureData<I,F,V>, FastItemIndex<I>, FastFeatureIndex<F>
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2io<V>> |
getFidxItems(int fidx)
Returns the items having a feature.
|
IntStream |
getFidxWithItems()
Returns the features that are associated with items.
|
Stream<Tuple2io<V>> |
getIidxFeatures(int iidx)
Returns the features associated with an item.
|
IntStream |
getIidxWithFeatures()
Returns the indexes of the items with features.
|
int |
numFeatures(int iidx)
Returns the number of features associated with an item.
|
int |
numItems(int fidx)
Returns the number of items having a feature.
|
getFeatureItems, getFeaturesWithItems, getItemFeatures, getItemsWithFeatures, numFeatures, numFeaturesWithItems, numItems, numItemsWithFeatures
containsItem, getAllIidx, getAllItems, iidx2item, iidx2item, iidx2item, item2iidx, item2iidx, item2iidx
containsFeature, feature2fidx, feature2fidx, feature2fidx, fidx2feature, fidx2feature, fidx2feature, getAllFeatures, getAllFidx
numFeatures
Stream<Tuple2io<V>> getIidxFeatures(int iidx)
iidx
- item indexStream<Tuple2io<V>> getFidxItems(int fidx)
fidx
- feature indexint numItems(int fidx)
fidx
- feature indexint numFeatures(int iidx)
iidx
- item indexIntStream getIidxWithFeatures()
IntStream getFidxWithItems()
Copyright © 2016. All rights reserved.