Documentation ¶
Index ¶
- func DBIndex(row, col, M uint64) uint64
- func Decompose(index, M uint64) (uint64, uint64)
- func FindEnd(indices map[uint64]bool, rowStart, colIndex, M, L, maxLen uint64) uint64
- func MergeClusterMap(origMap ClusterMap, newMap ClusterMap, origM uint64, newM uint64)
- func MergeSubclusterMap(origMap SubclusterMap, newMap SubclusterMap, origM uint64, newM uint64)
- type ClusterMap
- type SubclusterMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeClusterMap ¶
func MergeClusterMap(origMap ClusterMap, newMap ClusterMap, origM uint64, newM uint64)
func MergeSubclusterMap ¶
func MergeSubclusterMap(origMap SubclusterMap, newMap SubclusterMap, origM uint64, newM uint64)
Types ¶
type ClusterMap ¶
func BuildEmbeddingsDatabase ¶
func (ClusterMap) ClusterToIndex ¶
func (m ClusterMap) ClusterToIndex(cluster uint) uint64
type SubclusterMap ¶
type SubclusterMap map[uint][]corpus.Subcluster
func BuildUrlsDatabase ¶
func (SubclusterMap) FakeIndexInSubcluster ¶
func (m SubclusterMap) FakeIndexInSubcluster(clusterIndex, subclusterIndex uint64) uint64
func (SubclusterMap) SubclusterToIndex ¶
func (m SubclusterMap) SubclusterToIndex(clusterIndex, docIndex uint64) (uint64, uint64, uint64)
Click to show internal directories.
Click to hide internal directories.