|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentalClusteringStrategy
A way to associate (quite bidirectionally) local and global document pointers.
A DocumentalCluster
needs a way to turn
local document pointer into global pointers,
but also global pointers into local pointers (for skipping).
DocumentalPartitioningStrategy
Method Summary | |
---|---|
int |
globalPointer(int localIndex,
int localPointer)
Returns the global document pointer given a local index and a local document pointer. |
int |
localPointer(int globalPointer)
Returns the local document pointer corresponding to a global document pointer. |
int |
numberOfDocuments(int localIndex)
Returns the number of documents that will be assigned to the given local index. |
Methods inherited from interface it.unimi.di.mg4j.index.cluster.ClusteringStrategy |
---|
numberOfLocalIndices |
Method Detail |
---|
int globalPointer(int localIndex, int localPointer)
localIndex
- the local index.localPointer
- the local document pointer in localIndex
.
int localPointer(int globalPointer)
globalPointer
- a global document pointer.
int numberOfDocuments(int localIndex)
localIndex
- the local index.
localIndex
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |