Package es.uam.eps.ir.relison.links.data
Interface GraphIndex<U>
- Type Parameters:
U
- Type of the users.
- All Superinterfaces:
es.uam.eps.ir.ranksys.fast.index.FastItemIndex<U>
,es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>
,es.uam.eps.ir.ranksys.core.index.ItemIndex<U>
,es.uam.eps.ir.ranksys.core.index.UserIndex<U>
- All Known Implementing Classes:
FastGraphIndex
,FastUpdateableGraphIndex
public interface GraphIndex<U>
extends es.uam.eps.ir.ranksys.fast.index.FastItemIndex<U>, es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>
Class that represents both user and item indexes for a graph.
-
Method Summary
Modifier and Type Method Description default boolean
containsItem(U i)
default java.util.stream.Stream<U>
getAllItems()
default U
iidx2item(int i)
default int
item2iidx(U i)
default int
numItems()
Methods inherited from interface es.uam.eps.ir.ranksys.fast.index.FastItemIndex
getAllIidx, iidx2item, iidx2item, item2iidx, item2iidx
-
Method Details
-
item2iidx
- Specified by:
item2iidx
in interfacees.uam.eps.ir.ranksys.fast.index.FastItemIndex<U>
-
iidx2item
- Specified by:
iidx2item
in interfacees.uam.eps.ir.ranksys.fast.index.FastItemIndex<U>
-
containsItem
-
numItems
default int numItems()- Specified by:
numItems
in interfacees.uam.eps.ir.ranksys.core.index.ItemIndex<U>
-
getAllItems
-