Copy disabled (too large)
Download .txt
Showing preview only (18,004K chars total). Download the full file to get everything.
Repository: twitter/the-algorithm
Branch: main
Commit: c54bec0d4e02
Files: 7651
Total size: 26.3 MB
Directory structure:
gitextract_zmgfpzrq/
├── .gitignore
├── COPYING
├── README.md
├── RETREIVAL_SIGNALS.md
├── ann/
│ └── src/
│ └── main/
│ ├── java/
│ │ └── com/
│ │ └── twitter/
│ │ └── ann/
│ │ ├── faiss/
│ │ │ ├── BUILD
│ │ │ ├── NativeUtils.java
│ │ │ └── swig/
│ │ │ ├── AlignedTableFloat32.java
│ │ │ ├── AlignedTableUint16.java
│ │ │ ├── AlignedTableUint8.java
│ │ │ ├── ArrayInvertedLists.java
│ │ │ ├── AutoTuneCriterion.java
│ │ │ ├── BUILD
│ │ │ ├── BitstringReader.java
│ │ │ ├── BitstringWriter.java
│ │ │ ├── BufferList.java
│ │ │ ├── ByteVector.java
│ │ │ ├── ByteVectorVector.java
│ │ │ ├── CenteringTransform.java
│ │ │ ├── CharVector.java
│ │ │ ├── Clustering.java
│ │ │ ├── Clustering1D.java
│ │ │ ├── ClusteringIterationStats.java
│ │ │ ├── ClusteringParameters.java
│ │ │ ├── DistanceComputer.java
│ │ │ ├── DoubleVector.java
│ │ │ ├── FloatVector.java
│ │ │ ├── FloatVectorVector.java
│ │ │ ├── GenHammingComputer16.java
│ │ │ ├── GenHammingComputer32.java
│ │ │ ├── GenHammingComputer8.java
│ │ │ ├── GenHammingComputerM8.java
│ │ │ ├── HNSW.java
│ │ │ ├── HNSWStats.java
│ │ │ ├── HStackInvertedLists.java
│ │ │ ├── HammingComputer16.java
│ │ │ ├── HammingComputer20.java
│ │ │ ├── HammingComputer32.java
│ │ │ ├── HammingComputer4.java
│ │ │ ├── HammingComputer64.java
│ │ │ ├── HammingComputer8.java
│ │ │ ├── HammingComputerDefault.java
│ │ │ ├── HammingComputerM4.java
│ │ │ ├── HammingComputerM8.java
│ │ │ ├── IDSelector.java
│ │ │ ├── IDSelectorArray.java
│ │ │ ├── IDSelectorBatch.java
│ │ │ ├── IDSelectorRange.java
│ │ │ ├── ITQMatrix.java
│ │ │ ├── ITQTransform.java
│ │ │ ├── IVFPQSearchParameters.java
│ │ │ ├── IVFSearchParameters.java
│ │ │ ├── Index.java
│ │ │ ├── Index2Layer.java
│ │ │ ├── IndexBinary.java
│ │ │ ├── IndexBinaryFlat.java
│ │ │ ├── IndexBinaryFromFloat.java
│ │ │ ├── IndexBinaryHNSW.java
│ │ │ ├── IndexBinaryIVF.java
│ │ │ ├── IndexFlat.java
│ │ │ ├── IndexFlat1D.java
│ │ │ ├── IndexFlatCodes.java
│ │ │ ├── IndexFlatIP.java
│ │ │ ├── IndexFlatL2.java
│ │ │ ├── IndexHNSW.java
│ │ │ ├── IndexHNSW2Level.java
│ │ │ ├── IndexHNSWFlat.java
│ │ │ ├── IndexHNSWPQ.java
│ │ │ ├── IndexHNSWSQ.java
│ │ │ ├── IndexIDMap.java
│ │ │ ├── IndexIVF.java
│ │ │ ├── IndexIVFFlat.java
│ │ │ ├── IndexIVFFlatDedup.java
│ │ │ ├── IndexIVFPQ.java
│ │ │ ├── IndexIVFPQStats.java
│ │ │ ├── IndexIVFScalarQuantizer.java
│ │ │ ├── IndexIVFStats.java
│ │ │ ├── IndexLSH.java
│ │ │ ├── IndexPQ.java
│ │ │ ├── IndexPQStats.java
│ │ │ ├── IndexRefine.java
│ │ │ ├── IndexRefineFlat.java
│ │ │ ├── IndexScalarQuantizer.java
│ │ │ ├── IndexShards.java
│ │ │ ├── IndexSplitVectors.java
│ │ │ ├── IntVector.java
│ │ │ ├── InterruptCallback.java
│ │ │ ├── IntersectionCriterion.java
│ │ │ ├── InvertedLists.java
│ │ │ ├── InvertedListsPtrVector.java
│ │ │ ├── Level1Quantizer.java
│ │ │ ├── LinearTransform.java
│ │ │ ├── LongVector.java
│ │ │ ├── LongVectorVector.java
│ │ │ ├── MapLong2Long.java
│ │ │ ├── MaskedInvertedLists.java
│ │ │ ├── MetricType.java
│ │ │ ├── MultiIndexQuantizer.java
│ │ │ ├── MultiIndexQuantizer2.java
│ │ │ ├── NormalizationTransform.java
│ │ │ ├── OPQMatrix.java
│ │ │ ├── OnDiskInvertedLists.java
│ │ │ ├── OnDiskInvertedListsIOHook.java
│ │ │ ├── OnDiskOneList.java
│ │ │ ├── OneRecallAtRCriterion.java
│ │ │ ├── OperatingPoint.java
│ │ │ ├── OperatingPointVector.java
│ │ │ ├── OperatingPoints.java
│ │ │ ├── PCAMatrix.java
│ │ │ ├── PQDecoder16.java
│ │ │ ├── PQDecoder8.java
│ │ │ ├── PQDecoderGeneric.java
│ │ │ ├── PQEncoder16.java
│ │ │ ├── PQEncoder8.java
│ │ │ ├── PQEncoderGeneric.java
│ │ │ ├── ParameterRange.java
│ │ │ ├── ParameterSpace.java
│ │ │ ├── PartitionStats.java
│ │ │ ├── PermutationObjective.java
│ │ │ ├── PolysemousTraining.java
│ │ │ ├── ProductQuantizer.java
│ │ │ ├── ProgressiveDimClustering.java
│ │ │ ├── ProgressiveDimClusteringParameters.java
│ │ │ ├── ProgressiveDimIndexFactory.java
│ │ │ ├── RandomRotationMatrix.java
│ │ │ ├── RangeQueryResult.java
│ │ │ ├── RangeSearchPartialResult.java
│ │ │ ├── RangeSearchResult.java
│ │ │ ├── ReadOnlyInvertedLists.java
│ │ │ ├── ReconstructFromNeighbors.java
│ │ │ ├── RemapDimensionsTransform.java
│ │ │ ├── ReproduceDistancesObjective.java
│ │ │ ├── SWIGTYPE_p_AlignedTableT_float_32_t.java
│ │ │ ├── SWIGTYPE_p_AlignedTableT_float_t.java
│ │ │ ├── SWIGTYPE_p_DirectMap.java
│ │ │ ├── SWIGTYPE_p_DirectMap__Type.java
│ │ │ ├── SWIGTYPE_p_FILE.java
│ │ │ ├── SWIGTYPE_p_IOReader.java
│ │ │ ├── SWIGTYPE_p_IOWriter.java
│ │ │ ├── SWIGTYPE_p_ScalarQuantizer.java
│ │ │ ├── SWIGTYPE_p_ScalarQuantizer__QuantizerType.java
│ │ │ ├── SWIGTYPE_p_double.java
│ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t.java
│ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t.java
│ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t.java
│ │ │ ├── SWIGTYPE_p_faiss__BinaryInvertedListScanner.java
│ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t.java
│ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t.java
│ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t.java
│ │ │ ├── SWIGTYPE_p_faiss__IOReader.java
│ │ │ ├── SWIGTYPE_p_faiss__IOWriter.java
│ │ │ ├── SWIGTYPE_p_faiss__InvertedListScanner.java
│ │ │ ├── SWIGTYPE_p_faiss__LockLevels.java
│ │ │ ├── SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch.java
│ │ │ ├── SWIGTYPE_p_faiss__RandomGenerator.java
│ │ │ ├── SWIGTYPE_p_float.java
│ │ │ ├── SWIGTYPE_p_int.java
│ │ │ ├── SWIGTYPE_p_long.java
│ │ │ ├── SWIGTYPE_p_long_long.java
│ │ │ ├── SWIGTYPE_p_omp_lock_t.java
│ │ │ ├── SWIGTYPE_p_p_faiss__Index.java
│ │ │ ├── SWIGTYPE_p_p_faiss__InvertedLists.java
│ │ │ ├── SWIGTYPE_p_p_faiss__VectorTransform.java
│ │ │ ├── SWIGTYPE_p_std__listT_faiss__OnDiskInvertedLists__Slot_t.java
│ │ │ ├── SWIGTYPE_p_std__pairT_float_int_t.java
│ │ │ ├── SWIGTYPE_p_std__priority_queueT_faiss__HNSW__NodeDistFarther_t.java
│ │ │ ├── SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t.java
│ │ │ ├── SWIGTYPE_p_std__unordered_mapT_long_long_t.java
│ │ │ ├── SWIGTYPE_p_std__unordered_multimapT_int64_t_int64_t_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__HNSW__NodeDistFarther_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__Index_p_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__OnDiskOneList_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__ParameterRange_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__RangeQueryResult_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__RangeSearchPartialResult_p_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_int64_t_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_long_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_omp_lock_t_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t.java
│ │ │ ├── SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_long_t_t.java
│ │ │ ├── SWIGTYPE_p_uint16_t.java
│ │ │ ├── SWIGTYPE_p_uint32_t.java
│ │ │ ├── SWIGTYPE_p_unsigned_char.java
│ │ │ ├── SWIGTYPE_p_unsigned_long.java
│ │ │ ├── SWIGTYPE_p_void.java
│ │ │ ├── SimulatedAnnealingOptimizer.java
│ │ │ ├── SimulatedAnnealingParameters.java
│ │ │ ├── SliceInvertedLists.java
│ │ │ ├── SlidingIndexWindow.java
│ │ │ ├── StopWordsInvertedLists.java
│ │ │ ├── Uint64Vector.java
│ │ │ ├── VStackInvertedLists.java
│ │ │ ├── VectorTransform.java
│ │ │ ├── VectorTransformVector.java
│ │ │ ├── VisitedTable.java
│ │ │ ├── doubleArray.java
│ │ │ ├── floatArray.java
│ │ │ ├── float_maxheap_array_t.java
│ │ │ ├── float_minheap_array_t.java
│ │ │ ├── intArray.java
│ │ │ ├── int_maxheap_array_t.java
│ │ │ ├── int_minheap_array_t.java
│ │ │ ├── longArray.java
│ │ │ ├── resources/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .gitkeep
│ │ │ │ └── BUILD
│ │ │ ├── swigfaiss.java
│ │ │ ├── swigfaissConstants.java
│ │ │ └── swigfaissJNI.java
│ │ └── hnsw/
│ │ ├── BUILD
│ │ ├── DistanceFunction.java
│ │ ├── DistancedItem.java
│ │ ├── DistancedItemQueue.java
│ │ ├── HnswIndex.java
│ │ ├── HnswIndexIOUtil.java
│ │ ├── HnswMeta.java
│ │ ├── HnswNode.java
│ │ └── IllegalDuplicateInsertException.java
│ ├── python/
│ │ └── dataflow/
│ │ ├── BUILD.bazel
│ │ ├── bq.sql
│ │ ├── faiss_index_bq_dataset.py
│ │ └── worker_harness/
│ │ ├── Dockerfile
│ │ └── cloudbuild.yml
│ ├── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── ann/
│ │ ├── annoy/
│ │ │ ├── AnnoyCommon.scala
│ │ │ ├── BUILD
│ │ │ ├── RawAnnoyIndexBuilder.scala
│ │ │ ├── RawAnnoyQueryIndex.scala
│ │ │ ├── TypedAnnoyIndex.scala
│ │ │ ├── TypedAnnoyIndexBuilderWithFile.scala
│ │ │ └── TypedAnnoyQueryIndexWithFile.scala
│ │ ├── brute_force/
│ │ │ ├── BUILD
│ │ │ ├── BruteForceDeserialization.scala
│ │ │ └── BruteForceIndex.scala
│ │ ├── common/
│ │ │ ├── AnnInjections.scala
│ │ │ ├── Api.scala
│ │ │ ├── BUILD
│ │ │ ├── EmbeddingProducer.scala
│ │ │ ├── IndexOutputFile.scala
│ │ │ ├── IndexTransformer.scala
│ │ │ ├── MemoizedInEpochs.scala
│ │ │ ├── Metric.scala
│ │ │ ├── QueryableById.scala
│ │ │ ├── QueryableByIdImplementation.scala
│ │ │ ├── QueryableOperations.scala
│ │ │ ├── ReadWriteFuturePool.scala
│ │ │ ├── Serialization.scala
│ │ │ ├── ServiceClientQueryable.scala
│ │ │ ├── ShardApi.scala
│ │ │ ├── ShardedSerialization.scala
│ │ │ └── Task.scala
│ │ ├── dataflow/
│ │ │ └── offline/
│ │ │ ├── ANNIndexBuilderBeamJob.scala
│ │ │ ├── BUILD
│ │ │ ├── BaseEmbeddingData.scala
│ │ │ ├── FlatEmbeddingData.scala
│ │ │ └── GroupedEmbeddingData.scala
│ │ ├── experimental/
│ │ │ ├── BUILD.bazel
│ │ │ └── Runner.scala
│ │ ├── faiss/
│ │ │ ├── BUILD
│ │ │ ├── FaissCommon.scala
│ │ │ ├── FaissIndex.scala
│ │ │ ├── FaissIndexer.scala
│ │ │ ├── HourlyDirectoryWithSuccessFileListing.scala
│ │ │ ├── HourlyShardedIndex.scala
│ │ │ └── QueryableIndexAdapter.scala
│ │ ├── featurestore/
│ │ │ ├── BUILD
│ │ │ └── FeatureStoreEmbeddingProducer.scala
│ │ ├── file_store/
│ │ │ ├── BUILD
│ │ │ ├── ReadableIndexIdFileStore.scala
│ │ │ └── WritableIndexIdFileStore.scala
│ │ ├── hnsw/
│ │ │ ├── BUILD
│ │ │ ├── DistanceFunctionGenerator.scala
│ │ │ ├── Hnsw.scala
│ │ │ ├── HnswCommon.scala
│ │ │ ├── HnswIOUtil.scala
│ │ │ ├── IdEmbeddingMap.scala
│ │ │ ├── JMapBasedIdEmbeddingMap.scala
│ │ │ ├── MapDbBasedIdEmbeddingMap.scala
│ │ │ ├── SerializableHnsw.scala
│ │ │ └── TypedHnswIndex.scala
│ │ ├── manhattan/
│ │ │ ├── BUILD
│ │ │ ├── ManhattanEmbeddingProducer.scala
│ │ │ └── README
│ │ ├── scalding/
│ │ │ ├── benchmark/
│ │ │ │ ├── BUILD
│ │ │ │ └── Knn.scala
│ │ │ └── offline/
│ │ │ ├── BUILD.bazel
│ │ │ ├── IndexingStrategy.scala
│ │ │ ├── KnnDebug.scala
│ │ │ ├── KnnEntityRecoDebugJob.scala
│ │ │ ├── KnnHelper.scala
│ │ │ ├── KnnOfflineJob.scala
│ │ │ ├── KnnTruthSetGenerator.scala
│ │ │ ├── ParameterlessQueryable.scala
│ │ │ ├── README
│ │ │ ├── faissindexbuilder/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── IndexBuilder.scala
│ │ │ │ └── IndexBuilderApp.scala
│ │ │ ├── indexbuilder/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── IndexBuilder.scala
│ │ │ │ ├── IndexBuilderApp.scala
│ │ │ │ └── README.rst
│ │ │ └── indexbuilderfrombq/
│ │ │ ├── BUILD.bazel
│ │ │ ├── IndexBuilderFromBQ.scala
│ │ │ └── IndexBuilderFromBQApp.scala
│ │ ├── serialization/
│ │ │ ├── BUILD
│ │ │ ├── DummyANNIndexInjection.scala
│ │ │ ├── PersistedEmbeddingInjection.scala
│ │ │ └── ThriftIteratorIO.scala
│ │ ├── service/
│ │ │ ├── loadtest/
│ │ │ │ ├── AnnLoadTest.scala
│ │ │ │ ├── AnnLoadTestMain.scala
│ │ │ │ ├── AnnLoadTestWorker.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── EmbeddingIndexer.scala
│ │ │ │ ├── LoadTestRecorder.scala
│ │ │ │ ├── LoadTestUtils.scala
│ │ │ │ └── README.md
│ │ │ └── query_server/
│ │ │ ├── common/
│ │ │ │ ├── BUILD
│ │ │ │ ├── BaseQueryIndexServer.scala
│ │ │ │ ├── Exceptions.scala
│ │ │ │ ├── FaissIndexPathProvider.scala
│ │ │ │ ├── IndexPathProvider.scala
│ │ │ │ ├── QueryIndexThriftController.scala
│ │ │ │ ├── QueryServerUtil.scala
│ │ │ │ ├── QueryableProvider.scala
│ │ │ │ ├── RefreshableQueryable.scala
│ │ │ │ ├── UnsafeQueryIndexServer.scala
│ │ │ │ ├── throttling/
│ │ │ │ │ ├── AuroraCPUStatsReader.scala
│ │ │ │ │ ├── BUILD
│ │ │ │ │ ├── ThrottlingBasedQualityTask.scala
│ │ │ │ │ ├── WindowedStats.scala
│ │ │ │ │ └── WindowedThrottlingInstrument.scala
│ │ │ │ └── warmup/
│ │ │ │ ├── BUILD
│ │ │ │ └── Warmup.scala
│ │ │ ├── faiss/
│ │ │ │ ├── BUILD
│ │ │ │ └── FaissQueryIndexServer.scala
│ │ │ └── hnsw/
│ │ │ ├── BUILD
│ │ │ └── HnswQueryIndexServer.scala
│ │ └── util/
│ │ ├── BUILD
│ │ └── IndexBuilderUtils.scala
│ └── thrift/
│ └── com/
│ └── twitter/
│ └── ann/
│ ├── common/
│ │ ├── BUILD
│ │ └── ann_common.thrift
│ ├── knn/
│ │ ├── BUILD
│ │ └── knn.thrift
│ └── serialization/
│ ├── BUILD
│ └── serialization.thrift
├── ci/
│ └── ci.sh
├── cr-mixer/
│ ├── BUILD.bazel
│ ├── README.md
│ ├── server/
│ │ └── src/
│ │ └── main/
│ │ ├── resources/
│ │ │ ├── BUILD.bazel
│ │ │ ├── config/
│ │ │ │ └── decider.yml
│ │ │ └── logback.xml
│ │ └── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── cr_mixer/
│ │ ├── BUILD.bazel
│ │ ├── CrMixerHttpServerWarmupHandler.scala
│ │ ├── CrMixerServer.scala
│ │ ├── CrMixerThriftServerWarmupHandler.scala
│ │ ├── blender/
│ │ │ ├── AdsBlender.scala
│ │ │ ├── BUILD
│ │ │ ├── BlendedCandidatesBuilder.scala
│ │ │ ├── ContentSignalBlender.scala
│ │ │ ├── CountWeightedInterleaveBlender.scala
│ │ │ ├── InterleaveBlender.scala
│ │ │ ├── SourceTypeBackFillBlender.scala
│ │ │ └── SwitchBlender.scala
│ │ ├── candidate_generation/
│ │ │ ├── AdsCandidateGenerator.scala
│ │ │ ├── AdsCandidateSourcesRouter.scala
│ │ │ ├── BUILD
│ │ │ ├── CandidateSourcesRouter.scala
│ │ │ ├── CrCandidateGenerator.scala
│ │ │ ├── CustomizedRetrievalCandidateGeneration.scala
│ │ │ ├── FrsTweetCandidateGenerator.scala
│ │ │ ├── RelatedTweetCandidateGenerator.scala
│ │ │ ├── RelatedVideoTweetCandidateGenerator.scala
│ │ │ ├── SimClustersInterestedInCandidateGeneration.scala
│ │ │ ├── TopicTweetCandidateGenerator.scala
│ │ │ └── UtegTweetCandidateGenerator.scala
│ │ ├── config/
│ │ │ ├── BUILD
│ │ │ ├── SimClustersANNConfig.scala
│ │ │ └── TimeoutConfig.scala
│ │ ├── controller/
│ │ │ ├── BUILD.bazel
│ │ │ └── CrMixerThriftController.scala
│ │ ├── exception/
│ │ │ ├── BUILD
│ │ │ └── InvalidSANNConfigException.scala
│ │ ├── featureswitch/
│ │ │ ├── BUILD
│ │ │ ├── CrMixerLoggingABDecider.scala
│ │ │ ├── ParamsBuilder.scala
│ │ │ └── SetImpressedBucketsLocalContextFilter.scala
│ │ ├── filter/
│ │ │ ├── BUILD
│ │ │ ├── FilterBase.scala
│ │ │ ├── ImpressedTweetlistFilter.scala
│ │ │ ├── InNetworkFilter.scala
│ │ │ ├── PostRankFilterRunner.scala
│ │ │ ├── PreRankFilterRunner.scala
│ │ │ ├── ReplyFilter.scala
│ │ │ ├── RetweetFilter.scala
│ │ │ ├── TweetAgeFilter.scala
│ │ │ ├── TweetInfoHealthFilterBase.scala
│ │ │ ├── UtegFilterRunner.scala
│ │ │ ├── UtegHealthFilter.scala
│ │ │ └── VideoTweetFilter.scala
│ │ ├── logging/
│ │ │ ├── AdsRecommendationsScribeLogger.scala
│ │ │ ├── BUILD
│ │ │ ├── CrMixerScribeLogger.scala
│ │ │ ├── RelatedTweetScribeLogger.scala
│ │ │ ├── ScribeLoggerUtils.scala
│ │ │ ├── ScribeMetadata.scala
│ │ │ ├── TopLevelDdgMetricsMetadata.scala
│ │ │ └── UtegTweetScribeLogger.scala
│ │ ├── model/
│ │ │ ├── BUILD
│ │ │ ├── Candidate.scala
│ │ │ ├── CandidateGenerationInfo.scala
│ │ │ ├── CandidateGeneratorQuery.scala
│ │ │ ├── EarlybirdSimilarityEngineType.scala
│ │ │ ├── HealthThreshold.scala
│ │ │ ├── ModelConfig.scala
│ │ │ ├── ModuleNames.scala
│ │ │ ├── TopicTweetWithScore.scala
│ │ │ ├── TweetWithAuthor.scala
│ │ │ ├── TweetWithScore.scala
│ │ │ └── TweetWithScoreAndSocialProof.scala
│ │ ├── module/
│ │ │ ├── ActivePromotedTweetStoreModule.scala
│ │ │ ├── BUILD.bazel
│ │ │ ├── BlueVerifiedAnnotationStoreModule.scala
│ │ │ ├── CertoStratoStoreModule.scala
│ │ │ ├── ConsumersBasedUserAdGraphStoreModule.scala
│ │ │ ├── ConsumersBasedUserTweetGraphStoreModule.scala
│ │ │ ├── ConsumersBasedUserVideoGraphStoreModule.scala
│ │ │ ├── CrMixerParamConfigModule.scala
│ │ │ ├── DiffusionStoreModule.scala
│ │ │ ├── EarlybirdRecencyBasedCandidateStoreModule.scala
│ │ │ ├── EmbeddingStoreModule.scala
│ │ │ ├── FrsStoreModule.scala
│ │ │ ├── MHMtlsParamsModule.scala
│ │ │ ├── OfflineCandidateStoreModule.scala
│ │ │ ├── RealGraphOonStoreModule.scala
│ │ │ ├── RealGraphStoreMhModule.scala
│ │ │ ├── RepresentationManagerModule.scala
│ │ │ ├── RepresentationScorerModule.scala
│ │ │ ├── SampleSimilarityEngineModule.scala
│ │ │ ├── SimClustersANNServiceNameToClientMapper.scala
│ │ │ ├── SkitStratoStoreModule.scala
│ │ │ ├── StrongTiePredictionStoreModule.scala
│ │ │ ├── TripCandidateStoreModule.scala
│ │ │ ├── TweetInfoStoreModule.scala
│ │ │ ├── TweetRecentEngagedUserStoreModule.scala
│ │ │ ├── TweetRecommendationResultsStoreModule.scala
│ │ │ ├── TwhinCollabFilterStratoStoreModule.scala
│ │ │ ├── TwiceClustersMembersStoreModule.scala
│ │ │ ├── UnifiedCacheClient.scala
│ │ │ ├── UserSignalServiceColumnModule.scala
│ │ │ ├── UserSignalServiceStoreModule.scala
│ │ │ ├── UserStateStoreModule.scala
│ │ │ ├── core/
│ │ │ │ ├── ABDeciderModule.scala
│ │ │ │ ├── CrMixerFlagModule.scala
│ │ │ │ ├── CrMixerLoggingABDeciderModule.scala
│ │ │ │ ├── FeatureContextBuilderModule.scala
│ │ │ │ ├── FeatureSwitchesModule.scala
│ │ │ │ ├── KafkaProducerModule.scala
│ │ │ │ ├── LoggerFactoryModule.scala
│ │ │ │ ├── MemoizingStatsReceiverModule.scala
│ │ │ │ └── TimeoutConfigModule.scala
│ │ │ ├── grpc_client/
│ │ │ │ └── NaviGRPCClientModule.scala
│ │ │ ├── similarity_engine/
│ │ │ │ ├── CertoTopicTweetSimilarityEngineModule.scala
│ │ │ │ ├── ConsumerBasedWalsSimilarityEngineModule.scala
│ │ │ │ ├── ConsumerEmbeddingBasedTripSimilarityEngineModule.scala
│ │ │ │ ├── ConsumerEmbeddingBasedTwHINSimilarityEngineModule.scala
│ │ │ │ ├── ConsumerEmbeddingBasedTwoTowerSimilarityEngineModule.scala
│ │ │ │ ├── ConsumersBasedUserAdGraphSimilarityEngineModule.scala
│ │ │ │ ├── ConsumersBasedUserVideoGraphSimilarityEngineModule.scala
│ │ │ │ ├── DiffusionBasedSimilarityEngineModule.scala
│ │ │ │ ├── EarlybirdSimilarityEngineModule.scala
│ │ │ │ ├── ProducerBasedUnifiedSimilarityEngineModule.scala
│ │ │ │ ├── ProducerBasedUserAdGraphSimilarityEngineModule.scala
│ │ │ │ ├── ProducerBasedUserTweetGraphSimilarityEngineModule.scala
│ │ │ │ ├── SimClustersANNSimilarityEngineModule.scala
│ │ │ │ ├── SkitTopicTweetSimilarityEngineModule.scala
│ │ │ │ ├── TweetBasedQigSimilarityEngineModule.scala
│ │ │ │ ├── TweetBasedTwHINSimlarityEngineModule.scala
│ │ │ │ ├── TweetBasedUnifiedSimilarityEngineModule.scala
│ │ │ │ ├── TweetBasedUserAdGraphSimilarityEngineModule.scala
│ │ │ │ ├── TweetBasedUserTweetGraphSimilarityEngineModule.scala
│ │ │ │ ├── TweetBasedUserVideoGraphSimilarityEngineModule.scala
│ │ │ │ ├── TwhinCollabFilterLookupSimilarityEngineModule.scala
│ │ │ │ └── UserTweetEntityGraphSimilarityEngineModule.scala
│ │ │ └── thrift_client/
│ │ │ ├── AnnQueryServiceClientModule.scala
│ │ │ ├── EarlybirdSearchClientModule.scala
│ │ │ ├── FrsClientModule.scala
│ │ │ ├── HydraPartitionClientModule.scala
│ │ │ ├── HydraRootClientModule.scala
│ │ │ ├── QigServiceClientModule.scala
│ │ │ ├── SimClustersAnnServiceClientModule.scala
│ │ │ ├── TweetyPieClientModule.scala
│ │ │ ├── UserAdGraphClientModule.scala
│ │ │ ├── UserTweetEntityGraphClientModule.scala
│ │ │ ├── UserTweetGraphClientModule.scala
│ │ │ ├── UserTweetGraphPlusClientModule.scala
│ │ │ └── UserVideoGraphClientModule.scala
│ │ ├── param/
│ │ │ ├── AdsParams.scala
│ │ │ ├── BUILD
│ │ │ ├── BlenderParams.scala
│ │ │ ├── BypassInterleaveAndRankParams.scala
│ │ │ ├── ConsumerBasedWalsParams.scala
│ │ │ ├── ConsumerEmbeddingBasedCandidateGenerationParams.scala
│ │ │ ├── ConsumerEmbeddingBasedTripParams.scala
│ │ │ ├── ConsumerEmbeddingBasedTwHINParams.scala
│ │ │ ├── ConsumerEmbeddingBasedTwoTowerParams.scala
│ │ │ ├── ConsumersBasedUserAdGraphParams.scala
│ │ │ ├── ConsumersBasedUserTweetGraphParams.scala
│ │ │ ├── ConsumersBasedUserVideoGraphParams.scala
│ │ │ ├── CrMixerParamConfig.scala
│ │ │ ├── CustomizedRetrievalBasedCandidateGenerationParams.scala
│ │ │ ├── CustomizedRetrievalBasedFTROfflineInterestedInParams.scala
│ │ │ ├── CustomizedRetrievalBasedOfflineInterestedInParams.scala
│ │ │ ├── CustomizedRetrievalBasedTwhinParams.scala
│ │ │ ├── EarlybirdFrsBasedCandidateGenerationParams.scala
│ │ │ ├── FrsParams.scala
│ │ │ ├── GlobalParams.scala
│ │ │ ├── GoodProfileClickParams.scala
│ │ │ ├── GoodTweetClickParams.scala
│ │ │ ├── InterestedInParams.scala
│ │ │ ├── ProducerBasedCandidateGenerationParams.scala
│ │ │ ├── ProducerBasedUserAdGraphParams.scala
│ │ │ ├── ProducerBasedUserTweetGraphParams.scala
│ │ │ ├── RankerParams.scala
│ │ │ ├── RealGraphInParams.scala
│ │ │ ├── RealGraphOonParams.scala
│ │ │ ├── RecentFollowsParams.scala
│ │ │ ├── RecentNegativeSignalParams.scala
│ │ │ ├── RecentNotificationsParams.scala
│ │ │ ├── RecentOriginalTweetsParams.scala
│ │ │ ├── RecentReplyTweetsParams.scala
│ │ │ ├── RecentRetweetsParams.scala
│ │ │ ├── RecentTweetFavoritesParams.scala
│ │ │ ├── RelatedTweetGlobalParams.scala
│ │ │ ├── RelatedTweetProducerBasedParams.scala
│ │ │ ├── RelatedTweetTweetBasedParams.scala
│ │ │ ├── RelatedVideoTweetGlobalParams.scala
│ │ │ ├── RelatedVideoTweetTweetBasedParams.scala
│ │ │ ├── RepeatedProfileVisitsParams.scala
│ │ │ ├── SimClustersANNParams.scala
│ │ │ ├── TopicTweetParams.scala
│ │ │ ├── TweetBasedCandidateGenerationParams.scala
│ │ │ ├── TweetBasedTwHINParams.scala
│ │ │ ├── TweetBasedUserAdGraphParams.scala
│ │ │ ├── TweetBasedUserTweetGraphParams.scala
│ │ │ ├── TweetBasedUserVideoGraphParams.scala
│ │ │ ├── TweetSharesParams.scala
│ │ │ ├── UnifiedSETweetCombinationMethod.scala
│ │ │ ├── UnifiedUSSSignalParams.scala
│ │ │ ├── UtegTweetGlobalParams.scala
│ │ │ ├── VideoTweetFilterParams.scala
│ │ │ ├── VideoViewTweetsParams.scala
│ │ │ └── decider/
│ │ │ ├── BUILD
│ │ │ ├── CrMixerDecider.scala
│ │ │ ├── DeciderKey.scala
│ │ │ └── EndpointLoadShedder.scala
│ │ ├── ranker/
│ │ │ ├── BUILD
│ │ │ ├── DefaultRanker.scala
│ │ │ └── SwitchRanker.scala
│ │ ├── scribe/
│ │ │ ├── BUILD
│ │ │ └── ScribeCategory.scala
│ │ ├── service/
│ │ │ ├── BUILD.bazel
│ │ │ └── CrMixerAlertNotificationConfig.scala
│ │ ├── similarity_engine/
│ │ │ ├── BUILD
│ │ │ ├── CertoTopicTweetSimilarityEngine.scala
│ │ │ ├── ConsumerBasedWalsSimilarityEngine.scala
│ │ │ ├── ConsumerEmbeddingBasedTripSimilarityEngine.scala
│ │ │ ├── ConsumerEmbeddingBasedTwHINSimilarityEngine.scala
│ │ │ ├── ConsumerEmbeddingBasedTwoTowerSimilarityEngine.scala
│ │ │ ├── ConsumersBasedUserAdGraphSimilarityEngine.scala
│ │ │ ├── ConsumersBasedUserVideoGraphSimilarityEngine.scala
│ │ │ ├── DiffusionBasedSimilarityEngine.scala
│ │ │ ├── EarlybirdModelBasedSimilarityEngine.scala
│ │ │ ├── EarlybirdRecencyBasedSimilarityEngine.scala
│ │ │ ├── EarlybirdSimilarityEngine.scala
│ │ │ ├── EarlybirdSimilarityEngineBase.scala
│ │ │ ├── EarlybirdSimilarityEngineRouter.scala
│ │ │ ├── EarlybirdTensorflowBasedSimilarityEngine.scala
│ │ │ ├── FilterUtil.scala
│ │ │ ├── HnswANNSimilarityEngine.scala
│ │ │ ├── LookupSimilarityEngine.scala
│ │ │ ├── ModelBasedANNStore.scala
│ │ │ ├── ProducerBasedUnifiedSimilarityEngine.scala
│ │ │ ├── ProducerBasedUserAdGraphSimilarityEngine.scala
│ │ │ ├── ProducerBasedUserTweetGraphSimilarityEngine.scala
│ │ │ ├── SimClustersANNSimilarityEngine.scala
│ │ │ ├── SimilarityEngine.scala
│ │ │ ├── SimilaritySourceOrderingUtil.scala
│ │ │ ├── SkitHighPrecisionTopicTweetSimilarityEngine.scala
│ │ │ ├── SkitTopicTweetSimilarityEngine.scala
│ │ │ ├── StandardSimilarityEngine.scala
│ │ │ ├── TweetBasedQigSimilarityEngine.scala
│ │ │ ├── TweetBasedUnifiedSimilarityEngine.scala
│ │ │ ├── TweetBasedUserAdGraphSimilarityEngine.scala
│ │ │ ├── TweetBasedUserTweetGraphSimilarityEngine.scala
│ │ │ ├── TweetBasedUserVideoGraphSimilarityEngine.scala
│ │ │ ├── TwhinCollabFilterSimilarityEngine.scala
│ │ │ └── UserTweetEntityGraphSimilarityEngine.scala
│ │ ├── source_signal/
│ │ │ ├── BUILD
│ │ │ ├── FrsSourceGraphFetcher.scala
│ │ │ ├── FrsSourceSignalFetcher.scala
│ │ │ ├── FrsStore.scala
│ │ │ ├── RealGraphInSourceGraphFetcher.scala
│ │ │ ├── RealGraphOonSourceGraphFetcher.scala
│ │ │ ├── SourceFetcher.scala
│ │ │ ├── SourceGraphFetcher.scala
│ │ │ ├── SourceInfoRouter.scala
│ │ │ ├── SourceSignalFetcher.scala
│ │ │ ├── UssSourceSignalFetcher.scala
│ │ │ └── UssStore.scala
│ │ └── util/
│ │ ├── BUILD
│ │ ├── CandidateGenerationKeyUtil.scala
│ │ ├── CountWeightedInterleaveUtil.scala
│ │ ├── EarlybirdSearchUtil.scala
│ │ ├── InterleaveUtil.scala
│ │ ├── MetricTagUtil.scala
│ │ └── SignalTimestampStatsUtil.scala
│ └── thrift/
│ └── src/
│ └── main/
│ └── thrift/
│ ├── BUILD
│ ├── ads.thrift
│ ├── candidate_generation_key.thrift
│ ├── cr_mixer.thrift
│ ├── frs_based_tweet.thrift
│ ├── metric_tags.thrift
│ ├── product.thrift
│ ├── product_context.thrift
│ ├── related_tweet.thrift
│ ├── related_video_tweet.thrift
│ ├── scribe.thrift
│ ├── source_type.thrift
│ ├── topic_tweet.thrift
│ ├── uteg.thrift
│ └── validation.thrift
├── follow-recommendations-service/
│ ├── BUILD
│ ├── CONFIG.ini
│ ├── README.md
│ ├── common/
│ │ └── src/
│ │ └── main/
│ │ └── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── follow_recommendations/
│ │ └── common/
│ │ ├── base/
│ │ │ ├── BUILD
│ │ │ ├── CandidateSourceRegistry.scala
│ │ │ ├── EnrichedCandidateSource.scala
│ │ │ ├── ParamPredicate.scala
│ │ │ ├── Predicate.scala
│ │ │ ├── PredicateResult.scala
│ │ │ ├── Ranker.scala
│ │ │ ├── RecommendationFlow.scala
│ │ │ ├── SideEffectsUtil.scala
│ │ │ ├── StatsUtil.scala
│ │ │ └── Transform.scala
│ │ ├── candidate_sources/
│ │ │ ├── addressbook/
│ │ │ │ ├── AddressBookParams.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── ForwardEmailBookSource.scala
│ │ │ │ ├── ForwardPhoneBookSource.scala
│ │ │ │ ├── README.md
│ │ │ │ ├── ReverseEmailBookSource.scala
│ │ │ │ └── ReversePhoneBookSource.scala
│ │ │ ├── base/
│ │ │ │ ├── BUILD
│ │ │ │ ├── CachedCandidateSource.scala
│ │ │ │ ├── ExperimentalCandidateSource.scala
│ │ │ │ ├── RealGraphExpansionRepository.scala
│ │ │ │ ├── SimilarUserExpanderParams.scala
│ │ │ │ ├── SimilarUserExpanderRepository.scala
│ │ │ │ ├── SocialProofEnforcedCandidateSource.scala
│ │ │ │ ├── SocialProofEnforcedCandidateSourceFSConfig.scala
│ │ │ │ ├── SocialProofEnforcedCandidateSourceParams.scala
│ │ │ │ ├── StratoFetcherSource.scala
│ │ │ │ ├── StratoFetcherWithUnitViewSource.scala
│ │ │ │ ├── TweetAuthorsCandidateSource.scala
│ │ │ │ └── TwoHopExpansionCandidateSource.scala
│ │ │ ├── crowd_search_accounts/
│ │ │ │ ├── BUILD
│ │ │ │ ├── CrowdSearchAccountsFSConfig.scala
│ │ │ │ ├── CrowdSearchAccountsParams.scala
│ │ │ │ ├── CrowdSearchAccountsSource.scala
│ │ │ │ └── README.md
│ │ │ ├── geo/
│ │ │ │ ├── BUILD
│ │ │ │ ├── BasePopGeoHashSource.scala
│ │ │ │ ├── PopCountryBackFillSource.scala
│ │ │ │ ├── PopCountrySource.scala
│ │ │ │ ├── PopGeoQualityFollowSource.scala
│ │ │ │ ├── PopGeoQualityFollowSourceFSConfig.scala
│ │ │ │ ├── PopGeoQualityFollowSourceParams.scala
│ │ │ │ ├── PopGeoSource.scala
│ │ │ │ ├── PopGeoSourceFSConfig.scala
│ │ │ │ ├── PopGeoSourceParams.scala
│ │ │ │ ├── PopGeohashSource.scala
│ │ │ │ └── README.md
│ │ │ ├── ppmi_locale_follow/
│ │ │ │ ├── BUILD
│ │ │ │ ├── PPMILocaleFollowSource.scala
│ │ │ │ ├── PPMILocaleFollowSourceFSConfig.scala
│ │ │ │ ├── PPMILocaleFollowSourceParams.scala
│ │ │ │ └── README.md
│ │ │ ├── promoted_accounts/
│ │ │ │ ├── BUILD
│ │ │ │ ├── PromotedAccountsCandidateSource.scala
│ │ │ │ └── README.md
│ │ │ ├── real_graph/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── RealGraphOonFSConfig.scala
│ │ │ │ ├── RealGraphOonParams.scala
│ │ │ │ ├── RealGraphOonV2Source.scala
│ │ │ │ └── RealGraphSource.scala
│ │ │ ├── recent_engagement/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── RecentEngagementDirectFollowSource.scala
│ │ │ │ ├── RecentEngagementNonDirectFollowSource.scala
│ │ │ │ ├── RepeatedProfileVisitsFSConfig.scala
│ │ │ │ ├── RepeatedProfileVisitsParams.scala
│ │ │ │ └── RepeatedProfileVisitsSource.scala
│ │ │ ├── salsa/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── RecentEngagementDirectFollowSalsaExpansionSource.scala
│ │ │ │ ├── SalsaExpander.scala
│ │ │ │ └── SalsaExpansionBasedCandidateSource.scala
│ │ │ ├── sims/
│ │ │ │ ├── BUILD
│ │ │ │ ├── CacheBasedSimsStore.scala
│ │ │ │ ├── DBV2SimsRefreshStore.scala
│ │ │ │ ├── DBV2SimsStore.scala
│ │ │ │ ├── Follow2vecNearestNeighborsStore.scala
│ │ │ │ ├── README.md
│ │ │ │ ├── SimsExperimentalStore.scala
│ │ │ │ ├── SimsSourceFSConfig.scala
│ │ │ │ ├── SimsSourceParams.scala
│ │ │ │ ├── SimsStore.scala
│ │ │ │ ├── StratoBasedSimsCandidateSource.scala
│ │ │ │ ├── StratoBasedSimsCandidateSourceWithUnitView.scala
│ │ │ │ └── SwitchingSimsSource.scala
│ │ │ ├── sims_expansion/
│ │ │ │ ├── BUILD
│ │ │ │ ├── DBV2SimsExpansionParams.scala
│ │ │ │ ├── README.md
│ │ │ │ ├── RecentEngagementSimilarUsersFSConfig.scala
│ │ │ │ ├── RecentEngagementSimilarUsersParams.scala
│ │ │ │ ├── RecentEngagementSimilarUsersSource.scala
│ │ │ │ ├── RecentFollowingSimilarUsersParams.scala
│ │ │ │ ├── RecentFollowingSimilarUsersSource.scala
│ │ │ │ ├── RecentStrongEngagementDirectFollowSimilarUsersSource.scala
│ │ │ │ ├── SimsExpansionBasedCandidateSource.scala
│ │ │ │ ├── SimsExpansionFSConfig.scala
│ │ │ │ └── SimsExpansionSourceParams.scala
│ │ │ ├── socialgraph/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── RecentFollowingRecentFollowingExpansionSource.scala
│ │ │ │ ├── RecentFollowingRecentFollowingExpansionSourceFSConfig.scala
│ │ │ │ └── RecentFollowingRecentFollowingExpansionSourceParams.scala
│ │ │ ├── stp/
│ │ │ │ ├── BUILD
│ │ │ │ ├── BaseOnlineSTPSource.scala
│ │ │ │ ├── Dbv2StpScorer.scala
│ │ │ │ ├── EpStpScorer.scala
│ │ │ │ ├── MutualFollowStrongTiePredictionSource.scala
│ │ │ │ ├── OfflineMutualFollowExpansionSource.scala
│ │ │ │ ├── OfflineStpSourceFsConfig.scala
│ │ │ │ ├── OfflineStpSourceParams.scala
│ │ │ │ ├── OfflineStpSourceWithDensePmiMatrix.scala
│ │ │ │ ├── OfflineStpSourceWithLegacyPmiMatrix.scala
│ │ │ │ ├── OfflineStrongTiePredictionBaseSource.scala
│ │ │ │ ├── OfflineStrongTiePredictionSource.scala
│ │ │ │ ├── OnlineSTPSourceFSConfig.scala
│ │ │ │ ├── OnlineSTPSourceParams.scala
│ │ │ │ ├── OnlineSTPSourceScorer.scala
│ │ │ │ ├── OnlineSTPSourceWithDeepbirdV2Scorer.scala
│ │ │ │ ├── OnlineSTPSourceWithEPScorer.scala
│ │ │ │ ├── README.md
│ │ │ │ ├── STPFirstDegreeFetcher.scala
│ │ │ │ ├── STPGraphBuilder.scala
│ │ │ │ ├── STPSecondDegreeFetcher.scala
│ │ │ │ └── SocialProofEnforcedOfflineStrongTiePredictionSource.scala
│ │ │ ├── top_organic_follows_accounts/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── TopOrganicFollowsAccountsFSConfig.scala
│ │ │ │ ├── TopOrganicFollowsAccountsParams.scala
│ │ │ │ └── TopOrganicFollowsAccountsSource.scala
│ │ │ ├── triangular_loops/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ ├── TriangularLoopsFSConfig.scala
│ │ │ │ ├── TriangularLoopsParams.scala
│ │ │ │ └── TriangularLoopsSource.scala
│ │ │ ├── two_hop_random_walk/
│ │ │ │ ├── BUILD
│ │ │ │ ├── README.md
│ │ │ │ └── TwoHopRandomWalkSource.scala
│ │ │ └── user_user_graph/
│ │ │ ├── BUILD
│ │ │ ├── README.md
│ │ │ ├── UserUserGraphCandidateSource.scala
│ │ │ ├── UserUserGraphFSConfig.scala
│ │ │ └── UserUserGraphParams.scala
│ │ ├── clients/
│ │ │ ├── addressbook/
│ │ │ │ ├── AddressbookClient.scala
│ │ │ │ ├── AddressbookModule.scala
│ │ │ │ ├── BUILD
│ │ │ │ └── models/
│ │ │ │ ├── BUILD
│ │ │ │ ├── Contact.scala
│ │ │ │ ├── EdgeType.scala
│ │ │ │ ├── QueryOption.scala
│ │ │ │ └── RecordIdentifier.scala
│ │ │ ├── adserver/
│ │ │ │ ├── AdRequest.scala
│ │ │ │ ├── AdserverClient.scala
│ │ │ │ ├── AdserverModule.scala
│ │ │ │ └── BUILD
│ │ │ ├── cache/
│ │ │ │ ├── BUILD
│ │ │ │ ├── MemcacheClient.scala
│ │ │ │ ├── MemcacheModule.scala
│ │ │ │ └── ThriftBijection.scala
│ │ │ ├── common/
│ │ │ │ ├── BUILD
│ │ │ │ └── BaseClientModule.scala
│ │ │ ├── deepbirdv2/
│ │ │ │ ├── BUILD
│ │ │ │ └── DeepBirdV2PredictionServiceClientModule.scala
│ │ │ ├── dismiss_store/
│ │ │ │ ├── BUILD
│ │ │ │ └── DismissStore.scala
│ │ │ ├── email_storage_service/
│ │ │ │ ├── BUILD
│ │ │ │ ├── EmailStorageServiceClient.scala
│ │ │ │ └── EmailStorageServiceModule.scala
│ │ │ ├── geoduck/
│ │ │ │ ├── BUILD
│ │ │ │ ├── LocationServiceClient.scala
│ │ │ │ ├── LocationServiceModule.scala
│ │ │ │ ├── ReverseGeocodeClient.scala
│ │ │ │ └── UserLocationFetcher.scala
│ │ │ ├── gizmoduck/
│ │ │ │ ├── BUILD
│ │ │ │ ├── GizmoduckClient.scala
│ │ │ │ └── GizmoduckModule.scala
│ │ │ ├── graph_feature_service/
│ │ │ │ ├── BUILD
│ │ │ │ ├── GraphFeatureServiceClient.scala
│ │ │ │ └── GraphFeatureStoreModule.scala
│ │ │ ├── impression_store/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ImpressionStoreModule.scala
│ │ │ │ └── WtfImpressionStore.scala
│ │ │ ├── interests_service/
│ │ │ │ ├── BUILD
│ │ │ │ └── InterestServiceClient.scala
│ │ │ ├── phone_storage_service/
│ │ │ │ ├── BUILD
│ │ │ │ ├── PhoneStorageServiceClient.scala
│ │ │ │ └── PhoneStorageServiceModule.scala
│ │ │ ├── real_time_real_graph/
│ │ │ │ ├── BUILD
│ │ │ │ ├── Engagement.scala
│ │ │ │ ├── EngagementScorer.scala
│ │ │ │ └── RealTimeRealGraphClient.scala
│ │ │ ├── socialgraph/
│ │ │ │ ├── BUILD
│ │ │ │ ├── SocialGraphClient.scala
│ │ │ │ └── SocialGraphModule.scala
│ │ │ ├── strato/
│ │ │ │ ├── BUILD
│ │ │ │ └── StratoClientModule.scala
│ │ │ └── user_state/
│ │ │ ├── BUILD
│ │ │ └── UserStateClient.scala
│ │ ├── constants/
│ │ │ ├── BUILD
│ │ │ ├── CandidateAlgorithmTypeConstants.scala
│ │ │ ├── GuiceNamedConstants.scala
│ │ │ └── ServiceConstants.scala
│ │ ├── feature_hydration/
│ │ │ ├── adapters/
│ │ │ │ ├── BUILD
│ │ │ │ ├── CandidateAlgorithmAdapter.scala
│ │ │ │ ├── ClientContextAdapter.scala
│ │ │ │ ├── PostNuxAlgorithmAdapter.scala
│ │ │ │ └── PreFetchedFeatureAdapter.scala
│ │ │ ├── common/
│ │ │ │ ├── BUILD
│ │ │ │ ├── FeatureSource.scala
│ │ │ │ ├── FeatureSourceId.scala
│ │ │ │ └── HasPreFetchedFeature.scala
│ │ │ └── sources/
│ │ │ ├── BUILD
│ │ │ ├── CandidateAlgorithmSource.scala
│ │ │ ├── ClientContextSource.scala
│ │ │ ├── FeatureHydrationSourcesFSConfig.scala
│ │ │ ├── FeatureHydrationSourcesFeatureSwitchKeys.scala
│ │ │ ├── FeatureStoreFeatures.scala
│ │ │ ├── FeatureStoreGizmoduckSource.scala
│ │ │ ├── FeatureStoreParameters.scala
│ │ │ ├── FeatureStorePostNuxAlgorithmSource.scala
│ │ │ ├── FeatureStoreSource.scala
│ │ │ ├── FeatureStoreSourceParams.scala
│ │ │ ├── FeatureStoreTimelinesAuthorSource.scala
│ │ │ ├── FeatureStoreUserMetricCountsSource.scala
│ │ │ ├── HydrationSourcesModule.scala
│ │ │ ├── PreFetchedFeatureSource.scala
│ │ │ ├── UserScoringFeatureSource.scala
│ │ │ └── Utils.scala
│ │ ├── features/
│ │ │ ├── BUILD
│ │ │ ├── LocationFeature.scala
│ │ │ ├── TrackingTokenFeature.scala
│ │ │ └── UserStateFeature.scala
│ │ ├── models/
│ │ │ ├── AddressBookMetadata.scala
│ │ │ ├── AlgorithmType.scala
│ │ │ ├── BUILD
│ │ │ ├── CandidateUser.scala
│ │ │ ├── ClientContextConverter.scala
│ │ │ ├── DisplayLocation.scala
│ │ │ ├── EngagementType.scala
│ │ │ ├── FilterReason.scala
│ │ │ ├── FlowContext.scala
│ │ │ ├── FlowRecommendation.scala
│ │ │ ├── GeohashAndCountryCode.scala
│ │ │ ├── HasAdMetadata.scala
│ │ │ ├── HasByfSeedUserIds.scala
│ │ │ ├── HasDataRecord.scala
│ │ │ ├── HasDebugOptions.scala
│ │ │ ├── HasDismissedUserIds.scala
│ │ │ ├── HasDisplayLocation.scala
│ │ │ ├── HasEngagements.scala
│ │ │ ├── HasExcludedUserIds.scala
│ │ │ ├── HasGeohashAndCountryCode.scala
│ │ │ ├── HasInfoPerRankingStage.scala
│ │ │ ├── HasInterestIds.scala
│ │ │ ├── HasInvalidRelationshipUserIds.scala
│ │ │ ├── HasIsSoftUser.scala
│ │ │ ├── HasMutualFollowedUserIds.scala
│ │ │ ├── HasPreviousRecommendationsContext.scala
│ │ │ ├── HasProfileId.scala
│ │ │ ├── HasQualityFactor.scala
│ │ │ ├── HasRecentFollowedByUserIds.scala
│ │ │ ├── HasRecentFollowedUserIds.scala
│ │ │ ├── HasRecentFollowedUserIdsWithTime.scala
│ │ │ ├── HasRecentlyEngagedUserIds.scala
│ │ │ ├── HasRecommendationFlowIdentifier.scala
│ │ │ ├── HasScores.scala
│ │ │ ├── HasSimilarToContext.scala
│ │ │ ├── HasTopicId.scala
│ │ │ ├── HasUserCandidateSourceDetails.scala
│ │ │ ├── HasUserState.scala
│ │ │ ├── HasWtfImpressions.scala
│ │ │ ├── OptimusRequest.scala
│ │ │ ├── Product.scala
│ │ │ ├── RankingInfo.scala
│ │ │ ├── Reason.scala
│ │ │ ├── RecentlyEngagedUserId.scala
│ │ │ ├── RecommendationStep.scala
│ │ │ ├── STPGraph.scala
│ │ │ ├── SafetyLevel.scala
│ │ │ ├── Score.scala
│ │ │ ├── Session.scala
│ │ │ ├── SignalData.scala
│ │ │ ├── TrackingToken.scala
│ │ │ ├── TweetCandidate.scala
│ │ │ ├── UserCandidateSourceDetails.scala
│ │ │ ├── UserIdAndTimestamp.scala
│ │ │ └── WtfImpression.scala
│ │ ├── predicates/
│ │ │ ├── BUILD
│ │ │ ├── CandidateParamPredicate.scala
│ │ │ ├── CandidateSourceParamPredicate.scala
│ │ │ ├── CuratedCompetitorListPredicate.scala
│ │ │ ├── ExcludedUserIdPredicate.scala
│ │ │ ├── InactivePredicate.scala
│ │ │ ├── InactivePredicateParams.scala
│ │ │ ├── PreviouslyRecommendedUserIdsPredicate.scala
│ │ │ ├── dismiss/
│ │ │ │ ├── BUILD
│ │ │ │ ├── DismissedCandidatePredicate.scala
│ │ │ │ └── DismissedCandidatePredicateParams.scala
│ │ │ ├── gizmoduck/
│ │ │ │ ├── BUILD
│ │ │ │ ├── GizmoduckPredicate.scala
│ │ │ │ ├── GizmoduckPredicateCache.scala
│ │ │ │ ├── GizmoduckPredicateFSConfig.scala
│ │ │ │ └── GizmoduckPredicateParams.scala
│ │ │ ├── health/
│ │ │ │ ├── BUILD
│ │ │ │ ├── HssPredicate.scala
│ │ │ │ ├── HssPredicateFSConfig.scala
│ │ │ │ └── HssPredicateParams.scala
│ │ │ ├── sgs/
│ │ │ │ ├── BUILD
│ │ │ │ ├── InvalidRelationshipPredicate.scala
│ │ │ │ ├── RecentFollowingPredicate.scala
│ │ │ │ ├── SgsPredicateFSConfig.scala
│ │ │ │ ├── SgsPredicateParams.scala
│ │ │ │ ├── SgsRelationshipsByUserIdPredicate.scala
│ │ │ │ └── SgsRelationshipsPredicate.scala
│ │ │ └── user_activity/
│ │ │ ├── BUILD
│ │ │ ├── UserActivityPredicate.scala
│ │ │ └── UserActivityPredicateParams.scala
│ │ ├── rankers/
│ │ │ ├── common/
│ │ │ │ ├── AdhocScoreModificationType.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── DedupCandidates.scala
│ │ │ │ └── RankerId.scala
│ │ │ ├── fatigue_ranker/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ImpressionBasedFatigueRanker.scala
│ │ │ │ ├── ImpressionBasedFatigueRankerFSConfig.scala
│ │ │ │ └── ImpressionBasedFatigueRankerParams.scala
│ │ │ ├── first_n_ranker/
│ │ │ │ ├── BUILD
│ │ │ │ ├── FirstNRanker.scala
│ │ │ │ ├── FirstNRankerFSConfig.scala
│ │ │ │ ├── FirstNRankerFeatureSwitchKeys.scala
│ │ │ │ └── FirstNRankerParams.scala
│ │ │ ├── interleave_ranker/
│ │ │ │ ├── BUILD
│ │ │ │ ├── InterleaveRanker.scala
│ │ │ │ ├── InterleaveRankerFSConfig.scala
│ │ │ │ └── InterleaveRankerParams.scala
│ │ │ ├── ml_ranker/
│ │ │ │ ├── ranking/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ ├── HydrateFeaturesTransform.scala
│ │ │ │ │ ├── MlRanker.scala
│ │ │ │ │ ├── MlRankerFSConfig.scala
│ │ │ │ │ └── MlRankerParams.scala
│ │ │ │ └── scoring/
│ │ │ │ ├── AdhocScorer.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── DeepbirdScorer.scala
│ │ │ │ ├── PostnuxDeepbirdProdScorer.scala
│ │ │ │ ├── RandomScorer.scala
│ │ │ │ ├── Scorer.scala
│ │ │ │ └── ScorerFactory.scala
│ │ │ ├── utils/
│ │ │ │ ├── BUILD
│ │ │ │ └── Utils.scala
│ │ │ └── weighted_candidate_source_ranker/
│ │ │ ├── BUILD
│ │ │ ├── CandidateShuffle.scala
│ │ │ ├── WeightMethod.scala
│ │ │ ├── WeightedCandidateSourceBaseRanker.scala
│ │ │ ├── WeightedCandidateSourceRanker.scala
│ │ │ ├── WeightedCandidateSourceRankerFSConfig.scala
│ │ │ └── WeightedCandidateSourceRankerParams.scala
│ │ ├── stores/
│ │ │ ├── BUILD
│ │ │ └── LowTweepCredFollowStore.scala
│ │ ├── transforms/
│ │ │ ├── dedup/
│ │ │ │ ├── BUILD
│ │ │ │ └── DedupTransform.scala
│ │ │ ├── modify_social_proof/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ModifySocialProofTransform.scala
│ │ │ │ └── RemoveAccountProofTransform.scala
│ │ │ ├── ranker_id/
│ │ │ │ ├── BUILD
│ │ │ │ └── RandomRankerIdTransform.scala
│ │ │ ├── recommendation_flow_identifier/
│ │ │ │ ├── AddRecommendationFlowIdentifierTransform.scala
│ │ │ │ └── BUILD
│ │ │ ├── tracking_token/
│ │ │ │ ├── BUILD
│ │ │ │ └── TrackingTokenTransform.scala
│ │ │ └── weighted_sampling/
│ │ │ ├── BUILD
│ │ │ ├── SamplingTransform.scala
│ │ │ ├── SamplingTransformFSConfig.scala
│ │ │ └── SamplingTransformParams.scala
│ │ └── utils/
│ │ ├── BUILD
│ │ ├── CollectionUtil.scala
│ │ ├── DisplayLocationProductConverterUtil.scala
│ │ ├── MergeUtil.scala
│ │ ├── RandomUtil.scala
│ │ ├── RescueWithStatsUtils.scala
│ │ ├── UserSignupUtil.scala
│ │ └── Weighted.scala
│ ├── server/
│ │ └── src/
│ │ └── main/
│ │ ├── resources/
│ │ │ ├── BUILD
│ │ │ ├── config/
│ │ │ │ └── decider.yml
│ │ │ ├── logback.xml
│ │ │ └── quality/
│ │ │ └── stp_models/
│ │ │ └── 20141223/
│ │ │ ├── epModel
│ │ │ └── trainingConfig
│ │ └── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── follow_recommendations/
│ │ ├── BUILD
│ │ ├── FollowRecommendationsServiceThriftServer.scala
│ │ ├── assembler/
│ │ │ └── models/
│ │ │ ├── Action.scala
│ │ │ ├── BUILD
│ │ │ ├── Config.scala
│ │ │ ├── FeedbackAction.scala
│ │ │ ├── Footer.scala
│ │ │ ├── Header.scala
│ │ │ ├── Layout.scala
│ │ │ ├── RecommendationOptions.scala
│ │ │ ├── SocialProof.scala
│ │ │ ├── Title.scala
│ │ │ └── WTFPresentation.scala
│ │ ├── blenders/
│ │ │ ├── BUILD
│ │ │ └── PromotedAccountsBlender.scala
│ │ ├── configapi/
│ │ │ ├── BUILD
│ │ │ ├── ConfigBuilder.scala
│ │ │ ├── DeciderConfigs.scala
│ │ │ ├── FeatureSwitchConfigs.scala
│ │ │ ├── GlobalFeatureSwitchConfig.scala
│ │ │ ├── ParamsFactory.scala
│ │ │ ├── RequestContext.scala
│ │ │ ├── RequestContextFactory.scala
│ │ │ ├── candidates/
│ │ │ │ ├── BUILD
│ │ │ │ ├── CandidateUserContext.scala
│ │ │ │ ├── CandidateUserContextFactory.scala
│ │ │ │ ├── CandidateUserParamsFactory.scala
│ │ │ │ └── HydrateCandidateParamsTransform.scala
│ │ │ ├── common/
│ │ │ │ ├── BUILD
│ │ │ │ └── FeatureSwitchConfig.scala
│ │ │ ├── deciders/
│ │ │ │ ├── BUILD
│ │ │ │ ├── DeciderKey.scala
│ │ │ │ └── DeciderParams.scala
│ │ │ └── params/
│ │ │ ├── BUILD
│ │ │ └── GlobalParams.scala
│ │ ├── controllers/
│ │ │ ├── BUILD
│ │ │ ├── CandidateUserDebugParamsBuilder.scala
│ │ │ ├── RecommendationRequestBuilder.scala
│ │ │ ├── RequestBuilderUserFetcher.scala
│ │ │ ├── ScoringUserRequestBuilder.scala
│ │ │ └── ThriftController.scala
│ │ ├── flows/
│ │ │ ├── ads/
│ │ │ │ ├── BUILD
│ │ │ │ ├── PromotedAccountsFlow.scala
│ │ │ │ ├── PromotedAccountsFlowParams.scala
│ │ │ │ ├── PromotedAccountsFlowRequest.scala
│ │ │ │ └── PromotedAccountsUtil.scala
│ │ │ ├── content_recommender_flow/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ContentRecommenderFlow.scala
│ │ │ │ ├── ContentRecommenderFlowCandidateSourceRegistry.scala
│ │ │ │ ├── ContentRecommenderFlowCandidateSourceWeights.scala
│ │ │ │ ├── ContentRecommenderFlowCandidateSourceWeightsParams.scala
│ │ │ │ ├── ContentRecommenderFlowFSConfig.scala
│ │ │ │ ├── ContentRecommenderFlowFeatureSwitchKeys.scala
│ │ │ │ ├── ContentRecommenderParams.scala
│ │ │ │ ├── ContentRecommenderRequest.scala
│ │ │ │ └── ContentRecommenderRequestBuilder.scala
│ │ │ └── post_nux_ml/
│ │ │ ├── BUILD
│ │ │ ├── PostNuxMlCandidateSourceRegistry.scala
│ │ │ ├── PostNuxMlCandidateSourceWeightParams.scala
│ │ │ ├── PostNuxMlCombinedRankerBuilder.scala
│ │ │ ├── PostNuxMlFlow.scala
│ │ │ ├── PostNuxMlFlowCandidateSourceWeights.scala
│ │ │ ├── PostNuxMlFlowCandidateSourceWeightsFeatureSwitchKeys.scala
│ │ │ ├── PostNuxMlFlowFSConfig.scala
│ │ │ ├── PostNuxMlFlowFeatureSwitchKeys.scala
│ │ │ ├── PostNuxMlParams.scala
│ │ │ ├── PostNuxMlRequest.scala
│ │ │ ├── PostNuxMlRequestBuilder.scala
│ │ │ └── PostNuxMlRequestBuilderParams.scala
│ │ ├── logging/
│ │ │ ├── BUILD
│ │ │ └── FrsLogger.scala
│ │ ├── models/
│ │ │ ├── BUILD
│ │ │ ├── CandidateSourceType.scala
│ │ │ ├── CandidateUserDebugParams.scala
│ │ │ ├── DebugParams.scala
│ │ │ ├── DisplayContext.scala
│ │ │ ├── FeatureValue.scala
│ │ │ ├── RecommendationFlowData.scala
│ │ │ ├── RecommendationRequest.scala
│ │ │ ├── RecommendationResponse.scala
│ │ │ ├── Request.scala
│ │ │ ├── ScoringUserRequest.scala
│ │ │ ├── ScoringUserResponse.scala
│ │ │ └── failures/
│ │ │ ├── BUILD
│ │ │ └── TimeoutPipelineFailure.scala
│ │ ├── modules/
│ │ │ ├── ABDeciderModule.scala
│ │ │ ├── BUILD
│ │ │ ├── ConfigApiModule.scala
│ │ │ ├── DiffyModule.scala
│ │ │ ├── FeatureSwitchesModule.scala
│ │ │ ├── FlagsModule.scala
│ │ │ ├── ProductRegistryModule.scala
│ │ │ ├── ScorerModule.scala
│ │ │ ├── ScribeModule.scala
│ │ │ └── TimerModule.scala
│ │ ├── products/
│ │ │ ├── BUILD
│ │ │ ├── ProdProductRegistry.scala
│ │ │ ├── common/
│ │ │ │ ├── BUILD
│ │ │ │ ├── Exceptions.scala
│ │ │ │ ├── Product.scala
│ │ │ │ └── ProductRegistry.scala
│ │ │ ├── explore_tab/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ExploreTabProduct.scala
│ │ │ │ └── configapi/
│ │ │ │ ├── BUILD
│ │ │ │ ├── ExploreTabFSConfig.scala
│ │ │ │ └── ExploreTabParams.scala
│ │ │ ├── home_timeline/
│ │ │ │ ├── BUILD
│ │ │ │ ├── HTLProductMixer.scala
│ │ │ │ ├── HomeTimelineProduct.scala
│ │ │ │ ├── HomeTimelineStrings.scala
│ │ │ │ └── configapi/
│ │ │ │ ├── BUILD
│ │ │ │ ├── HomeTimelineFSConfig.scala
│ │ │ │ └── HomeTimelineParams.scala
│ │ │ ├── home_timeline_tweet_recs/
│ │ │ │ ├── BUILD
│ │ │ │ ├── HomeTimelineTweetRecsProduct.scala
│ │ │ │ └── configapi/
│ │ │ │ ├── BUILD
│ │ │ │ └── HomeTimelineTweetRecsParams.scala
│ │ │ └── sidebar/
│ │ │ ├── BUILD
│ │ │ ├── SidebarProduct.scala
│ │ │ └── configapi/
│ │ │ ├── BUILD
│ │ │ └── SidebarParams.scala
│ │ ├── services/
│ │ │ ├── BUILD
│ │ │ ├── FollowRecommendationsServiceWarmupHandler.scala
│ │ │ ├── ProductMixerRecommendationService.scala
│ │ │ ├── ProductPipelineSelector.scala
│ │ │ ├── ProductPipelineSelectorConfig.scala
│ │ │ ├── ProductRecommenderService.scala
│ │ │ ├── RecommendationsService.scala
│ │ │ ├── UserScoringService.scala
│ │ │ └── exceptions/
│ │ │ ├── BUILD
│ │ │ └── UnknownExceptionMapper.scala
│ │ └── utils/
│ │ ├── BUILD
│ │ ├── CandidateSourceHoldbackUtil.scala
│ │ └── RecommendationFlowBaseSideEffectsUtil.scala
│ └── thrift/
│ └── src/
│ └── main/
│ └── thrift/
│ ├── BUILD
│ ├── assembler.thrift
│ ├── client_context.thrift
│ ├── debug.thrift
│ ├── display_context.thrift
│ ├── display_location.thrift
│ ├── engagementType.thrift
│ ├── flows.thrift
│ ├── follow-recommendations-service.thrift
│ ├── follow_recommendations_serving_history.thrift
│ ├── logging/
│ │ ├── BUILD
│ │ ├── client_context.thrift
│ │ ├── debug.thrift
│ │ ├── display_context.thrift
│ │ ├── display_location.thrift
│ │ ├── engagementType.thrift
│ │ ├── flows.thrift
│ │ ├── logs.thrift
│ │ ├── reasons.thrift
│ │ ├── recently_engaged_user_id.thrift
│ │ ├── recommendations.thrift
│ │ ├── scoring.thrift
│ │ └── tracking.thrift
│ ├── reasons.thrift
│ ├── recently_engaged_user_id.thrift
│ ├── recommendations.thrift
│ ├── scoring.thrift
│ └── tracking.thrift
├── graph-feature-service/
│ ├── BUILD.bazel
│ ├── README.md
│ ├── doc/
│ │ ├── common.md
│ │ └── getintersection.md
│ └── src/
│ └── main/
│ ├── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── graph_feature_service/
│ │ ├── common/
│ │ │ ├── BUILD.bazel
│ │ │ └── Configs.scala
│ │ ├── server/
│ │ │ ├── BUILD.bazel
│ │ │ ├── Main.scala
│ │ │ ├── controllers/
│ │ │ │ └── ServerController.scala
│ │ │ ├── handlers/
│ │ │ │ ├── ServerGetIntersectionHandler.scala
│ │ │ │ └── ServerWarmupHandler.scala
│ │ │ ├── modules/
│ │ │ │ ├── GetIntersectionStoreModule.scala
│ │ │ │ ├── GraphFeatureServiceWorkerClientsModule.scala
│ │ │ │ ├── LZ4Injection.scala
│ │ │ │ └── ServerFlagModule.scala
│ │ │ └── stores/
│ │ │ ├── FeatureTypesEncoder.scala
│ │ │ └── GetIntersectionStore.scala
│ │ ├── util/
│ │ │ ├── BUILD
│ │ │ ├── FeatureTypesCalculator.scala
│ │ │ └── IntersectionValueCalculator.scala
│ │ └── worker/
│ │ ├── BUILD.bazel
│ │ ├── Main.scala
│ │ ├── controllers/
│ │ │ └── WorkerController.scala
│ │ ├── handlers/
│ │ │ ├── WorkerGetIntersectionHandler.scala
│ │ │ └── WorkerWarmupHandler.scala
│ │ ├── modules/
│ │ │ ├── GraphContainerProviderModule.scala
│ │ │ └── WorkerFlagModule.scala
│ │ └── util/
│ │ ├── AutoUpdatingGraph.scala
│ │ ├── GfsQuery.scala
│ │ ├── GraphContainer.scala
│ │ ├── GraphKey.scala
│ │ └── GraphType.scala
│ ├── scalding/
│ │ └── com/
│ │ └── twitter/
│ │ └── graph_feature_service/
│ │ └── scalding/
│ │ ├── BUILD.bazel
│ │ ├── EdgeFeature.scala
│ │ ├── GraphFeatureServiceAppBase.scala
│ │ ├── GraphFeatureServiceApps.scala
│ │ ├── GraphFeatureServiceMainJob.scala
│ │ └── adhoc/
│ │ ├── BUILD.bazel
│ │ └── RandomRequestGenerationApp.scala
│ └── thrift/
│ └── com/
│ └── twitter/
│ └── graph_feature_service/
│ ├── BUILD
│ └── graph_feature_service.thrift
├── home-mixer/
│ ├── BUILD.bazel
│ ├── README.md
│ └── server/
│ └── src/
│ └── main/
│ └── scala/
│ └── com/
│ └── twitter/
│ └── home_mixer/
│ ├── BUILD.bazel
│ ├── HomeMixerHttpServerWarmupHandler.scala
│ ├── HomeMixerServer.scala
│ ├── HomeMixerThriftServerWarmupHandler.scala
│ ├── candidate_pipeline/
│ │ ├── BUILD.bazel
│ │ ├── ConversationServiceCandidatePipelineConfig.scala
│ │ ├── ConversationServiceCandidatePipelineConfigBuilder.scala
│ │ ├── ConversationServiceResponseFeatureTransformer.scala
│ │ ├── EditedTweetsCandidatePipelineConfig.scala
│ │ ├── NewTweetsPillCandidatePipelineConfig.scala
│ │ ├── TimelineServiceResponseFeatureTransformer.scala
│ │ └── VerifiedPromptCandidatePipelineConfig.scala
│ ├── controller/
│ │ ├── BUILD.bazel
│ │ ├── HomeHttpController.scala
│ │ └── HomeThriftController.scala
│ ├── federated/
│ │ ├── BUILD.bazel
│ │ └── HomeMixerColumn.scala
│ ├── functional_component/
│ │ ├── candidate_source/
│ │ │ ├── BUILD.bazel
│ │ │ ├── EarlybirdCandidateSource.scala
│ │ │ └── StaleTweetsCacheCandidateSource.scala
│ │ ├── decorator/
│ │ │ ├── BUILD.bazel
│ │ │ ├── EntryPointPivotModuleDecorator.scala
│ │ │ ├── ForYouTweetCandidateDecorator.scala
│ │ │ ├── HomeConversationServiceCandidateDecorator.scala
│ │ │ ├── HomeQueryTypePredicates.scala
│ │ │ ├── KeywordTrendsModuleCandidateDecorator.scala
│ │ │ ├── PinnedTweetBroadcastCandidateDecorator.scala
│ │ │ ├── StoriesModuleCandidateDecorator.scala
│ │ │ ├── TuneFeedModuleCandidateDecorator.scala
│ │ │ ├── TweetCarouselModuleCandidateDecorator.scala
│ │ │ ├── VideoCarouselModuleCandidateDecorator.scala
│ │ │ ├── builder/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── HomeAdsClientEventDetailsBuilder.scala
│ │ │ │ ├── HomeClientEventDetailsBuilder.scala
│ │ │ │ ├── HomeClientEventInfoBuilder.scala
│ │ │ │ ├── HomeConversationModuleMetadataBuilder.scala
│ │ │ │ ├── HomeTimelinesScoreInfoBuilder.scala
│ │ │ │ ├── HomeTweetTypePredicates.scala
│ │ │ │ ├── KeywordTrendMetaDescriptionBuilder.scala
│ │ │ │ ├── ListClientEventDetailsBuilder.scala
│ │ │ │ └── VerifiedPromptBuilder.scala
│ │ │ └── urt/
│ │ │ └── builder/
│ │ │ ├── AddEntriesWithReplaceAndShowAlertAndShowCoverInstructionBuilder.scala
│ │ │ ├── AuthorChildFeedbackActionBuilder.scala
│ │ │ ├── BUILD.bazel
│ │ │ ├── BlockUserChildFeedbackActionBuilder.scala
│ │ │ ├── ChildFeedbackActionBuilder.scala
│ │ │ ├── DebugSocialContextBuilder.scala
│ │ │ ├── DontLikeFeedbackActionBuilder.scala
│ │ │ ├── EngagerSocialContextBuilder.scala
│ │ │ ├── ExtendedReplySocialContextBuilder.scala
│ │ │ ├── FeedbackStrings.scala
│ │ │ ├── FeedbackUtil.scala
│ │ │ ├── FollowedBySocialContextBuilder.scala
│ │ │ ├── HomeFeedbackActionInfoBuilder.scala
│ │ │ ├── HomeTweetContextBuilder.scala
│ │ │ ├── HomeTweetSocialContextBuilder.scala
│ │ │ ├── HomeWhoToFollowFeedbackActionInfoBuilder.scala
│ │ │ ├── HomeWhoToSubscribeFeedbackActionInfoBuilder.scala
│ │ │ ├── LikedBySocialContextBuilder.scala
│ │ │ ├── ListsSocialContextBuilder.scala
│ │ │ ├── MuteUserChildFeedbackActionBuilder.scala
│ │ │ ├── NotInterestedTopicFeedbackActionBuilder.scala
│ │ │ ├── NotRelevantChildFeedbackActionBuilder.scala
│ │ │ ├── PopularInYourAreaSocialContextBuilder.scala
│ │ │ ├── PopularVideoSocialContextBuilder.scala
│ │ │ ├── PostDetailsNegativeFeedbackActionBuilder.scala
│ │ │ ├── PostFeedbackActionBuilder.scala
│ │ │ ├── PostFollowupFeedbackActionBuilder.scala
│ │ │ ├── ReceivedReplySocialContextBuilder.scala
│ │ │ ├── RelevancePromptCandidateUrtItemBuilder.scala
│ │ │ ├── ReportTweetChildFeedbackActionBuilder.scala
│ │ │ ├── RetweeterChildFeedbackActionBuilder.scala
│ │ │ ├── ServedTypeSocialContextBuilder.scala
│ │ │ ├── TopicSocialContextBuilder.scala
│ │ │ ├── TuneFeedFeedbackActionInfoBuilder.scala
│ │ │ └── UnfollowUserChildFeedbackActionBuilder.scala
│ │ ├── feature_hydrator/
│ │ │ ├── AncestorFeatureHydrator.scala
│ │ │ ├── AuthorFeatureHydrator.scala
│ │ │ ├── AuthorLargeEmbeddingsFeatureHydrator.scala
│ │ │ ├── BUILD.bazel
│ │ │ ├── BasketballContextFeatureHydrator.scala
│ │ │ ├── BroadcastStateFeatureHydrator.scala
│ │ │ ├── CategoryDiversityRescoringFeatureHydrator.scala
│ │ │ ├── ClipEmbeddingFeatureHydrator.scala
│ │ │ ├── ClipEmbeddingMediaUnderstandingFeatureHydrator.scala
│ │ │ ├── ClipImageClusterIdFeatureHydrator.scala
│ │ │ ├── DependentBulkCandidateFeatureHydrator.scala
│ │ │ ├── DismissInfoQueryFeatureHydrator.scala
│ │ │ ├── DiversityRescoringFeatureHydrator.scala
│ │ │ ├── EarlybirdSearchResultFeatureHydrator.scala
│ │ │ ├── FeedbackHistoryQueryFeatureHydrator.scala
│ │ │ ├── FollowableUttTopicsQueryFeatureHydrator.scala
│ │ │ ├── FrsSeedUsersQueryFeatureHydrator.scala
│ │ │ ├── GeoduckAuthorLocationHydrator.scala
│ │ │ ├── GizmoduckAuthorFeatureHydrator.scala
│ │ │ ├── GizmoduckUserQueryFeatureHydrator.scala
│ │ │ ├── GraphTwoHopFeatureHydrator.scala
│ │ │ ├── GrokAnnotationsFeatureHydrator.scala
│ │ │ ├── GrokGorkContentCreatorFeatureHydrator.scala
│ │ │ ├── GrokTranslatedPostIsCachedFeatureHydrator.scala
│ │ │ ├── HeartbeatOptimizerParamsHydrator.scala
│ │ │ ├── HeavyRankerWeightsQueryFeatureHydrator.scala
│ │ │ ├── ImpressedImageClusterIdsQueryFeatureHydrator.scala
│ │ │ ├── ImpressedMediaClusterIdsQueryFeatureHydrator.scala
│ │ │ ├── ImpressionBloomFilterQueryFeatureHydrator.scala
│ │ │ ├── InNetworkFeatureHydrator.scala
│ │ │ ├── LastNegativeFeedbackTimeQueryFeatureHydrator.scala
│ │ │ ├── LastNonPollingTimeQueryFeatureHydrator.scala
│ │ │ ├── ListIdsQueryFeatureHydrator.scala
│ │ │ ├── MediaClusterIdFeatureHydrator.scala
│ │ │ ├── MediaCompletionRateFeatureHydrator.scala
│ │ │ ├── MultiModalEmbeddingsFeatureHydrator.scala
│ │ │ ├── NamesFeatureHydrator.scala
│ │ │ ├── NaviClientConfigQueryFeatureHydrator.scala
│ │ │ ├── NaviVideoClientConfigQueryFeatureHydrator.scala
│ │ │ ├── OnPremRealGraphQueryFeatureHydrator.scala
│ │ │ ├── OptimizerWeightsQueryFeatureHydrator.scala
│ │ │ ├── OriginalAuthorLargeEmbeddingsFeatureHydrator.scala
│ │ │ ├── OriginalTweetLargeEmbeddingsFeatureHydrator.scala
│ │ │ ├── PersistenceStoreQueryFeatureHydrator.scala
│ │ │ ├── PerspectiveFilteredSocialContextFeatureHydrator.scala
│ │ │ ├── PhoenixRescoringFeatureHydrator.scala
│ │ │ ├── PostContextFeatureHydrator.scala
│ │ │ ├── RateLimitQueryFeatureHydrator.scala
│ │ │ ├── RealGraphInNetworkScoresQueryFeatureHydrator.scala
│ │ │ ├── RealGraphQueryFeatureHydrator.scala
│ │ │ ├── RealGraphViewerAuthorFeatureHydrator.scala
│ │ │ ├── RealGraphViewerRelatedUsersFeatureHydrator.scala
│ │ │ ├── RealTimeEntityRealGraphQueryFeatureHydrator.scala
│ │ │ ├── RealTimeInteractionGraphEdgeFeatureHydrator.scala
│ │ │ ├── RealTimeInteractionGraphUserVertexQueryFeatureHydrator.scala
│ │ │ ├── RequestQueryFeatureHydrator.scala
│ │ │ ├── RequestTimeQueryFeatureHydrator.scala
│ │ │ ├── SGSValidSocialContextFeatureHydrator.scala
│ │ │ ├── SimClustersEngagementSimilarityFeatureHydrator.scala
│ │ │ ├── SimClustersLogFavBasedTweetFeatureHydrator.scala
│ │ │ ├── SimClustersUserSparseEmbeddingsQueryFeatureHydrator.scala
│ │ │ ├── SimClustersUserTweetScoresHydrator.scala
│ │ │ ├── SimclusterBasedTopAuthorsQueryFeatureHydrator.scala
│ │ │ ├── SlopAuthorFeatureHydrator.scala
│ │ │ ├── SpaceStateFeatureHydrator.scala
│ │ │ ├── TSPInferredTopicFeatureHydrator.scala
│ │ │ ├── TransformerPostEmbeddingFeatureHydrator.scala
│ │ │ ├── TweetEntityServiceContentFeatureHydrator.scala
│ │ │ ├── TweetEntityServiceFeatureHydrator.scala
│ │ │ ├── TweetImpressionsQueryFeatureHydrator.scala
│ │ │ ├── TweetLanguageFeatureHydrator.scala
│ │ │ ├── TweetLargeEmbeddingsFeatureHydrator.scala
│ │ │ ├── TweetMetaDataFeatureHydrator.scala
│ │ │ ├── TweetTimeFeatureHydrator.scala
│ │ │ ├── TweetTypeMetricsFeatureHydrator.scala
│ │ │ ├── TweetypieFeatureHydrator.scala
│ │ │ ├── TwhinAuthorFollowFeatureHydrator.scala
│ │ │ ├── TwhinRebuildTweetFeatureHydrator.scala
│ │ │ ├── TwhinRebuildUserEngagementQueryFeatureHydrator.scala
│ │ │ ├── TwhinRebuildUserPositiveQueryFeatureHydrator.scala
│ │ │ ├── TwhinTweetFeatureHydrator.scala
│ │ │ ├── TwhinUserEngagementQueryFeatureHydrator.scala
│ │ │ ├── TwhinUserFollowQueryFeatureHydrator.scala
│ │ │ ├── TwhinUserNegativeFeatureHydrator.scala
│ │ │ ├── TwhinUserPositiveFeatureHydrator.scala
│ │ │ ├── TwhinVideoFeatureHydrator.scala
│ │ │ ├── UnifiedUserActionsUserIdentifierFeatureHydrator.scala
│ │ │ ├── UserActionByteArrayQueryFeatureHydrator.scala
│ │ │ ├── UserActionsQueryFeatureHydrator.scala
│ │ │ ├── UserEngagedGrokCategoriesFeatureHydrator.scala
│ │ │ ├── UserEngagedLanguagesFeatureHydrator.scala
│ │ │ ├── UserEngagementGrokTagFeatureHydrator.scala
│ │ │ ├── UserFrequentLocationHydrator.scala
│ │ │ ├── UserFrequentLocationQueryFeatureHydrator.scala
│ │ │ ├── UserHistoryTransformerEmbeddingQueryFeatureHydrator.scala
│ │ │ ├── UserLanguagesFeatureHydrator.scala
│ │ │ ├── UserLargeEmbeddingsFeatureHydrator.scala
│ │ │ ├── UserStateQueryFeatureHydrator.scala
│ │ │ ├── UserSubscriptionQueryFeatureHydrator.scala
│ │ │ ├── UserUnderstandableLangaugesFeatureHydrator.scala
│ │ │ ├── UtegFeatureHydrator.scala
│ │ │ ├── VideoSummaryEmbeddingFeatureHydrator.scala
│ │ │ ├── ViewCountsFeatureHydrator.scala
│ │ │ ├── ViralContentCreatorMetricsFeatureHydrator.scala
│ │ │ ├── WithDefaultFeatureMap.scala
│ │ │ ├── adapters/
│ │ │ │ ├── author_features/
│ │ │ │ │ ├── AuthorFeaturesAdapter.scala
│ │ │ │ │ └── BUILD.bazel
│ │ │ │ ├── content/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ ├── ClipEmbeddingFeaturesAdapter.scala
│ │ │ │ │ ├── ContentFeatureAdapter.scala
│ │ │ │ │ ├── TextTokensFeaturesAdapter.scala
│ │ │ │ │ └── VideoSummaryEmbeddingFeaturesAdaptor.scala
│ │ │ │ ├── gizmoduck_features/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── GizmoduckFeaturesAdapter.scala
│ │ │ │ ├── inferred_topic/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── InferredTopicAdapter.scala
│ │ │ │ ├── light_ranking_features/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── LightRankingCandidateFeaturesAdapter.scala
│ │ │ │ ├── non_ml_features/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ ├── NonMLCandidateFeaturesAdapter.scala
│ │ │ │ │ └── NonMLCommonFeaturesAdapter.scala
│ │ │ │ ├── offline_aggregates/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ ├── PassThroughAdapter.scala
│ │ │ │ │ └── SparseAggregatesToDenseAdapter.scala
│ │ │ │ ├── simclusters_features/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── SimclustersFeaturesAdapter.scala
│ │ │ │ ├── transformer_embeddings/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ ├── TransformerEmbeddingsAdapter.scala
│ │ │ │ │ ├── UserHistoryEventsAdapter.scala
│ │ │ │ │ └── VideoUserHistoryEventsAdapter.scala
│ │ │ │ └── twhin_embeddings/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── TwhinEmbeddingsAdapter.scala
│ │ │ ├── offline_aggregates/
│ │ │ │ ├── AggregateFeatureInfo.scala
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── BaseEdgeAggregateFeatureHydrator.scala
│ │ │ │ ├── EdgeAggregateFeatures.scala
│ │ │ │ ├── PartAAggregateQueryFeatureHydrator.scala
│ │ │ │ ├── PartBAggregateQueryFeatureHydrator.scala
│ │ │ │ ├── TopicEdgeAggregateFeatureHydrator.scala
│ │ │ │ ├── TopicEdgeTruncatedAggregateFeatureHydrator.scala
│ │ │ │ ├── TweetContentEdgeAggregateFeatureHydrator.scala
│ │ │ │ ├── UserEngagerEdgeAggregateFeatureHydrator.scala
│ │ │ │ ├── UserEntityEdgeAggregateFeatureHydrator.scala
│ │ │ │ └── Utils.scala
│ │ │ ├── real_time_aggregates/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── EngagementsReceivedByAuthorRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── FlagBasedRealTimeAggregateBulkCandidateFeatureHydrator.scala
│ │ │ │ ├── TopicCountryEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TopicEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TweetCountryEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TweetEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TwitterListEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── UserAuthorEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── UserEngagementRealTimeAggregatesFeatureHydrator.scala
│ │ │ │ └── UserTweetTvVideoRealTimeAggregateFeatureHydrator.scala
│ │ │ └── user_history/
│ │ │ ├── BUILD.bazel
│ │ │ ├── BaseUserHistoryEventsQueryFeatureHydrator.scala
│ │ │ ├── ScoredTweetsUserHistoryEventsQueryFeatureHydrator.scala
│ │ │ └── ScoredVideoTweetsUserHistoryEventsQueryFeatureHydrator.scala
│ │ ├── filter/
│ │ │ ├── AuthorDedupFilter.scala
│ │ │ ├── BUILD.bazel
│ │ │ ├── ClipClusterDeduplicationFilter.scala
│ │ │ ├── ClusterBasedDedupFilter.scala
│ │ │ ├── ConsistentAspectRatioFilter.scala
│ │ │ ├── CountryFilter.scala
│ │ │ ├── CurrentPinnedTweetFilter.scala
│ │ │ ├── DropMaxCandidatesFilter.scala
│ │ │ ├── FeedbackFatigueFilter.scala
│ │ │ ├── GrokGoreFilter.scala
│ │ │ ├── GrokNsfwFilter.scala
│ │ │ ├── GrokSpamFilter.scala
│ │ │ ├── GrokViolentFilter.scala
│ │ │ ├── HasAuthorFilter.scala
│ │ │ ├── HasMultipleMediaFilter.scala
│ │ │ ├── InvalidConversationModuleFilter.scala
│ │ │ ├── InvalidSubscriptionTweetFilter.scala
│ │ │ ├── LocationFilter.scala
│ │ │ ├── MaxVideoDurationFilter.scala
│ │ │ ├── MediaDeduplicationFilter.scala
│ │ │ ├── MinVideoDurationFilter.scala
│ │ │ ├── PredicateGatedFilter.scala
│ │ │ ├── PreviouslySeenMediaIdsFilter.scala
│ │ │ ├── PreviouslySeenTweetsFilter.scala
│ │ │ ├── PreviouslyServedAncestorsFilter.scala
│ │ │ ├── PreviouslyServedTweetPreviewsFilter.scala
│ │ │ ├── PreviouslyServedTweetsFilter.scala
│ │ │ ├── QuoteDeduplicationFilter.scala
│ │ │ ├── RegionFilter.scala
│ │ │ ├── RejectTweetFromViewerFilter.scala
│ │ │ ├── ReplyFilter.scala
│ │ │ ├── RetweetDeduplicationFilter.scala
│ │ │ ├── RetweetFilter.scala
│ │ │ ├── SlopFilter.scala
│ │ │ ├── TweetHydrationFilter.scala
│ │ │ └── WeeklyBookmarkFilter.scala
│ │ ├── gate/
│ │ │ ├── AllowForYouRecommendationsGate.scala
│ │ │ ├── BUILD.bazel
│ │ │ ├── BookmarksTimeGate.scala
│ │ │ ├── DismissFatigueGate.scala
│ │ │ ├── ExcludeSoftUserGate.scala
│ │ │ ├── ExcludeSyntheticUserGate.scala
│ │ │ ├── PersistenceStoreDurationValidationGate.scala
│ │ │ ├── RateLimitGate.scala
│ │ │ ├── RateLimitNotGate.scala
│ │ │ ├── RecentlyServedByServedTypeGate.scala
│ │ │ ├── RequestContextGate.scala
│ │ │ ├── RequestContextNotGate.scala
│ │ │ ├── SupportedLanguagesGate.scala
│ │ │ ├── TestUserProbabilisticGate.scala
│ │ │ └── TimelinesPersistenceStoreLastInjectionGate.scala
│ │ ├── query_transformer/
│ │ │ ├── BUILD.bazel
│ │ │ └── EditedTweetsCandidatePipelineQueryTransformer.scala
│ │ ├── scorer/
│ │ │ ├── BUILD.bazel
│ │ │ ├── FeedbackFatigueScorer.scala
│ │ │ ├── NaviModelScorer.scala
│ │ │ ├── OONTweetScalingScorer.scala
│ │ │ ├── PhoenixModelRerankingScorer.scala
│ │ │ ├── PhoenixScorer.scala
│ │ │ ├── PredictClientFactory.scala
│ │ │ └── WeighedModelRerankingScorer.scala
│ │ ├── selector/
│ │ │ ├── BUILD.bazel
│ │ │ ├── DebunchCandidates.scala
│ │ │ ├── RandomShuffleCandidates.scala
│ │ │ ├── ScoreAveragingPositionSelector.scala
│ │ │ ├── SortFixedPositionCandidates.scala
│ │ │ ├── UpdateConversationModuleId.scala
│ │ │ ├── UpdateHomeClientEventDetails.scala
│ │ │ └── UpdateNewTweetsPillDecoration.scala
│ │ └── side_effect/
│ │ ├── BUILD.bazel
│ │ ├── BaseCacheCandidateFeaturesSideEffect.scala
│ │ ├── ClientEventsBuilder.scala
│ │ ├── CommonFeaturesPldrConverter.scala
│ │ ├── HomeScribeClientEventSideEffect.scala
│ │ ├── HomeScribeServedCandidatesSideEffect.scala
│ │ ├── PublishClientSentImpressionsEventBusSideEffect.scala
│ │ ├── PublishClientSentImpressionsManhattanSideEffect.scala
│ │ ├── PublishImpressionBloomFilterSideEffect.scala
│ │ ├── TruncateTimelinesPersistenceStoreSideEffect.scala
│ │ ├── UpdateLastNonPollingTimeSideEffect.scala
│ │ └── UpdateTimelinesPersistenceStoreSideEffect.scala
│ ├── marshaller/
│ │ ├── request/
│ │ │ ├── BUILD.bazel
│ │ │ ├── DeviceContextUnmarshaller.scala
│ │ │ ├── HomeMixerDebugParamsUnmarshaller.scala
│ │ │ ├── HomeMixerProductContextUnmarshaller.scala
│ │ │ ├── HomeMixerProductUnmarshaller.scala
│ │ │ └── HomeMixerRequestUnmarshaller.scala
│ │ ├── timeline_logging/
│ │ │ ├── BUILD.bazel
│ │ │ ├── PromotedTweetDetailsMarshaller.scala
│ │ │ ├── TweetDetailsMarshaller.scala
│ │ │ └── WhoToFollowDetailsMarshaller.scala
│ │ └── timelines/
│ │ ├── BUILD.bazel
│ │ ├── ChronologicalCursorMarshaller.scala
│ │ ├── ChronologicalCursorUnmarshaller.scala
│ │ ├── DeviceContextMarshaller.scala
│ │ ├── RecommendedUsersCursorUnmarshaller.scala
│ │ ├── TimelineServiceCursorMarshaller.scala
│ │ └── TopicContextFunctionalityTypeUnmarshaller.scala
│ ├── model/
│ │ ├── BUILD.bazel
│ │ ├── ClearCacheIncludeInstruction.scala
│ │ ├── ContentFeatures.scala
│ │ ├── GapIncludeInstruction.scala
│ │ ├── GrokTopics.scala
│ │ ├── HomeAdsQuery.scala
│ │ ├── HomeFeatures.scala
│ │ ├── HomeLargeEmbeddingsFeatures.scala
│ │ ├── NaviClientConfig.scala
│ │ ├── NavigationIncludeInstruction.scala
│ │ ├── PhoenixPredictedScoreFeature.scala
│ │ ├── PredictedScoreFeature.scala
│ │ ├── candidate_source/
│ │ │ ├── BUILD.bazel
│ │ │ └── SourceSignal.scala
│ │ ├── request/
│ │ │ ├── BUILD.bazel
│ │ │ ├── DeviceContext.scala
│ │ │ ├── HasListId.scala
│ │ │ ├── HasSeenTweetIds.scala
│ │ │ ├── HomeMixerDebugOptions.scala
│ │ │ ├── HomeMixerProduct.scala
│ │ │ ├── HomeMixerProductContext.scala
│ │ │ └── HomeMixerRequest.scala
│ │ └── signup/
│ │ ├── BUILD.bazel
│ │ └── SignupSource.scala
│ ├── module/
│ │ ├── AdvertiserBrandSafetySettingsStoreModule.scala
│ │ ├── BUILD.bazel
│ │ ├── BlenderClientModule.scala
│ │ ├── ClientSentImpressionsPublisherModule.scala
│ │ ├── ClusterDetailsModule.scala
│ │ ├── ConversationServiceModule.scala
│ │ ├── EarlybirdRealtimeCGModule.scala
│ │ ├── EventsRecosClientModule.scala
│ │ ├── FeedbackHistoryClientModule.scala
│ │ ├── GizmoduckTimelinesCacheClientModule.scala
│ │ ├── HomeAdsCandidateSourceModule.scala
│ │ ├── HomeMixerFeaturesModule.scala
│ │ ├── HomeMixerFlagsModule.scala
│ │ ├── HomeMixerResourcesModule.scala
│ │ ├── ImpressionBloomFilterModule.scala
│ │ ├── InMemoryCacheModule.scala
│ │ ├── InjectionHistoryClientModule.scala
│ │ ├── LimiterModule.scala
│ │ ├── ManhattanClientsModule.scala
│ │ ├── ManhattanFeatureRepositoryModule.scala
│ │ ├── ManhattanTweetImpressionStoreModule.scala
│ │ ├── MediaClusterId88Module.scala
│ │ ├── MediaClusterIdModule.scala
│ │ ├── MemcachedFeatureRepositoryModule.scala
│ │ ├── MemcachedScoredCandidateFeaturesStoreModule.scala
│ │ ├── NaviModelClientModule.scala
│ │ ├── OptimizedStratoClientModule.scala
│ │ ├── PeopleDiscoveryServiceModule.scala
│ │ ├── PhoenixClientModule.scala
│ │ ├── PipelineFailureExceptionMapper.scala
│ │ ├── RealGraphInNetworkScoresModule.scala
│ │ ├── RealtimeAggregateFeatureRepositoryModule.scala
│ │ ├── ScoredTweetsMemcacheModule.scala
│ │ ├── ScoredVideoTweetsMemcacheModule.scala
│ │ ├── ScribeEventPublisherModule.scala
│ │ ├── SimClustersRecentEngagementsClientModule.scala
│ │ ├── StaleTweetsCacheModule.scala
│ │ ├── ThriftFeatureRepositoryModule.scala
│ │ ├── TimelinesPersistenceStoreClientModule.scala
│ │ ├── TopicSocialProofClientModule.scala
│ │ ├── TvWatchHistoryCacheClientModule.scala
│ │ ├── TweetWatchTimeMetadataModule.scala
│ │ ├── TweetyPieClientModule.scala
│ │ ├── TweetypieStaticEntitiesCacheClientModule.scala
│ │ ├── TwhinEmbeddingsModule.scala
│ │ ├── UttTopicModule.scala
│ │ └── VideoEmbeddingModule.scala
│ ├── param/
│ │ ├── BUILD.bazel
│ │ ├── GlobalParamConfigModule.scala
│ │ ├── HomeGlobalParamConfig.scala
│ │ ├── HomeGlobalParams.scala
│ │ ├── HomeMixerFlagName.scala
│ │ ├── HomeMixerInjectionNames.scala
│ │ └── decider/
│ │ ├── BUILD.bazel
│ │ └── DeciderKey.scala
│ ├── product/
│ │ ├── BUILD.bazel
│ │ ├── HomeMixerProductModule.scala
│ │ ├── HomeProductPipelineRegistryConfig.scala
│ │ ├── following/
│ │ │ ├── BUILD.bazel
│ │ │ ├── FollowingAdsCandidatePipelineBuilder.scala
│ │ │ ├── FollowingAdsDependentCandidatePipelineBuilder.scala
│ │ │ ├── FollowingDependentAdsMixerPipelineConfig.scala
│ │ │ ├── FollowingEarlybirdCandidatePipelineConfig.scala
│ │ │ ├── FollowingEarlybirdQueryTransformer.scala
│ │ │ ├── FollowingEarlybirdResponseFeatureTransformer.scala
│ │ │ ├── FollowingMixerPipelineConfig.scala
│ │ │ ├── FollowingProductPipelineConfig.scala
│ │ │ ├── FollowingWhoToFollowCandidatePipelineConfigBuilder.scala
│ │ │ ├── model/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── FollowingQuery.scala
│ │ │ │ └── HomeMixerExternalStrings.scala
│ │ │ └── param/
│ │ │ ├── BUILD.bazel
│ │ │ ├── FollowingParam.scala
│ │ │ └── FollowingParamConfig.scala
│ │ ├── for_you/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ForYouAdsCandidatePipelineBuilder.scala
│ │ │ ├── ForYouAdsDependentCandidatePipelineBuilder.scala
│ │ │ ├── ForYouBookmarksCandidatePipelineConfig.scala
│ │ │ ├── ForYouCommunitiesToJoinCandidatePipelineConfig.scala
│ │ │ ├── ForYouConversationServiceCandidatePipelineConfig.scala
│ │ │ ├── ForYouEntryPointPivotCandidatePipelineBuilder.scala
│ │ │ ├── ForYouEntryPointPivotCandidatePipelineConfig.scala
│ │ │ ├── ForYouExplorationTweetsCandidatePipelineConfig.scala
│ │ │ ├── ForYouJetfuelFrameFrameCandidatePipelineConfig.scala
│ │ │ ├── ForYouKeywordTrendsCandidatePipelineConfig.scala
│ │ │ ├── ForYouMixerPipelineConfig.scala
│ │ │ ├── ForYouPinnedTweetsCandidatePipelineConfig.scala
│ │ │ ├── ForYouProductPipelineConfig.scala
│ │ │ ├── ForYouPushToHomeMixerPipelineConfig.scala
│ │ │ ├── ForYouPushToHomeTweetCandidatePipelineConfig.scala
│ │ │ ├── ForYouRecommendedJobsCandidatePipelineConfig.scala
│ │ │ ├── ForYouRecommendedRecruitingOrganizationsCandidatePipelineConfig.scala
│ │ │ ├── ForYouRelevancePromptCandidatePipelineConfig.scala
│ │ │ ├── ForYouResponseDomainMarshaller.scala
│ │ │ ├── ForYouScoredTweetsCandidatePipelineConfig.scala
│ │ │ ├── ForYouScoredTweetsMixerPipelineConfig.scala
│ │ │ ├── ForYouScoredTweetsResponseFeatureTransformer.scala
│ │ │ ├── ForYouScoredVideoTweetsCandidatePipelineConfig.scala
│ │ │ ├── ForYouStoriesCandidatePipelineConfig.scala
│ │ │ ├── ForYouTimelineScorerCandidatePipelineConfig.scala
│ │ │ ├── ForYouTimelineScorerMixerPipelineConfig.scala
│ │ │ ├── ForYouTimelineScorerResponseFeatureTransformer.scala
│ │ │ ├── ForYouTuneFeedCandidatePipelineConfig.scala
│ │ │ ├── ForYouTweetPreviewsCandidatePipelineConfig.scala
│ │ │ ├── ForYouWhoToFollowCandidatePipelineConfigBuilder.scala
│ │ │ ├── ForYouWhoToSubscribeCandidatePipelineConfigBuilder.scala
│ │ │ ├── candidate_source/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── BookmarksCandidateSource.scala
│ │ │ │ ├── BroadcastedPinnedTweetsCandidateSource.scala
│ │ │ │ ├── JetfuelFrameCandidateSource.scala
│ │ │ │ ├── RecommendedJobsCandidateSource.scala
│ │ │ │ ├── RecommendedRecruitingOrganizationsCandidateSource.scala
│ │ │ │ ├── ScoredTweetsProductCandidateSource.scala
│ │ │ │ ├── ScoredVideoTweetsCategorizedProductCandidateSource.scala
│ │ │ │ ├── ScoredVideoTweetsProductCandidateSource.scala
│ │ │ │ ├── StoriesModuleCandidateSource.scala
│ │ │ │ ├── TuneFeedCandidateSource.scala
│ │ │ │ └── UnifiedTrendsCandidateSource.scala
│ │ │ ├── feature_hydrator/
│ │ │ │ ├── ArticlePreviewTextFeatureHydrator.scala
│ │ │ │ ├── AuthorEnabledPreviewsFeatureHydrator.scala
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CurrentPinnedTweetFeatureHydrator.scala
│ │ │ │ ├── DisplayedGrokTopicQueryFeatureHydrator.scala
│ │ │ │ ├── FocalTweetFeatureHydrator.scala
│ │ │ │ ├── FollowingSportsAccountQueryFeatureHydrator.scala
│ │ │ │ ├── TimelineServiceTweetsQueryFeatureHydrator.scala
│ │ │ │ ├── TweetAuthorFeatureHydrator.scala
│ │ │ │ ├── TweetAuthorFollowersFeatureHydrator.scala
│ │ │ │ ├── TweetEngagementsFeatureHydrator.scala
│ │ │ │ ├── TweetPreviewTweetypieCandidateFeatureHydrator.scala
│ │ │ │ └── ViewerHasJobRecommendationsFeatureHydrator.scala
│ │ │ ├── filter/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── NotArticleFilter.scala
│ │ │ │ ├── PromotedTrendFilter.scala
│ │ │ │ ├── SocialContextFilter.scala
│ │ │ │ └── TweetPreviewTextFilter.scala
│ │ │ ├── functional_component/
│ │ │ │ └── gate/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── PushToHomeRequestGate.scala
│ │ │ ├── gate/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── FollowingSportsUsersGate.scala
│ │ │ │ ├── TuneFeedModuleGate.scala
│ │ │ │ └── UserFollowingRangeGate.scala
│ │ │ ├── model/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ForYouQuery.scala
│ │ │ │ └── ForYouTweetsResponse.scala
│ │ │ ├── param/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ForYouParam.scala
│ │ │ │ └── ForYouParamConfig.scala
│ │ │ ├── query_transformer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── TweetPreviewsQueryTransformer.scala
│ │ │ │ └── UnifiedCandidatesQueryTransformer.scala
│ │ │ ├── response_transformer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── BookmarksResponseFeatureTransformer.scala
│ │ │ │ ├── ExplorationTweetResponseFeatureTransformer.scala
│ │ │ │ ├── KeywordTrendsFeatureTransformer.scala
│ │ │ │ ├── PinnedTweetResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredVideoTweetResponseFeatureTransformer.scala
│ │ │ │ ├── StoriesModuleResponseFeatureTransformer.scala
│ │ │ │ ├── TuneFeedFeatureTransformer.scala
│ │ │ │ └── TweetPreviewResponseFeatureTransformer.scala
│ │ │ ├── scorer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── PinnedTweetCandidateScorer.scala
│ │ │ ├── selector/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── DebugUpdateSortAdsResult.scala
│ │ │ │ ├── DebunchCandidates.scala
│ │ │ │ └── RemoveDuplicateCandidatesOutsideModule.scala
│ │ │ └── side_effect/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ServedCandidateFeatureKeysKafkaSideEffect.scala
│ │ │ ├── ServedCandidateFeatureKeysKafkaSideEffectBuilder.scala
│ │ │ ├── ServedCandidateKafkaSideEffect.scala
│ │ │ ├── ServedCandidateKeysKafkaSideEffect.scala
│ │ │ ├── ServedCandidateKeysKafkaSideEffectBuilder.scala
│ │ │ ├── ServedStatsSideEffect.scala
│ │ │ └── VideoServedStatsSideEffect.scala
│ │ ├── list_recommended_users/
│ │ │ ├── BUILD.bazel
│ │ │ ├── BlenderUsersCandidatePipelineConfig.scala
│ │ │ ├── BlenderUsersCandidatePipelineQueryTransformer.scala
│ │ │ ├── ListMemberBasedUsersCandidatePipelineConfig.scala
│ │ │ ├── ListMemberBasedUsersResponseFeatureTransfromer.scala
│ │ │ ├── ListRecommendedUsersMixerPipelineConfig.scala
│ │ │ ├── ListRecommendedUsersProductPipelineConfig.scala
│ │ │ ├── candidate_source/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── BlenderUsersCandidateSource.scala
│ │ │ │ └── SimilarityBasedUsersCandidateSource.scala
│ │ │ ├── feature_hydrator/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── IsGizmoduckValidUserFeatureHydrator.scala
│ │ │ │ ├── IsListMemberFeatureHydrator.scala
│ │ │ │ ├── IsSGSValidUserFeatureHydrator.scala
│ │ │ │ └── RecentListMembersQueryFeatureHydrator.scala
│ │ │ ├── filter/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── DropMaxCandidatesByAggregatedScoreFilter.scala
│ │ │ │ └── PreviouslyServedUsersFilter.scala
│ │ │ ├── gate/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── ViewerIsListOwnerGate.scala
│ │ │ ├── model/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ListRecommendedUsersFeatures.scala
│ │ │ │ └── ListRecommendedUsersQuery.scala
│ │ │ └── param/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ListRecommendedUsersParam.scala
│ │ │ └── ListRecommendedUsersParamConfig.scala
│ │ ├── list_tweets/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ListTweetsAdsCandidatePipelineBuilder.scala
│ │ │ ├── ListTweetsMixerPipelineConfig.scala
│ │ │ ├── ListTweetsProductPipelineConfig.scala
│ │ │ ├── ListTweetsTimelineServiceCandidatePipelineConfig.scala
│ │ │ ├── decorator/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ListConversationServiceCandidateDecorator.scala
│ │ │ │ └── builder/
│ │ │ │ └── BUILD.bazel
│ │ │ ├── model/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── ListTweetsQuery.scala
│ │ │ └── param/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ListTweetsParam.scala
│ │ │ └── ListTweetsParamConfig.scala
│ │ ├── scored_tweets/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ScoredTweetsProductPipelineConfig.scala
│ │ │ ├── ScoredTweetsRecommendationPipelineConfig.scala
│ │ │ ├── candidate_pipeline/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CachedScoredTweetsCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsBackfillCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsContentExplorationCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsDirectUtegCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsFrsCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsInNetworkCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsListsCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsPopularVideosCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsStaticCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsTweetMixerCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsUtegCandidatePipelineConfig.scala
│ │ │ │ └── earlybird/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ScoredTweetsCommunitiesCandidatePipelineConfig.scala
│ │ │ │ ├── ScoredTweetsEarlybirdFrsCandidatePipelineConfig.scala
│ │ │ │ └── ScoredTweetsEarlybirdInNetworkCandidatePipelineConfig.scala
│ │ │ ├── candidate_source/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CachedScoredTweetsCandidateSource.scala
│ │ │ │ ├── ContentExplorationCandidateSource.scala
│ │ │ │ ├── EarlybirdRealtimeCGTweetCandidateSource.scala
│ │ │ │ ├── ListsCandidateSource.scala
│ │ │ │ └── StaticPostsCandidateSource.scala
│ │ │ ├── feature_hydrator/
│ │ │ │ ├── AncestorFeatureHydrator.scala
│ │ │ │ ├── AuthorFeatureHydrator.scala
│ │ │ │ ├── AuthorIsCreatorFeatureHydrator.scala
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CachedScoredTweetsQueryFeatureHydrator.scala
│ │ │ │ ├── EarlybirdFeatureHydrator.scala
│ │ │ │ ├── FollowedUserScoresFeatureHydrator.scala
│ │ │ │ ├── FrsSeedUsersQueryFeatureHydrator.scala
│ │ │ │ ├── GizmoduckAuthorFeatureHydrator.scala
│ │ │ │ ├── GraphTwoHopFeatureHydrator.scala
│ │ │ │ ├── InvalidateCachedScoredTweetsQueryFeatureHydrator.scala
│ │ │ │ ├── IsColdStartPostFeatureHydrator.scala
│ │ │ │ ├── IsExtendedReplyFeatureHydrator.scala
│ │ │ │ ├── ListIdsQueryFeatureHydrator.scala
│ │ │ │ ├── ListNameFeatureHydrator.scala
│ │ │ │ ├── LowSignalUserQueryFeatureHydrator.scala
│ │ │ │ ├── MetricCenterUserCountingFeatureHydrator.scala
│ │ │ │ ├── RealGraphQueryFeatureHydrator.scala
│ │ │ │ ├── RealGraphViewerAuthorFeatureHydrator.scala
│ │ │ │ ├── RealGraphViewerRelatedUsersFeatureHydrator.scala
│ │ │ │ ├── RealTimeInteractionGraphEdgeFeatureHydrator.scala
│ │ │ │ ├── RealTimeInteractionGraphUserVertexQueryFeatureHydrator.scala
│ │ │ │ ├── ReplyFeatureHydrator.scala
│ │ │ │ ├── RequestTimeQueryFeatureHydrator.scala
│ │ │ │ ├── RetweetSourceTweetFeatureHydrator.scala
│ │ │ │ ├── SGSMutuallyFollowedUserHydrator.scala
│ │ │ │ ├── SemanticCoreFeatureHydrator.scala
│ │ │ │ ├── SimClustersEngagementSimilarityFeatureHydrator.scala
│ │ │ │ ├── SimClustersUserTweetScoresHydrator.scala
│ │ │ │ ├── TSPInferredTopicFeatureHydrator.scala
│ │ │ │ ├── TweetMetaDataFeatureHydrator.scala
│ │ │ │ ├── TweetTimeFeatureHydrator.scala
│ │ │ │ ├── TweetypieContentFeatureHydrator.scala
│ │ │ │ ├── TweetypieStaticEntitiesFeatureHydrator.scala
│ │ │ │ ├── TweetypieVisibilityFeatureHydrator.scala
│ │ │ │ ├── TwhinAuthorFollowFeatureHydrator.scala
│ │ │ │ ├── TwhinUserEngagementQueryFeatureHydrator.scala
│ │ │ │ ├── TwhinUserFollowQueryFeatureHydrator.scala
│ │ │ │ ├── UserFollowedTopicIdsFeatureHydrator.scala
│ │ │ │ ├── UserLanguagesFeatureHydrator.scala
│ │ │ │ ├── UserStateQueryFeatureHydrator.scala
│ │ │ │ ├── UtegFeatureHydrator.scala
│ │ │ │ ├── ValidLikedByUserIdsFeatureHydrator.scala
│ │ │ │ ├── adapters/
│ │ │ │ │ ├── author_features/
│ │ │ │ │ │ ├── AuthorFeaturesAdapter.scala
│ │ │ │ │ │ └── BUILD.bazel
│ │ │ │ │ ├── content/
│ │ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ │ ├── ContentFeatureAdapter.scala
│ │ │ │ │ │ └── InReplyToContentFeatureAdapter.scala
│ │ │ │ │ ├── earlybird/
│ │ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ │ ├── EarlybirdAdapter.scala
│ │ │ │ │ │ └── InReplyToEarlybirdAdapter.scala
│ │ │ │ │ ├── inferred_topic/
│ │ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ │ └── InferredTopicAdapter.scala
│ │ │ │ │ ├── non_ml_features/
│ │ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ │ ├── NonMLCandidateFeaturesAdapter.scala
│ │ │ │ │ │ └── NonMLCommonFeaturesAdapter.scala
│ │ │ │ │ ├── offline_aggregates/
│ │ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ │ ├── PassThroughAdapter.scala
│ │ │ │ │ │ └── SparseAggregatesToDenseAdapter.scala
│ │ │ │ │ └── twhin_embeddings/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── TwhinEmbeddingsAdapter.scala
│ │ │ │ ├── offline_aggregates/
│ │ │ │ │ ├── AggregateFeatureInfo.scala
│ │ │ │ │ ├── AggregateFeaturesToDecodeWithMetadata.scala
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ ├── BaseAggregateQueryFeatureHydrator.scala
│ │ │ │ │ ├── BaseEdgeAggregateFeatureHydrator.scala
│ │ │ │ │ ├── EdgeAggregateFeatures.scala
│ │ │ │ │ ├── PartAAggregateQueryFeatureHydrator.scala
│ │ │ │ │ ├── PartBAggregateQueryFeatureHydrator.scala
│ │ │ │ │ ├── Phase1EdgeAggregateFeatureHydrator.scala
│ │ │ │ │ ├── Phase2EdgeAggregateFeatureHydrator.scala
│ │ │ │ │ └── Utils.scala
│ │ │ │ └── real_time_aggregates/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── BaseRealTimeAggregateBulkCandidateFeatureHydrator.scala
│ │ │ │ ├── BaseRealTimeAggregateQueryFeatureHydrator.scala
│ │ │ │ ├── BaseRealtimeAggregateHydrator.scala
│ │ │ │ ├── EngagementsReceivedByAuthorRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── RealTimeAggregateTimeDecay.scala
│ │ │ │ ├── TopicCountryEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TopicEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TweetCountryEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TweetEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── TwitterListEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ ├── UserAuthorEngagementRealTimeAggregateFeatureHydrator.scala
│ │ │ │ └── UserEngagementRealTimeAggregatesFeatureHydrator.scala
│ │ │ ├── filter/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ControlAiExcludeFilter.scala
│ │ │ │ ├── ControlAiOnlyIncludeFilter.scala
│ │ │ │ ├── CustomSnowflakeIdAgeFilter.scala
│ │ │ │ ├── CustomSnowflakeIdAgeFilterWithIncludeRule.scala
│ │ │ │ ├── CustomSnowflakeIdAgeFilterWithSkipRule.scala
│ │ │ │ ├── DuplicateConversationTweetsFilter.scala
│ │ │ │ ├── ExtendedDirectedAtFilter.scala
│ │ │ │ ├── FollowedAuthorFilter.scala
│ │ │ │ ├── GrokAutoTranslateLanguageFilter.scala
│ │ │ │ ├── IsOutOfNetworkColdStartPostFilter.scala
│ │ │ │ ├── LanguageFilter.scala
│ │ │ │ ├── OONReplyFilter.scala
│ │ │ │ ├── OutOfNetworkCompetitorFilter.scala
│ │ │ │ ├── OutOfNetworkCompetitorURLFilter.scala
│ │ │ │ ├── QualifiedRepliesFilter.scala
│ │ │ │ ├── RetweetSourceTweetRemovingFilter.scala
│ │ │ │ ├── SGSAuthorFilter.scala
│ │ │ │ ├── ScoredTweetsSocialContextFilter.scala
│ │ │ │ ├── TopKFilter.scala
│ │ │ │ ├── TopKOptionalFilter.scala
│ │ │ │ ├── UtegMinFavCountFilter.scala
│ │ │ │ └── UtegTopKFilter.scala
│ │ │ ├── gate/
│ │ │ │ ├── AllowLowSignalUserGate.scala
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── DenyLowSignalUserGate.scala
│ │ │ │ ├── MatchesCountryGate.scala
│ │ │ │ ├── MinCachedTweetsGate.scala
│ │ │ │ ├── MinTimeSinceLastRequestGate.scala
│ │ │ │ └── RecentFeedbackCheckGate.scala
│ │ │ ├── marshaller/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ScoredTweetsResponseDomainMarshaller.scala
│ │ │ │ └── ScoredTweetsResponseTransportMarshaller.scala
│ │ │ ├── model/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ScoredTweetsQuery.scala
│ │ │ │ └── ScoredTweetsResponse.scala
│ │ │ ├── param/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ScoredTweetsParam.scala
│ │ │ │ └── ScoredTweetsParamConfig.scala
│ │ │ ├── query_transformer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ContentExplorationQueryTransformer.scala
│ │ │ │ ├── TimelineRankerFrsQueryTransformer.scala
│ │ │ │ ├── TimelineRankerInNetworkQueryTransformer.scala
│ │ │ │ ├── TimelineRankerQueryTransformer.scala
│ │ │ │ ├── TimelineRankerUtegQueryTransformer.scala
│ │ │ │ ├── UtegQueryTransformer.scala
│ │ │ │ └── earlybird/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CommunitiesEarlybirdQueryTransformer.scala
│ │ │ │ ├── EarlybirdFrsQueryTransformer.scala
│ │ │ │ ├── EarlybirdInNetworkQueryTransformer.scala
│ │ │ │ └── EarlybirdQueryTransformer.scala
│ │ │ ├── response_transformer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CachedScoredTweetsResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsBackfillResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsContentExplorationResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsDirectUtegResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsFrsResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsInNetworkResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsListsResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsOfflineVideoRecoResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsPopularVideosResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsStaticResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsTweetMixerResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsUtegResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredVideoTweetsPinnedTweetResponseFeatureTransformer.scala
│ │ │ │ ├── TimelineRankerResponseTransformer.scala
│ │ │ │ └── earlybird/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── EarlybirdResponseTransformer.scala
│ │ │ │ ├── ScoredTweetsCommunitiesResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsEarlybirdFrsResponseFeatureTransformer.scala
│ │ │ │ ├── ScoredTweetsEarlybirdInNetworkResponseFeatureTransformer.scala
│ │ │ │ └── ScoredTweetsEarlybirdNsfwResponseFeatureTransformer.scala
│ │ │ ├── scorer/
│ │ │ │ ├── AuthorBasedListwiseRescoringProvider.scala
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CandidateSourceDiversityListwiseRescoringProvider.scala
│ │ │ │ ├── ContentExplorationListwiseRescoringProvider.scala
│ │ │ │ ├── ControlAiRescorer.scala
│ │ │ │ ├── DeepRetrievalListwiseRescoringProvider.scala
│ │ │ │ ├── DiversityDiscountProvider.scala
│ │ │ │ ├── EvergreenDeepRetrievalCrossBorderListwiseRescoringProvider.scala
│ │ │ │ ├── EvergreenDeepRetrievalListwiseRescoringProvider.scala
│ │ │ │ ├── GrokSlopScoreRescorer.scala
│ │ │ │ ├── HeuristicScorer.scala
│ │ │ │ ├── ImpressedAuthorDecayRescoringProvider.scala
│ │ │ │ ├── ImpressedImageClusterBasedListwiseRescoringProvider.scala
│ │ │ │ ├── ImpressedMediaClusterBasedListwiseRescoringProvider.scala
│ │ │ │ ├── ListwiseRescoringProvider.scala
│ │ │ │ ├── LowSignalScorer.scala
│ │ │ │ ├── MultimodalEmbeddingRescorer.scala
│ │ │ │ ├── NaviModelScorer.scala
│ │ │ │ ├── PredictedScoreFeature.scala
│ │ │ │ └── RescoringFactorProvider.scala
│ │ │ ├── scoring_pipeline/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── ScoredTweetsHeuristicScoringPipelineConfig.scala
│ │ │ │ ├── ScoredTweetsLowSignalScoringPipelineConfig.scala
│ │ │ │ ├── ScoredTweetsModelScoringPipelineConfig.scala
│ │ │ │ └── ScoredTweetsRerankingScoringPipelineConfig.scala
│ │ │ ├── selector/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── KeepBestOutOfNetworkCandidatePerAuthorPerSuggestType.scala
│ │ │ │ └── KeepTopKCandidatesPerCommunity.scala
│ │ │ ├── side_effect/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CacheCandidateFeaturesSideEffect.scala
│ │ │ │ ├── CacheRequestInfoSideEffect.scala
│ │ │ │ ├── CacheRetrievalSignalSideEffect.scala
│ │ │ │ ├── CachedScoredTweetsSideEffect.scala
│ │ │ │ ├── CommonFeaturesSideEffect.scala
│ │ │ │ ├── ScoredCandidateFeatureKeysKafkaSideEffect.scala
│ │ │ │ ├── ScoredContentExplorationCandidateScoreFeatureKafkaSideEffect.scala
│ │ │ │ ├── ScoredPhoenixCandidatesKafkaSideEffect.scala
│ │ │ │ ├── ScoredStatsSideEffect.scala
│ │ │ │ ├── ScoredTweetsDiversityStatsSideEffect.scala
│ │ │ │ ├── ScribeScoredCandidatesSideEffect.scala
│ │ │ │ └── ScribeServedCommonFeaturesAndCandidateFeaturesSideEffect.scala
│ │ │ └── util/
│ │ │ ├── BUILD.bazel
│ │ │ └── ControlAiUtil.scala
│ │ └── subscribed/
│ │ ├── BUILD.bazel
│ │ ├── SubscribedEarlybirdCandidatePipelineConfig.scala
│ │ ├── SubscribedEarlybirdQueryTransformer.scala
│ │ ├── SubscribedEarlybirdResponseFeatureTransformer.scala
│ │ ├── SubscribedMixerPipelineConfig.scala
│ │ ├── SubscribedProductPipelineConfig.scala
│ │ ├── model/
│ │ │ ├── BUILD.bazel
│ │ │ └── SubscribedQuery.scala
│ │ └── param/
│ │ ├── BUILD.bazel
│ │ ├── SubscribedParam.scala
│ │ └── SubscribedParamConfig.scala
│ ├── service/
│ │ ├── BUILD.bazel
│ │ ├── HomeMixerAccessPolicy.scala
│ │ ├── HomeMixerAlertConfig.scala
│ │ └── ScoredTweetsService.scala
│ ├── store/
│ │ ├── BUILD.bazel
│ │ ├── MediaClusterId88Store.scala
│ │ ├── MediaClusterId95Store.scala
│ │ ├── MediaClusterIdStoreTrait.scala
│ │ ├── RTAMHStore.scala
│ │ ├── RealGraphInNetworkScoresStore.scala
│ │ ├── TweetWatchTimeMetadataStore.scala
│ │ ├── TwhinEmbeddingsStore.scala
│ │ └── VideoEmbeddingMHStore.scala
│ └── util/
│ ├── BUILD.bazel
│ ├── CachedScoredTweetsHelper.scala
│ ├── CandidatesUtil.scala
│ ├── DataRecordUtil.scala
│ ├── InjectionTransformer.scala
│ ├── LanguageCode.scala
│ ├── LanguageUtil.scala
│ ├── MissingKeyException.scala
│ ├── NaviScorerStatsHandler.scala
│ ├── ObservedKeyValueResultHandler.scala
│ ├── PhoenixScorerStatsHandler.scala
│ ├── PhoenixUtils.scala
│ ├── ReplyRetweetUtil.scala
│ ├── RerankerUtil.scala
│ ├── SignalUtil.scala
│ ├── TensorFlowUtil.scala
│ ├── TweetImpressionsHelper.scala
│ ├── UrtUtil.scala
│ ├── earlybird/
│ │ ├── BUILD.bazel
│ │ ├── EarlybirdRequestUtil.scala
│ │ ├── EarlybirdResponseUtil.scala
│ │ └── RelevanceSearchUtil.scala
│ └── tweetypie/
│ ├── BUILD.bazel
│ ├── RequestFields.scala
│ └── content/
│ ├── BUILD.bazel
│ ├── FeatureExtractionHelper.scala
│ ├── TweetMediaFeaturesExtractor.scala
│ └── TweetTextFeaturesExtractor.scala
├── navi/
│ ├── README.md
│ ├── dr_transform/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── all_config.rs
│ │ ├── converter.rs
│ │ ├── lib.rs
│ │ └── util.rs
│ ├── navi/
│ │ ├── Cargo.toml
│ │ ├── build.rs
│ │ ├── proto/
│ │ │ ├── kfserving/
│ │ │ │ └── grpc_predict_v2.proto
│ │ │ ├── tensorflow/
│ │ │ │ └── core/
│ │ │ │ ├── example/
│ │ │ │ │ ├── example.proto
│ │ │ │ │ └── feature.proto
│ │ │ │ ├── framework/
│ │ │ │ │ ├── allocation_description.proto
│ │ │ │ │ ├── api_def.proto
│ │ │ │ │ ├── attr_value.proto
│ │ │ │ │ ├── cost_graph.proto
│ │ │ │ │ ├── dataset_metadata.proto
│ │ │ │ │ ├── dataset_options.proto
│ │ │ │ │ ├── device_attributes.proto
│ │ │ │ │ ├── full_type.proto
│ │ │ │ │ ├── function.proto
│ │ │ │ │ ├── graph.proto
│ │ │ │ │ ├── graph_transfer_info.proto
│ │ │ │ │ ├── kernel_def.proto
│ │ │ │ │ ├── log_memory.proto
│ │ │ │ │ ├── model.proto
│ │ │ │ │ ├── node_def.proto
│ │ │ │ │ ├── op_def.proto
│ │ │ │ │ ├── reader_base.proto
│ │ │ │ │ ├── resource_handle.proto
│ │ │ │ │ ├── step_stats.proto
│ │ │ │ │ ├── summary.proto
│ │ │ │ │ ├── tensor.proto
│ │ │ │ │ ├── tensor_description.proto
│ │ │ │ │ ├── tensor_shape.proto
│ │ │ │ │ ├── tensor_slice.proto
│ │ │ │ │ ├── types.proto
│ │ │ │ │ ├── variable.proto
│ │ │ │ │ └── versions.proto
│ │ │ │ └── protobuf/
│ │ │ │ ├── autotuning.proto
│ │ │ │ ├── bfc_memory_map.proto
│ │ │ │ ├── cluster.proto
│ │ │ │ ├── composite_tensor_variant.proto
│ │ │ │ ├── config.proto
│ │ │ │ ├── control_flow.proto
│ │ │ │ ├── conv_autotuning.proto
│ │ │ │ ├── coordination_config.proto
│ │ │ │ ├── coordination_service.proto
│ │ │ │ ├── critical_section.proto
│ │ │ │ ├── data_service.proto
│ │ │ │ ├── debug.proto
│ │ │ │ ├── debug_event.proto
│ │ │ │ ├── device_filters.proto
│ │ │ │ ├── device_properties.proto
│ │ │ │ ├── distributed_runtime_payloads.proto
│ │ │ │ ├── eager_service.proto
│ │ │ │ ├── error_codes.proto
│ │ │ │ ├── graph_debug_info.proto
│ │ │ │ ├── master.proto
│ │ │ │ ├── master_service.proto
│ │ │ │ ├── meta_graph.proto
│ │ │ │ ├── named_tensor.proto
│ │ │ │ ├── queue_runner.proto
│ │ │ │ ├── remote_tensor_handle.proto
│ │ │ │ ├── replay_log.proto
│ │ │ │ ├── rewriter_config.proto
│ │ │ │ ├── saved_model.proto
│ │ │ │ ├── saved_object_graph.proto
│ │ │ │ ├── saver.proto
│ │ │ │ ├── service_config.proto
│ │ │ │ ├── snapshot.proto
│ │ │ │ ├── status.proto
│ │ │ │ ├── struct.proto
│ │ │ │ ├── tensor_bundle.proto
│ │ │ │ ├── tensorflow_server.proto
│ │ │ │ ├── trackable_object_graph.proto
│ │ │ │ ├── transport_options.proto
│ │ │ │ ├── verifier_config.proto
│ │ │ │ ├── worker.proto
│ │ │ │ └── worker_service.proto
│ │ │ └── tensorflow_serving/
│ │ │ ├── apis/
│ │ │ │ ├── classification.proto
│ │ │ │ ├── get_model_metadata.proto
│ │ │ │ ├── get_model_status.proto
│ │ │ │ ├── inference.proto
│ │ │ │ ├── input.proto
│ │ │ │ ├── logging.proto
│ │ │ │ ├── model.proto
│ │ │ │ ├── model_management.proto
│ │ │ │ ├── model_service.proto
│ │ │ │ ├── predict.proto
│ │ │ │ ├── prediction_log.proto
│ │ │ │ ├── prediction_service.proto
│ │ │ │ ├── regression.proto
│ │ │ │ ├── session_service.proto
│ │ │ │ └── status.proto
│ │ │ └── config/
│ │ │ ├── file_system_storage_path_source.proto
│ │ │ ├── log_collector_config.proto
│ │ │ ├── logging_config.proto
│ │ │ └── model_server_config.proto
│ │ ├── scripts/
│ │ │ ├── run_onnx.sh
│ │ │ └── run_tf2.sh
│ │ └── src/
│ │ ├── batch.rs
│ │ ├── bin/
│ │ │ ├── navi.rs
│ │ │ ├── navi_onnx.rs
│ │ │ └── navi_torch.rs
│ │ ├── bootstrap.rs
│ │ ├── cli_args.rs
│ │ ├── cores/
│ │ │ └── validator.rs
│ │ ├── lib.rs
│ │ ├── metrics.rs
│ │ ├── onnx_model.rs
│ │ ├── predict_service.rs
│ │ ├── tf_model.rs
│ │ └── torch_model.rs
│ ├── segdense/
│ │ ├── Cargo.toml
│ │ └── src/
│ │ ├── error.rs
│ │ ├── lib.rs
│ │ ├── main.rs
│ │ ├── mapper.rs
│ │ ├── segdense_transform_spec_home_recap_2022.rs
│ │ └── util.rs
│ └── thrift_bpr_adapter/
│ └── thrift/
│ ├── Cargo.toml
│ └── src/
│ ├── data.rs
│ ├── decoder.rs
│ ├── lib.rs
│ ├── main.rs
│ ├── prediction_service.rs
│ └── tensor.rs
├── product-mixer/
│ ├── README.md
│ ├── component-library/
│ │ └── src/
│ │ └── main/
│ │ └── scala/
│ │ └── com/
│ │ └── twitter/
│ │ └── product_mixer/
│ │ └── component_library/
│ │ ├── candidate_source/
│ │ │ ├── account_recommendations_mixer/
│ │ │ │ ├── AccountRecommendationsMixerCandidateSource.scala
│ │ │ │ └── BUILD
│ │ │ ├── ads/
│ │ │ │ ├── AdsProdStratoCandidateSource.scala
│ │ │ │ ├── AdsProdThriftCandidateSource.scala
│ │ │ │ ├── AdsStagingCandidateSource.scala
│ │ │ │ └── BUILD
│ │ │ ├── ann/
│ │ │ │ ├── AnnCandidateSource.scala
│ │ │ │ ├── AnnIdQuery.scala
│ │ │ │ └── BUILD.bazel
│ │ │ ├── audiospace/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── CreatedSpacesCandidateSource.scala
│ │ │ ├── business_profiles/
│ │ │ │ ├── BUILD
│ │ │ │ └── TeamMembersCandidateSource.scala
│ │ │ ├── cr_mixer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CrMixerFrsBasedTweetRecommendationsCandidateSource.scala
│ │ │ │ └── CrMixerTweetRecommendationsCandidateSource.scala
│ │ │ ├── earlybird/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── EarlybirdTweetCandidateSource.scala
│ │ │ ├── explore_ranker/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── ExploreRankerCandidateSource.scala
│ │ │ ├── flexible_injection_pipeline/
│ │ │ │ ├── BUILD
│ │ │ │ └── PromptCandidateSource.scala
│ │ │ ├── hermit/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── UsersSimilarToMeCandidateSource.scala
│ │ │ ├── interest_discovery/
│ │ │ │ ├── BUILD
│ │ │ │ └── RelatedTopicsCandidateSource.scala
│ │ │ ├── lists/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── OrganicPopGeoListsCandidateSource.scala
│ │ │ ├── people_discovery/
│ │ │ │ ├── BUILD
│ │ │ │ └── PeopleDiscoveryCandidateSource.scala
│ │ │ ├── recommendations/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── UserFollowRecommendationsCandidateSource.scala
│ │ │ ├── social_graph/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── SocialgraphCandidateSource.scala
│ │ │ │ └── SocialgraphCursorConstants.scala
│ │ │ ├── timeline_ranker/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── TimelineRankerInNetworkCandidateSource.scala
│ │ │ │ ├── TimelineRankerRecapCandidateSource.scala
│ │ │ │ └── TimelineRankerUtegCandidateSource.scala
│ │ │ ├── timeline_scorer/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── TimelineScorerCandidateSource.scala
│ │ │ ├── timeline_service/
│ │ │ │ ├── BUILD
│ │ │ │ └── TimelineServiceTweetCandidateSource.scala
│ │ │ ├── timelines_impression_store/
│ │ │ │ ├── BUILD
│ │ │ │ └── TimelinesImpressionStoreCandidateSourceV2.scala
│ │ │ ├── topics/
│ │ │ │ ├── BUILD
│ │ │ │ └── FollowedTopicsCandidateSource.scala
│ │ │ └── tweetconvosvc/
│ │ │ ├── BUILD.bazel
│ │ │ ├── ConversationServiceCandidateSource.scala
│ │ │ ├── ConversationServiceResponseFeatureTransformer.scala
│ │ │ └── DropMaxConversationModuleItemCandidates.scala
│ │ ├── decorator/
│ │ │ ├── slice/
│ │ │ │ ├── BUILD
│ │ │ │ ├── SliceItemCandidateDecorator.scala
│ │ │ │ └── builder/
│ │ │ │ ├── BUILD
│ │ │ │ └── CursorCandidateSliceItemBuilder.scala
│ │ │ └── urt/
│ │ │ ├── BUILD
│ │ │ ├── UrtConversationItemCandidateDecorator.scala
│ │ │ ├── UrtItemCandidateDecorator.scala
│ │ │ ├── UrtItemInModuleDecorator.scala
│ │ │ ├── UrtMultipleModulesDecorator.scala
│ │ │ └── builder/
│ │ │ ├── contextual_ref/
│ │ │ │ └── ContextualTweetRefBuilder.scala
│ │ │ ├── conversations/
│ │ │ │ └── ConversationModuleMetadataBuilder.scala
│ │ │ ├── flexible_injection_pipeline/
│ │ │ │ ├── FlipPromptCandidateUrtItemBuilder.scala
│ │ │ │ ├── FlipPromptModuleGrouping.scala
│ │ │ │ ├── FlipPromptUrtModuleBuilder.scala
│ │ │ │ ├── OnboardingInjectionConversions.scala
│ │ │ │ ├── RelevancePromptConversions.scala
│ │ │ │ └── TilesCarouselConversions.scala
│ │ │ ├── icon/
│ │ │ │ └── HorizonIconBuilder.scala
│ │ │ ├── item/
│ │ │ │ ├── ad/
│ │ │ │ │ └── AdsCandidateUrtItemBuilder.scala
│ │ │ │ ├── alert/
│ │ │ │ │ ├── DurationParamBuilder.scala
│ │ │ │ │ ├── ShowAlertCandidateUrtItemBuilder.scala
│ │ │ │ │ ├── StaticShowAlertColorConfigurationBuilder.scala
│ │ │ │ │ ├── StaticShowAlertDisplayLocationBuilder.scala
│ │ │ │ │ └── StaticShowAlertIconDisplayInfoBuilder.scala
│ │ │ │ ├── article/
│ │ │ │ │ └── ArticleCandidateUrtItemBuilder.scala
│ │ │ │ ├── audio_space/
│ │ │ │ │ └── AudioSpaceCandidateUrtItemBuilder.scala
│ │ │ │ ├── card/
│ │ │ │ │ └── CardCandidateUtrItemBuilder.scala
│ │ │ │ ├── commerce/
│ │ │ │ │ ├── CommerceProductCandidateUrtItemBuilder.scala
│ │ │ │ │ └── CommerceProductGroupCandidateUrtItemBuilder.scala
│ │ │ │ ├── event_summary/
│ │ │ │ │ └── EventCandidateUrtItemBuilder.scala
│ │ │ │ ├── generic_summary/
│ │ │ │ │ ├── GenericSummaryActionBuilder.scala
│ │ │ │ │ ├── GenericSummaryCandidateUrtItemBuilder.scala
│ │ │ │ │ └── GenericSummaryContextBuilder.scala
│ │ │ │ ├── icon_label/
│ │ │ │ │ └── IconLabelCandidateUrtItemBuilder.scala
│ │ │ │ ├── message/
│ │ │ │ │ ├── CompactPromptCandidateUrtItemStringCenterBuilder.scala
│ │ │ │ │ ├── InlinePromptCandidateUrtItemStringCenterBuilder.scala
│ │ │ │ │ ├── MessageTextActionBuilder.scala
│ │ │ │ │ └── UserFacePileBuilder.scala
│ │ │ │ ├── moment/
│ │ │ │ │ └── MomentAnnotationCandidateUrtItemBuilder.scala
│ │ │ │ ├── relevance_prompt/
│ │ │ │ │ └── RelevancePromptCandidateUrtItemStringCenterBuilder.scala
│ │ │ │ ├── suggestion/
│ │ │ │ │ └── SpellingSuggestionCandidateUrtItemBuilder.scala
│ │ │ │ ├── tile/
│ │ │ │ │ └── TileCandidateUrtItemBuilder.scala
│ │ │ │ ├── topic/
│ │ │ │ │ ├── ParamTopicDisplayTypeBuilder.scala
│ │ │ │ │ ├── ParamTopicFunctionalityTypeBuilder.scala
│ │ │ │ │ ├── StaticTopicDisplayTypeBuilder.scala
│ │ │ │ │ ├── StaticTopicFunctionalityTypeBuilder.scala
│ │ │ │ │ ├── TopicCandidateUrtItemBuilder.scala
│ │ │ │ │ └── VerticalGridTopicCandidateUrtItemBuilder.scala
│ │ │ │ ├── trend/
│ │ │ │ │ ├── TrendCandidateUrtItemBuilder.scala
│ │ │ │ │ ├── TrendMetaDescriptionBuilder.scala
│ │ │ │ │ └── TrendPromotedMetadataBuilder.scala
│ │ │ │ ├── tweet/
│ │ │ │ │ └── TweetCandidateUrtItemBuilder.scala
│ │ │ │ ├── twitter_list/
│ │ │ │ │ └── TwitterListCandidateUrtItemBuilder.scala
│ │ │ │ ├── unified_trend_event/
│ │ │ │ │ └── UnifiedTrendEventCandidateUrtItemBuilder.scala
│ │ │ │ └── user/
│ │ │ │ └── UserCandidateUrtItemBuilder.scala
│ │ │ ├── metadata/
│ │ │ │ ├── ClientEventInfoBuilder.scala
│ │ │ │ ├── ConversationTweetClientEventDetailsBuilder.scala
│ │ │ │ ├── StaticUrlBuilder.scala
│ │ │ │ ├── TopicClientEventDetailsBuilder.scala
│ │ │ │ ├── TopicNotInterestedFeedbackActionInfoBuilder.scala
│ │ │ │ ├── TopicTweetClientEventDetailsBuilder.scala
│ │ │ │ ├── TopicsToFollowModuleMetadataBuilder.scala
│ │ │ │ └── WhoToFollowFeedbackActionInfoBuilder.scala
│ │ │ ├── operation/
│ │ │ │ └── CursorCandidateUrtOperationBuilder.scala
│ │ │ ├── promoted/
│ │ │ │ └── FeaturePromotedMetadataBuilder.scala
│ │ │ ├── richtext/
│ │ │ │ ├── RichTextBuilder.scala
│ │ │ │ ├── RichTextMarkupUtil.scala
│ │ │ │ ├── RichTextReferenceObjectBuilder.scala
│ │ │ │ ├── RichTextRtlOptionBuilder.scala
│ │ │ │ ├── StaticRichTextBuilder.scala
│ │ │ │ └── twitter_text/
│ │ │ │ ├── TwitterTextEntityProcessor.scala
│ │ │ │ ├── TwitterTextFormatProcessor.scala
│ │ │ │ ├── TwitterTextRenderer.scala
│ │ │ │ ├── TwitterTextRendererProcessor.scala
│ │ │ │ └── TwitterTextRichTextBuilder.scala
│ │ │ ├── social_context/
│ │ │ │ ├── FeatureSocialContextBuilder.scala
│ │ │ │ ├── GeneralModuleSocialContextBuilder.scala
│ │ │ │ ├── GeneralSocialContextBuilder.scala
│ │ │ │ └── WhoToFollowSocialContextBuilder.scala
│ │ │ ├── stringcenter/
│ │ │ │ ├── ModuleStr.scala
│ │ │ │ └── Str.scala
│ │ │ └── timeline_module/
│ │ │ ├── FeatureModuleDisplayTypeBuilder.scala
│ │ │ ├── ModuleDynamicShowMoreBehaviorRevealByCountBuilder.scala
│ │ │ ├── ModuleFooterBuilder.scala
│ │ │ ├── ModuleHeaderBuilder.scala
│ │ │ ├── ModuleHeaderDisplayTypeBuilder.scala
│ │ │ ├── ModuleIdGeneration.scala
│ │ │ ├── ModuleShowMoreBehaviorRevealByCountBuilder.scala
│ │ │ ├── ParamGatedModuleFooterBuilder.scala
│ │ │ ├── ParamGatedModuleHeaderBuilder.scala
│ │ │ ├── ParamWhoToFollowModuleDisplayTypeBuilder.scala
│ │ │ ├── StaticModuleDisplayTypeBuilder.scala
│ │ │ └── TimelineModuleBuilder.scala
│ │ ├── experiments/
│ │ │ └── metrics/
│ │ │ ├── BUILD
│ │ │ ├── MetricDefinitions.scala
│ │ │ ├── MetricGroup.scala
│ │ │ ├── MetricTemplateCLIRunner.scala
│ │ │ ├── MetricTemplates.scala
│ │ │ └── PlaceholderConfig.scala
│ │ ├── feature/
│ │ │ └── featurestorev1/
│ │ │ ├── BUILD
│ │ │ ├── FeatureStoreV1QueryUserIdFeature.scala
│ │ │ ├── FeatureStoreV1QueryUserIdTweetCandidateAuthorIdFeature.scala
│ │ │ ├── FeatureStoreV1QueryUserIdTweetCandidateTweetIdFeature.scala
│ │ │ ├── FeatureStoreV1TweetCandidateAuthorIdFeature.scala
│ │ │ ├── FeatureStoreV1TweetCandidateTweetIdFeature.scala
│ │ │ └── FeatureStoreV1UserCandidateUserIdFeature.scala
│ │ ├── feature_hydrator/
│ │ │ ├── BUILD
│ │ │ ├── candidate/
│ │ │ │ ├── ads/
│ │ │ │ │ ├── AdvertiserBrandSafetySettingsFeatureHydrator.scala
│ │ │ │ │ └── BUILD
│ │ │ │ ├── decay/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── DecayCandidateFeatureHydrator.scala
│ │ │ │ ├── param_gated/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ ├── ParamGatedBulkCandidateFeatureHydrator.scala
│ │ │ │ │ ├── ParamGatedCandidateFeatureHydrator.scala
│ │ │ │ │ └── featurestorev1/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ └── ParamGatedFeatureStoreV1CandidateFeatureHydrator.scala
│ │ │ │ ├── qualityfactor_gated/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── QualityFactorGatedCandidateFeatureHydrator.scala
│ │ │ │ ├── tweet_is_nsfw/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ └── TweetIsNsfwCandidateFeatureHydrator.scala
│ │ │ │ ├── tweet_tlx/
│ │ │ │ │ ├── BUILD.bazel
│ │ │ │ │ └── TweetTLXScoreCandidateFeatureHydrator.scala
│ │ │ │ ├── tweet_tweetypie/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ └── TweetTweetypieCandidateFeatureHydrator.scala
│ │ │ │ └── tweet_visibility_reason/
│ │ │ │ ├── BUILD
│ │ │ │ └── TweetVisibilityReasonBulkCandidateFeatureHydrator.scala
│ │ │ └── query/
│ │ │ ├── async/
│ │ │ │ ├── AsyncQueryFeatureHydrator.scala
│ │ │ │ └── BUILD
│ │ │ ├── cr_ml_ranker/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ ├── CrMlRankerCommonQueryFeatureHydrator.scala
│ │ │ │ ├── CrMlRankerCommonQueryFeatureHydratorBuilder.scala
│ │ │ │ └── RankingConfigBuilder.scala
│ │ │ ├── impressed_tweets/
│ │ │ │ ├── BUILD
│ │ │ │ └── ImpressedTweetsQueryFeatureHydrator.scala
│ │ │ ├── logged_in_only/
│ │ │ │ ├── BUILD
│ │ │ │ └── LoggedInOnlyQueryFeatureHydrator.scala
│ │ │ ├── param_gated/
│ │ │ │ ├── AsyncParamGatedQueryFeatureHydrator.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── ParamGatedQueryFeatureHydrator.scala
│ │ │ │ └── featurestorev1/
│ │ │ │ ├── AsyncParamGatedFeatureStoreV1QueryFeatureHydrator.scala
│ │ │ │ ├── BUILD
│ │ │ │ └── ParamGatedFeatureStoreV1QueryFeatureHydrator.scala
│ │ │ └── qualityfactor_gated/
│ │ │ ├── BUILD.bazel
│ │ │ └── QualityFactorGatedQueryFeatureHydrator.scala
│ │ ├── filter/
│ │ │ ├── AdaptiveLongIntBloomFilterDedupFilter.scala
│ │ │ ├── BUILD
│ │ │ ├── ExcludedIdsFilter.scala
│ │ │ ├── FeatureFilter.scala
│ │ │ ├── FeatureValueConditionalFilter.scala
│ │ │ ├── HasAuthorIdFeatureFilter.scala
│ │ │ ├── ParamGatedFilter.scala
│ │ │ ├── PredicateFilter.scala
│ │ │ ├── SnowflakeIdAgeFilter.scala
│ │ │ ├── TweetAuthorCountryFilter.scala
│ │ │ ├── TweetAuthorIsSelfFilter.scala
│ │ │ ├── TweetIsNotReplyFilter.scala
│ │ │ ├── TweetLanguageFilter.scala
│ │ │ ├── TweetVisibilityFilter.scala
│ │ │ ├── UrtUnorderedExcludeIdsCursorFilter.scala
│ │ │ ├── list_visibility/
│ │ │ │ ├── BUILD.bazel
│ │ │ │ └── ListVisibilityFilter.scala
│ │ │ └── tweet_impression/
│ │ │ ├── BUILD.bazel
│ │ │ └── TweetImpressionFilter.scala
│ │ ├── gate/
│ │ │ ├── BUILD
│ │ │ ├── DefinedCountryCodeGate.scala
│ │ │ ├── FeatureGate.scala
│ │ │ ├── FirstPageGate.scala
│ │ │ ├── NoCandidatesGate.scala
│ │ │ ├── NonEmptyAdsQueryStringGate.scala
│ │ │ ├── NonEmptyCandidatesGate.scala
│ │ │ ├── QualityFactorGate.scala
│ │ │ └── any_candidates_without_feature/
│ │ │ ├── AnyCandidatesWithoutFeatureGate.scala
│ │ │ └── BUILD.bazel
│ │ ├── model/
│ │ │ ├── candidate/
│ │ │ │ ├── ArticleCandidate.scala
│ │ │ │ ├── AudioSpaceCandidate.scala
│ │ │ │ ├── BUILD
│ │ │ │ ├── CardCandidate.scala
│ │ │ │ ├── CommerceItemCandidate.scala
│ │ │ │ ├── CursorCandidate.scala
│ │ │ │ ├── DMConvoCandidate.scala
│ │ │ │ ├── DMEventCandidate.scala
│ │ │ │ ├── GenericSummaryCandidate.scala
│ │ │ │ ├── LabelCandidate.scala
│ │ │ │ ├── MomentAnnotationCandidate.scala
│ │ │ │ ├── PromptCandidate.scala
│ │ │ │ ├── ShowAlertCandidate.scala
│ │ │ │ ├── TopicCandidate.scala
│ │ │ │ ├── TweetCandidate.scala
│ │ │ │ ├── TwitterListCandidate.scala
│ │ │ │ ├── UserCandidate.scala
│ │ │ │ ├── ads/
│ │ │ │ │ ├── AdsCandidate.scala
│ │ │ │ │ └── BUILD
│ │ │ │ ├── hubble/
│ │ │ │ │ ├── AdCreativeCandidate.scala
│ │ │ │ │ ├── AdGroupCandidate.scala
│ │ │ │ │ ├── AdUnitCandidate.scala
│ │ │ │ │ ├── BUILD
│ │ │ │ │ ├── CampaignCandidate.scala
│ │ │ │ │ └── FundingSourceCandidate.scala
│ │ │ │ ├── suggestion/
│ │ │ │ │ ├── BUILD
│ │ │ │ │ ├── QuerySuggestionCandidate.scala
│ │ │ │ │ └── SpellingSuggestionCandidate.scala
│ │ │ │ └── trends_events/
│ │ │ │
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.DS_Store
================================================
FILE: COPYING
================================================
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
================================================
FILE: README.md
================================================
# X's Recommendation Algorithm
X's Recommendation Algorithm is a set of services and jobs that are responsible for serving feeds of posts and other content across all X product surfaces (e.g. For You Timeline, Search, Explore, Notifications). For an introduction to how the algorithm works, please refer to our [engineering blog](https://blog.x.com/engineering/en_us/topics/open-source/2023/twitter-recommendation-algorithm).
## Architecture
Product surfaces at X are built on a shared set of data, models, and software frameworks. The shared components included in this repository are listed below:
| Type | Component | Description |
|------------|------------|------------|
| Data | [tweetypie](tweetypie/server/README.md) | Core service that handles the reading and writing of post data. |
| | [unified-user-actions](unified_user_actions/README.md) | Real-time stream of user actions on X. |
| | [user-signal-service](user-signal-service/README.md) | Centralized platform to retrieve explicit (e.g. likes, replies) and implicit (e.g. profile visits, tweet clicks) user signals. |
| Model | [SimClusters](src/scala/com/twitter/simclusters_v2/README.md) | Community detection and sparse embeddings into those communities. |
| | [TwHIN](https://github.com/twitter/the-algorithm-ml/blob/main/projects/twhin/README.md) | Dense knowledge graph embeddings for Users and Posts. |
| | [trust-and-safety-models](trust_and_safety_models/README.md) | Models for detecting NSFW or abusive content. |
| | [real-graph](src/scala/com/twitter/interaction_graph/README.md) | Model to predict the likelihood of an X User interacting with another User. |
| | [tweepcred](src/scala/com/twitter/graph/batch/job/tweepcred/README) | Page-Rank algorithm for calculating X User reputation. |
| | [recos-injector](recos-injector/README.md) | Streaming event processor for building input streams for [GraphJet](https://github.com/twitter/GraphJet) based services. |
| | [graph-feature-service](graph-feature-service/README.md) | Serves graph features for a directed pair of users (e.g. how many of User A's following liked posts from User B). |
| | [topic-social-proof](topic-social-proof/README.md) | Identifies topics related to individual posts. |
| | [representation-scorer](representation-scorer/README.md) | Compute scores between pairs of entities (Users, Posts, etc.) using embedding similarity. |
| Software framework | [navi](navi/README.md) | High performance, machine learning model serving written in Rust. |
| | [product-mixer](product-mixer/README.md) | Software framework for building feeds of content. |
| | [timelines-aggregation-framework](timelines/data_processing/ml_util/aggregation_framework/README.md) | Framework for generating aggregate features in batch or real time. |
| | [representation-manager](representation-manager/README.md) | Service to retrieve embeddings (i.e. SimClusers and TwHIN). |
| | [twml](twml/README.md) | Legacy machine learning framework built on TensorFlow v1. |
The product surfaces currently included in this repository are the For You Timeline and Recommended Notifications.
### For You Timeline
The diagram below illustrates how major services and jobs interconnect to construct a For You Timeline.

The core components of the For You Timeline included in this repository are listed below:
| Type | Component | Description |
|------------|------------|------------|
| Candidate Source | [search-index](src/java/com/twitter/search/README.md) | Find and rank In-Network posts. ~50% of posts come from this candidate source. |
| | [tweet-mixer](tweet-mixer) | Coordination layer for fetching Out-of-Network tweet candidates from underlying compute services. |
| | [user-tweet-entity-graph](src/scala/com/twitter/recos/user_tweet_entity_graph/README.md) (UTEG)| Maintains an in memory User to Post interaction graph, and finds candidates based on traversals of this graph. This is built on the [GraphJet](https://github.com/twitter/GraphJet) framework. Several other GraphJet based features and candidate sources are located [here](src/scala/com/twitter/recos). |
| | [follow-recommendation-service](follow-recommendations-service/README.md) (FRS)| Provides Users with recommendations for accounts to follow, and posts from those accounts. |
| Ranking | [light-ranker](src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/README.md) | Light Ranker model used by search index (Earlybird) to rank posts. |
| | [heavy-ranker](https://github.com/twitter/the-algorithm-ml/blob/main/projects/home/recap/README.md) | Neural network for ranking candidate posts. One of the main signals used to select timeline posts post candidate sourcing. |
| Post mixing & filtering | [home-mixer](home-mixer/README.md) | Main service used to construct and serve the Home Timeline. Built on [product-mixer](product-mixer/README.md). |
| | [visibility-filters](visibilitylib/README.md) | Responsible for filtering X content to support legal compliance, improve product quality, increase user trust, protect revenue through the use of hard-filtering, visible product treatments, and coarse-grained downranking. |
| | [timelineranker](timelineranker/README.md) | Legacy service which provides relevance-scored posts from the Earlybird Search Index and UTEG service. |
### Recommended Notifications
The core components of Recommended Notifications included in this repository are listed below:
| Type | Component | Description |
|------------|------------|------------|
| Service | [pushservice](pushservice/README.md) | Main recommendation service at X used to surface recommendations to our users via notifications.
| Ranking | [pushservice-light-ranker](pushservice/src/main/python/models/light_ranking/README.md) | Light Ranker model used by pushservice to rank posts. Bridges candidate generation and heavy ranking by pre-selecting highly-relevant candidates from the initial huge candidate pool. |
| | [pushservice-heavy-ranker](pushservice/src/main/python/models/heavy_ranking/README.md) | Multi-task learning model to predict the probabilities that the target users will open and engage with the sent notifications. |
## Build and test code
We include Bazel BUILD files for most components, but not a top-level BUILD or WORKSPACE file. We plan to add a more complete build and test system in the future.
## Contributing
We invite the community to submit GitHub issues and pull requests for suggestions on improving the recommendation algorithm. We are working on tools to manage these suggestions and sync changes to our internal repository. Any security concerns or issues should be routed to our official [bug bounty program](https://hackerone.com/x) through HackerOne. We hope to benefit from the collective intelligence and expertise of the global community in helping us identify issues and suggest improvements, ultimately leading to a better X.
Read our blog on the open source initiative [here](https://blog.x.com/en_us/topics/company/2023/a-new-era-of-transparency-for-twitter).
================================================
FILE: RETREIVAL_SIGNALS.md
================================================
# Signals for Candidate Sources
## Overview
The candidate sourcing stage within the Twitter Recommendation algorithm serves to significantly narrow down the item size from approximately 1 billion to just a few thousand. This process utilizes Twitter user behavior as the primary input for the algorithm. This document comprehensively enumerates all the signals during the candidate sourcing phase.
| Signals | Description |
| :-------------------- | :-------------------------------------------------------------------- |
| Author Follow | The accounts which user explicit follows. |
| Author Unfollow | The accounts which user recently unfollows. |
| Author Mute | The accounts which user have muted. |
| Author Block | The accounts which user have blocked |
| Tweet Favorite | The tweets which user clicked the like botton. |
| Tweet Unfavorite | The tweets which user clicked the unlike botton. |
| Retweet | The tweets which user retweeted |
| Quote Tweet | The tweets which user retweeted with comments. |
| Tweet Reply | The tweets which user replied. |
| Tweet Share | The tweets which user clicked the share botton. |
| Tweet Bookmark | The tweets which user clicked the bookmark botton. |
| Tweet Click | The tweets which user clicked and viewed the tweet detail page. |
| Tweet Video Watch | The video tweets which user watched certain seconds or percentage. |
| Tweet Don't like | The tweets which user clicked "Not interested in this tweet" botton. |
| Tweet Report | The tweets which user clicked "Report Tweet" botton. |
| Notification Open | The push notification tweets which user opened. |
| Ntab click | The tweets which user click on the Notifications page. |
| User AddressBook | The author accounts identifiers of the user's addressbook. |
## Usage Details
Twitter uses these user signals as training labels and/or ML features in the each candidate sourcing algorithms. The following tables shows how they are used in the each components.
| Signals | USS | SimClusters | TwHin | UTEG | FRS | Light Ranking |
| :-------------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- | :----------------- |
| Author Follow | Features | Features / Labels | Features / Labels | Features | Features / Labels | N/A |
| Author Unfollow | Features | N/A | N/A | N/A | N/A | N/A |
| Author Mute | Features | N/A | N/A | N/A | Features | N/A |
| Author Block | Features | N/A | N/A | N/A | Features | N/A |
| Tweet Favorite | Features | Features | Features / Labels | Features | Features / Labels | Features / Labels |
| Tweet Unfavorite | Features | Features | N/A | N/A | N/A | N/A |
| Retweet | Features | N/A | Features / Labels | Features | Features / Labels | Features / Labels |
| Quote Tweet | Features | N/A | Features / Labels | Features | Features / Labels | Features / Labels |
| Tweet Reply | Features | N/A | Features | Features | Features / Labels | Features |
| Tweet Share | Features | N/A | N/A | N/A | Features | N/A |
| Tweet Bookmark | Features | N/A | N/A | N/A | N/A | N/A |
| Tweet Click | Features | N/A | N/A | N/A | Features | Labels |
| Tweet Video Watch | Features | Features | N/A | N/A | N/A | Labels |
| Tweet Don't like | Features | N/A | N/A | N/A | N/A | N/A |
| Tweet Report | Features | N/A | N/A | N/A | N/A | N/A |
| Notification Open | Features | Features | Features | N/A | Features | N/A |
| Ntab click | Features | Features | Features | N/A | Features | N/A |
| User AddressBook | N/A | N/A | N/A | N/A | Features | N/A |
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/BUILD
================================================
target(
name = "faiss",
dependencies = [
"ann/src/main/java/com/twitter/ann/faiss/swig:swig-artifactory",
],
)
java_library(
name = "swig-native-utils",
sources = ["*.java"],
compiler_option_sets = ["fatal_warnings"],
platform = "java8",
tags = ["bazel-compatible"],
dependencies = [],
)
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/NativeUtils.java
================================================
package com.twitter.ann.faiss;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import java.util.Locale;
public final class NativeUtils {
private static final int MIN_PREFIX_LENGTH = 3;
public static final String NATIVE_FOLDER_PATH_PREFIX = "nativeutils";
public static File temporaryDir;
private NativeUtils() {
}
private static File unpackLibraryFromJarInternal(String path) throws IOException {
if (null == path || !path.startsWith("/")) {
throw new IllegalArgumentException("The path has to be absolute (start with '/').");
}
String[] parts = path.split("/");
String filename = (parts.length > 1) ? parts[parts.length - 1] : null;
if (filename == null || filename.length() < MIN_PREFIX_LENGTH) {
throw new IllegalArgumentException("The filename has to be at least 3 characters long.");
}
if (temporaryDir == null) {
temporaryDir = createTempDirectory(NATIVE_FOLDER_PATH_PREFIX);
temporaryDir.deleteOnExit();
}
File temp = new File(temporaryDir, filename);
try (InputStream is = NativeUtils.class.getResourceAsStream(path)) {
Files.copy(is, temp.toPath(), StandardCopyOption.REPLACE_EXISTING);
} catch (IOException e) {
temp.delete();
throw e;
} catch (NullPointerException e) {
temp.delete();
throw new FileNotFoundException("File " + path + " was not found inside JAR.");
}
return temp;
}
/**
* Unpack library from JAR into temporary path
*
* @param path The path of file inside JAR as absolute path (beginning with
* '/'), e.g. /package/File.ext
* @throws IOException If temporary file creation or read/write
* operation fails
* @throws IllegalArgumentException If source file (param path) does not exist
* @throws IllegalArgumentException If the path is not absolute or if the
* filename is shorter than three characters
* (restriction of
* {@link File#createTempFile(java.lang.String, java.lang.String)}).
* @throws FileNotFoundException If the file could not be found inside the
* JAR.
*/
public static void unpackLibraryFromJar(String path) throws IOException {
unpackLibraryFromJarInternal(path);
}
/**
* Loads library from current JAR archive
* <p>
* The file from JAR is copied into system temporary directory and then loaded.
* The temporary file is deleted after
* exiting.
* Method uses String as filename because the pathname is "abstract", not
* system-dependent.
*
* @param path The path of file inside JAR as absolute path (beginning with
* '/'), e.g. /package/File.ext
* @throws IOException If temporary file creation or read/write
* operation fails
* @throws IllegalArgumentException If source file (param path) does not exist
* @throws IllegalArgumentException If the path is not absolute or if the
* filename is shorter than three characters
* (restriction of
* {@link File#createTempFile(java.lang.String, java.lang.String)}).
* @throws FileNotFoundException If the file could not be found inside the
* JAR.
*/
public static void loadLibraryFromJar(String path) throws IOException {
File temp = unpackLibraryFromJarInternal(path);
try (InputStream is = NativeUtils.class.getResourceAsStream(path)) {
Files.copy(is, temp.toPath(), StandardCopyOption.REPLACE_EXISTING);
} catch (IOException e) {
temp.delete();
throw e;
} catch (NullPointerException e) {
temp.delete();
throw new FileNotFoundException("File " + path + " was not found inside JAR.");
}
try {
System.load(temp.getAbsolutePath());
} finally {
temp.deleteOnExit();
}
}
private static File createTempDirectory(String prefix) throws IOException {
String tempDir = System.getProperty("java.io.tmpdir");
File generatedDir = new File(tempDir, prefix + System.nanoTime());
if (!generatedDir.mkdir()) {
throw new IOException("Failed to create temp directory " + generatedDir.getName());
}
return generatedDir;
}
public enum OSType {
Windows, MacOS, Linux, Other
}
protected static OSType detectedOS;
/**
* detect the operating system from the os.name System property and cache
* the result
*
* @returns - the operating system detected
*/
public static OSType getOperatingSystemType() {
if (detectedOS == null) {
String osname = System.getProperty("os.name", "generic").toLowerCase(Locale.ENGLISH);
if ((osname.contains("mac")) || (osname.contains("darwin"))) {
detectedOS = OSType.MacOS;
} else if (osname.contains("win")) {
detectedOS = OSType.Windows;
} else if (osname.contains("nux")) {
detectedOS = OSType.Linux;
} else {
detectedOS = OSType.Other;
}
}
return detectedOS;
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableFloat32.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class AlignedTableFloat32 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AlignedTableFloat32(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AlignedTableFloat32 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_AlignedTableFloat32(swigCPtr);
}
swigCPtr = 0;
}
}
public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t value) {
swigfaissJNI.AlignedTableFloat32_tab_set(swigCPtr, this, SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t.getCPtr(value));
}
public SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t getTab() {
long cPtr = swigfaissJNI.AlignedTableFloat32_tab_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t(cPtr, false);
}
public void setNumel(long value) {
swigfaissJNI.AlignedTableFloat32_numel_set(swigCPtr, this, value);
}
public long getNumel() {
return swigfaissJNI.AlignedTableFloat32_numel_get(swigCPtr, this);
}
public static long round_capacity(long n) {
return swigfaissJNI.AlignedTableFloat32_round_capacity(n);
}
public AlignedTableFloat32() {
this(swigfaissJNI.new_AlignedTableFloat32__SWIG_0(), true);
}
public AlignedTableFloat32(long n) {
this(swigfaissJNI.new_AlignedTableFloat32__SWIG_1(n), true);
}
public long itemsize() {
return swigfaissJNI.AlignedTableFloat32_itemsize(swigCPtr, this);
}
public void resize(long n) {
swigfaissJNI.AlignedTableFloat32_resize(swigCPtr, this, n);
}
public void clear() {
swigfaissJNI.AlignedTableFloat32_clear(swigCPtr, this);
}
public long size() {
return swigfaissJNI.AlignedTableFloat32_size(swigCPtr, this);
}
public long nbytes() {
return swigfaissJNI.AlignedTableFloat32_nbytes(swigCPtr, this);
}
public SWIGTYPE_p_float get() {
long cPtr = swigfaissJNI.AlignedTableFloat32_get__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_float(cPtr, false);
}
public SWIGTYPE_p_float data() {
long cPtr = swigfaissJNI.AlignedTableFloat32_data__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_float(cPtr, false);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint16.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class AlignedTableUint16 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AlignedTableUint16(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AlignedTableUint16 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_AlignedTableUint16(swigCPtr);
}
swigCPtr = 0;
}
}
public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t value) {
swigfaissJNI.AlignedTableUint16_tab_set(swigCPtr, this, SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t.getCPtr(value));
}
public SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t getTab() {
long cPtr = swigfaissJNI.AlignedTableUint16_tab_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t(cPtr, false);
}
public void setNumel(long value) {
swigfaissJNI.AlignedTableUint16_numel_set(swigCPtr, this, value);
}
public long getNumel() {
return swigfaissJNI.AlignedTableUint16_numel_get(swigCPtr, this);
}
public static long round_capacity(long n) {
return swigfaissJNI.AlignedTableUint16_round_capacity(n);
}
public AlignedTableUint16() {
this(swigfaissJNI.new_AlignedTableUint16__SWIG_0(), true);
}
public AlignedTableUint16(long n) {
this(swigfaissJNI.new_AlignedTableUint16__SWIG_1(n), true);
}
public long itemsize() {
return swigfaissJNI.AlignedTableUint16_itemsize(swigCPtr, this);
}
public void resize(long n) {
swigfaissJNI.AlignedTableUint16_resize(swigCPtr, this, n);
}
public void clear() {
swigfaissJNI.AlignedTableUint16_clear(swigCPtr, this);
}
public long size() {
return swigfaissJNI.AlignedTableUint16_size(swigCPtr, this);
}
public long nbytes() {
return swigfaissJNI.AlignedTableUint16_nbytes(swigCPtr, this);
}
public SWIGTYPE_p_uint16_t get() {
long cPtr = swigfaissJNI.AlignedTableUint16_get__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_uint16_t(cPtr, false);
}
public SWIGTYPE_p_uint16_t data() {
long cPtr = swigfaissJNI.AlignedTableUint16_data__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_uint16_t(cPtr, false);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint8.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class AlignedTableUint8 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AlignedTableUint8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AlignedTableUint8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_AlignedTableUint8(swigCPtr);
}
swigCPtr = 0;
}
}
public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t value) {
swigfaissJNI.AlignedTableUint8_tab_set(swigCPtr, this, SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t.getCPtr(value));
}
public SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t getTab() {
long cPtr = swigfaissJNI.AlignedTableUint8_tab_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t(cPtr, false);
}
public void setNumel(long value) {
swigfaissJNI.AlignedTableUint8_numel_set(swigCPtr, this, value);
}
public long getNumel() {
return swigfaissJNI.AlignedTableUint8_numel_get(swigCPtr, this);
}
public static long round_capacity(long n) {
return swigfaissJNI.AlignedTableUint8_round_capacity(n);
}
public AlignedTableUint8() {
this(swigfaissJNI.new_AlignedTableUint8__SWIG_0(), true);
}
public AlignedTableUint8(long n) {
this(swigfaissJNI.new_AlignedTableUint8__SWIG_1(n), true);
}
public long itemsize() {
return swigfaissJNI.AlignedTableUint8_itemsize(swigCPtr, this);
}
public void resize(long n) {
swigfaissJNI.AlignedTableUint8_resize(swigCPtr, this, n);
}
public void clear() {
swigfaissJNI.AlignedTableUint8_clear(swigCPtr, this);
}
public long size() {
return swigfaissJNI.AlignedTableUint8_size(swigCPtr, this);
}
public long nbytes() {
return swigfaissJNI.AlignedTableUint8_nbytes(swigCPtr, this);
}
public SWIGTYPE_p_unsigned_char get() {
long cPtr = swigfaissJNI.AlignedTableUint8_get__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public SWIGTYPE_p_unsigned_char data() {
long cPtr = swigfaissJNI.AlignedTableUint8_data__SWIG_0(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ArrayInvertedLists.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ArrayInvertedLists extends InvertedLists {
private transient long swigCPtr;
protected ArrayInvertedLists(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.ArrayInvertedLists_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(ArrayInvertedLists obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ArrayInvertedLists(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setCodes(ByteVectorVector value) {
swigfaissJNI.ArrayInvertedLists_codes_set(swigCPtr, this, ByteVectorVector.getCPtr(value), value);
}
public ByteVectorVector getCodes() {
long cPtr = swigfaissJNI.ArrayInvertedLists_codes_get(swigCPtr, this);
return (cPtr == 0) ? null : new ByteVectorVector(cPtr, false);
}
public void setIds(SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t value) {
swigfaissJNI.ArrayInvertedLists_ids_set(swigCPtr, this, SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t.getCPtr(value));
}
public SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t getIds() {
long cPtr = swigfaissJNI.ArrayInvertedLists_ids_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t(cPtr, false);
}
public ArrayInvertedLists(long nlist, long code_size) {
this(swigfaissJNI.new_ArrayInvertedLists(nlist, code_size), true);
}
public long list_size(long list_no) {
return swigfaissJNI.ArrayInvertedLists_list_size(swigCPtr, this, list_no);
}
public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
long cPtr = swigfaissJNI.ArrayInvertedLists_get_codes(swigCPtr, this, list_no);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public LongVector get_ids(long list_no) {
return new LongVector(swigfaissJNI.ArrayInvertedLists_get_ids(swigCPtr, this, list_no), false);
}
public long add_entries(long list_no, long n_entry, LongVector ids, SWIGTYPE_p_unsigned_char code) {
return swigfaissJNI.ArrayInvertedLists_add_entries(swigCPtr, this, list_no, n_entry, SWIGTYPE_p_long_long.getCPtr(ids.data()), ids, SWIGTYPE_p_unsigned_char.getCPtr(code));
}
public void update_entries(long list_no, long offset, long n_entry, LongVector ids, SWIGTYPE_p_unsigned_char code) {
swigfaissJNI.ArrayInvertedLists_update_entries(swigCPtr, this, list_no, offset, n_entry, SWIGTYPE_p_long_long.getCPtr(ids.data()), ids, SWIGTYPE_p_unsigned_char.getCPtr(code));
}
public void resize(long list_no, long new_size) {
swigfaissJNI.ArrayInvertedLists_resize(swigCPtr, this, list_no, new_size);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AutoTuneCriterion.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class AutoTuneCriterion {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected AutoTuneCriterion(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(AutoTuneCriterion obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_AutoTuneCriterion(swigCPtr);
}
swigCPtr = 0;
}
}
public void setNq(long value) {
swigfaissJNI.AutoTuneCriterion_nq_set(swigCPtr, this, value);
}
public long getNq() {
return swigfaissJNI.AutoTuneCriterion_nq_get(swigCPtr, this);
}
public void setNnn(long value) {
swigfaissJNI.AutoTuneCriterion_nnn_set(swigCPtr, this, value);
}
public long getNnn() {
return swigfaissJNI.AutoTuneCriterion_nnn_get(swigCPtr, this);
}
public void setGt_nnn(long value) {
swigfaissJNI.AutoTuneCriterion_gt_nnn_set(swigCPtr, this, value);
}
public long getGt_nnn() {
return swigfaissJNI.AutoTuneCriterion_gt_nnn_get(swigCPtr, this);
}
public void setGt_D(FloatVector value) {
swigfaissJNI.AutoTuneCriterion_gt_D_set(swigCPtr, this, FloatVector.getCPtr(value), value);
}
public FloatVector getGt_D() {
long cPtr = swigfaissJNI.AutoTuneCriterion_gt_D_get(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public void setGt_I(SWIGTYPE_p_std__vectorT_int64_t_t value) {
swigfaissJNI.AutoTuneCriterion_gt_I_set(swigCPtr, this, SWIGTYPE_p_std__vectorT_int64_t_t.getCPtr(value));
}
public SWIGTYPE_p_std__vectorT_int64_t_t getGt_I() {
long cPtr = swigfaissJNI.AutoTuneCriterion_gt_I_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_std__vectorT_int64_t_t(cPtr, false);
}
public void set_groundtruth(int gt_nnn, SWIGTYPE_p_float gt_D_in, LongVector gt_I_in) {
swigfaissJNI.AutoTuneCriterion_set_groundtruth(swigCPtr, this, gt_nnn, SWIGTYPE_p_float.getCPtr(gt_D_in), SWIGTYPE_p_long_long.getCPtr(gt_I_in.data()), gt_I_in);
}
public double evaluate(SWIGTYPE_p_float D, LongVector I) {
return swigfaissJNI.AutoTuneCriterion_evaluate(swigCPtr, this, SWIGTYPE_p_float.getCPtr(D), SWIGTYPE_p_long_long.getCPtr(I.data()), I);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BUILD
================================================
java_library(
name = "swig-local",
sources = ["*.java"],
compiler_option_sets = ["fatal_warnings"],
platform = "java8",
tags = [
"bazel-compatible",
"bazel-only",
],
dependencies = [
"ann/src/main/java/com/twitter/ann/faiss:swig-native-utils",
"ann/src/main/java/com/twitter/ann/faiss/swig/resources",
],
)
java_library(
name = "swig-artifactory",
sources = ["*.java"],
compiler_option_sets = ["fatal_warnings"],
platform = "java8",
tags = ["bazel-compatible"],
dependencies = [
"3rdparty/jvm/com/twitter/ann/faiss/swig:resources",
"ann/src/main/java/com/twitter/ann/faiss:swig-native-utils",
],
)
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BitstringReader.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class BitstringReader {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected BitstringReader(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(BitstringReader obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_BitstringReader(swigCPtr);
}
swigCPtr = 0;
}
}
public void setCode(SWIGTYPE_p_unsigned_char value) {
swigfaissJNI.BitstringReader_code_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(value));
}
public SWIGTYPE_p_unsigned_char getCode() {
long cPtr = swigfaissJNI.BitstringReader_code_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public void setCode_size(long value) {
swigfaissJNI.BitstringReader_code_size_set(swigCPtr, this, value);
}
public long getCode_size() {
return swigfaissJNI.BitstringReader_code_size_get(swigCPtr, this);
}
public void setI(long value) {
swigfaissJNI.BitstringReader_i_set(swigCPtr, this, value);
}
public long getI() {
return swigfaissJNI.BitstringReader_i_get(swigCPtr, this);
}
public BitstringReader(SWIGTYPE_p_unsigned_char code, long code_size) {
this(swigfaissJNI.new_BitstringReader(SWIGTYPE_p_unsigned_char.getCPtr(code), code_size), true);
}
public long read(int nbit) {
return swigfaissJNI.BitstringReader_read(swigCPtr, this, nbit);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BitstringWriter.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class BitstringWriter {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected BitstringWriter(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(BitstringWriter obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_BitstringWriter(swigCPtr);
}
swigCPtr = 0;
}
}
public void setCode(SWIGTYPE_p_unsigned_char value) {
swigfaissJNI.BitstringWriter_code_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(value));
}
public SWIGTYPE_p_unsigned_char getCode() {
long cPtr = swigfaissJNI.BitstringWriter_code_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public void setCode_size(long value) {
swigfaissJNI.BitstringWriter_code_size_set(swigCPtr, this, value);
}
public long getCode_size() {
return swigfaissJNI.BitstringWriter_code_size_get(swigCPtr, this);
}
public void setI(long value) {
swigfaissJNI.BitstringWriter_i_set(swigCPtr, this, value);
}
public long getI() {
return swigfaissJNI.BitstringWriter_i_get(swigCPtr, this);
}
public BitstringWriter(SWIGTYPE_p_unsigned_char code, long code_size) {
this(swigfaissJNI.new_BitstringWriter(SWIGTYPE_p_unsigned_char.getCPtr(code), code_size), true);
}
public void write(long x, int nbit) {
swigfaissJNI.BitstringWriter_write(swigCPtr, this, x, nbit);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BufferList.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class BufferList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected BufferList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(BufferList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_BufferList(swigCPtr);
}
swigCPtr = 0;
}
}
public void setBuffer_size(long value) {
swigfaissJNI.BufferList_buffer_size_set(swigCPtr, this, value);
}
public long getBuffer_size() {
return swigfaissJNI.BufferList_buffer_size_get(swigCPtr, this);
}
public void setBuffers(SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t value) {
swigfaissJNI.BufferList_buffers_set(swigCPtr, this, SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t.getCPtr(value));
}
public SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t getBuffers() {
long cPtr = swigfaissJNI.BufferList_buffers_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t(cPtr, false);
}
public void setWp(long value) {
swigfaissJNI.BufferList_wp_set(swigCPtr, this, value);
}
public long getWp() {
return swigfaissJNI.BufferList_wp_get(swigCPtr, this);
}
public BufferList(long buffer_size) {
this(swigfaissJNI.new_BufferList(buffer_size), true);
}
public void append_buffer() {
swigfaissJNI.BufferList_append_buffer(swigCPtr, this);
}
public void add(long id, float dis) {
swigfaissJNI.BufferList_add(swigCPtr, this, id, dis);
}
public void copy_range(long ofs, long n, LongVector dest_ids, SWIGTYPE_p_float dest_dis) {
swigfaissJNI.BufferList_copy_range(swigCPtr, this, ofs, n, SWIGTYPE_p_long_long.getCPtr(dest_ids.data()), dest_ids, SWIGTYPE_p_float.getCPtr(dest_dis));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ByteVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ByteVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ByteVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ByteVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ByteVector(swigCPtr);
}
swigCPtr = 0;
}
}
public ByteVector() {
this(swigfaissJNI.new_ByteVector(), true);
}
public void push_back(short arg0) {
swigfaissJNI.ByteVector_push_back(swigCPtr, this, arg0);
}
public void clear() {
swigfaissJNI.ByteVector_clear(swigCPtr, this);
}
public SWIGTYPE_p_unsigned_char data() {
long cPtr = swigfaissJNI.ByteVector_data(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public long size() {
return swigfaissJNI.ByteVector_size(swigCPtr, this);
}
public short at(long n) {
return swigfaissJNI.ByteVector_at(swigCPtr, this, n);
}
public void resize(long n) {
swigfaissJNI.ByteVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.ByteVector_reserve(swigCPtr, this, n);
}
public void swap(ByteVector other) {
swigfaissJNI.ByteVector_swap(swigCPtr, this, ByteVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ByteVectorVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ByteVectorVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ByteVectorVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ByteVectorVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ByteVectorVector(swigCPtr);
}
swigCPtr = 0;
}
}
public ByteVectorVector() {
this(swigfaissJNI.new_ByteVectorVector(), true);
}
public void push_back(ByteVector arg0) {
swigfaissJNI.ByteVectorVector_push_back(swigCPtr, this, ByteVector.getCPtr(arg0), arg0);
}
public void clear() {
swigfaissJNI.ByteVectorVector_clear(swigCPtr, this);
}
public ByteVector data() {
long cPtr = swigfaissJNI.ByteVectorVector_data(swigCPtr, this);
return (cPtr == 0) ? null : new ByteVector(cPtr, false);
}
public long size() {
return swigfaissJNI.ByteVectorVector_size(swigCPtr, this);
}
public ByteVector at(long n) {
return new ByteVector(swigfaissJNI.ByteVectorVector_at(swigCPtr, this, n), true);
}
public void resize(long n) {
swigfaissJNI.ByteVectorVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.ByteVectorVector_reserve(swigCPtr, this, n);
}
public void swap(ByteVectorVector other) {
swigfaissJNI.ByteVectorVector_swap(swigCPtr, this, ByteVectorVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/CenteringTransform.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class CenteringTransform extends VectorTransform {
private transient long swigCPtr;
protected CenteringTransform(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.CenteringTransform_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(CenteringTransform obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_CenteringTransform(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setMean(FloatVector value) {
swigfaissJNI.CenteringTransform_mean_set(swigCPtr, this, FloatVector.getCPtr(value), value);
}
public FloatVector getMean() {
long cPtr = swigfaissJNI.CenteringTransform_mean_get(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public CenteringTransform(int d) {
this(swigfaissJNI.new_CenteringTransform__SWIG_0(d), true);
}
public CenteringTransform() {
this(swigfaissJNI.new_CenteringTransform__SWIG_1(), true);
}
public void train(long n, SWIGTYPE_p_float x) {
swigfaissJNI.CenteringTransform_train(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float xt) {
swigfaissJNI.CenteringTransform_apply_noalloc(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_float.getCPtr(xt));
}
public void reverse_transform(long n, SWIGTYPE_p_float xt, SWIGTYPE_p_float x) {
swigfaissJNI.CenteringTransform_reverse_transform(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(xt), SWIGTYPE_p_float.getCPtr(x));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/CharVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class CharVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected CharVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(CharVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_CharVector(swigCPtr);
}
swigCPtr = 0;
}
}
public CharVector() {
this(swigfaissJNI.new_CharVector(), true);
}
public void push_back(char arg0) {
swigfaissJNI.CharVector_push_back(swigCPtr, this, arg0);
}
public void clear() {
swigfaissJNI.CharVector_clear(swigCPtr, this);
}
public String data() {
return swigfaissJNI.CharVector_data(swigCPtr, this);
}
public long size() {
return swigfaissJNI.CharVector_size(swigCPtr, this);
}
public char at(long n) {
return swigfaissJNI.CharVector_at(swigCPtr, this, n);
}
public void resize(long n) {
swigfaissJNI.CharVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.CharVector_reserve(swigCPtr, this, n);
}
public void swap(CharVector other) {
swigfaissJNI.CharVector_swap(swigCPtr, this, CharVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Clustering.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class Clustering extends ClusteringParameters {
private transient long swigCPtr;
protected Clustering(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.Clustering_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(Clustering obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_Clustering(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setD(long value) {
swigfaissJNI.Clustering_d_set(swigCPtr, this, value);
}
public long getD() {
return swigfaissJNI.Clustering_d_get(swigCPtr, this);
}
public void setK(long value) {
swigfaissJNI.Clustering_k_set(swigCPtr, this, value);
}
public long getK() {
return swigfaissJNI.Clustering_k_get(swigCPtr, this);
}
public void setCentroids(FloatVector value) {
swigfaissJNI.Clustering_centroids_set(swigCPtr, this, FloatVector.getCPtr(value), value);
}
public FloatVector getCentroids() {
long cPtr = swigfaissJNI.Clustering_centroids_get(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public void setIteration_stats(SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t value) {
swigfaissJNI.Clustering_iteration_stats_set(swigCPtr, this, SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t.getCPtr(value));
}
public SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t getIteration_stats() {
long cPtr = swigfaissJNI.Clustering_iteration_stats_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t(cPtr, false);
}
public Clustering(int d, int k) {
this(swigfaissJNI.new_Clustering__SWIG_0(d, k), true);
}
public Clustering(int d, int k, ClusteringParameters cp) {
this(swigfaissJNI.new_Clustering__SWIG_1(d, k, ClusteringParameters.getCPtr(cp), cp), true);
}
public void train(long n, SWIGTYPE_p_float x, Index index, SWIGTYPE_p_float x_weights) {
swigfaissJNI.Clustering_train__SWIG_0(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), Index.getCPtr(index), index, SWIGTYPE_p_float.getCPtr(x_weights));
}
public void train(long n, SWIGTYPE_p_float x, Index index) {
swigfaissJNI.Clustering_train__SWIG_1(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), Index.getCPtr(index), index);
}
public void train_encoded(long nx, SWIGTYPE_p_unsigned_char x_in, Index codec, Index index, SWIGTYPE_p_float weights) {
swigfaissJNI.Clustering_train_encoded__SWIG_0(swigCPtr, this, nx, SWIGTYPE_p_unsigned_char.getCPtr(x_in), Index.getCPtr(codec), codec, Index.getCPtr(index), index, SWIGTYPE_p_float.getCPtr(weights));
}
public void train_encoded(long nx, SWIGTYPE_p_unsigned_char x_in, Index codec, Index index) {
swigfaissJNI.Clustering_train_encoded__SWIG_1(swigCPtr, this, nx, SWIGTYPE_p_unsigned_char.getCPtr(x_in), Index.getCPtr(codec), codec, Index.getCPtr(index), index);
}
public void post_process_centroids() {
swigfaissJNI.Clustering_post_process_centroids(swigCPtr, this);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Clustering1D.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class Clustering1D extends Clustering {
private transient long swigCPtr;
protected Clustering1D(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.Clustering1D_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(Clustering1D obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_Clustering1D(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public Clustering1D(int k) {
this(swigfaissJNI.new_Clustering1D__SWIG_0(k), true);
}
public Clustering1D(int k, ClusteringParameters cp) {
this(swigfaissJNI.new_Clustering1D__SWIG_1(k, ClusteringParameters.getCPtr(cp), cp), true);
}
public void train_exact(long n, SWIGTYPE_p_float x) {
swigfaissJNI.Clustering1D_train_exact(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringIterationStats.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ClusteringIterationStats {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ClusteringIterationStats(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ClusteringIterationStats obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ClusteringIterationStats(swigCPtr);
}
swigCPtr = 0;
}
}
public void setObj(float value) {
swigfaissJNI.ClusteringIterationStats_obj_set(swigCPtr, this, value);
}
public float getObj() {
return swigfaissJNI.ClusteringIterationStats_obj_get(swigCPtr, this);
}
public void setTime(double value) {
swigfaissJNI.ClusteringIterationStats_time_set(swigCPtr, this, value);
}
public double getTime() {
return swigfaissJNI.ClusteringIterationStats_time_get(swigCPtr, this);
}
public void setTime_search(double value) {
swigfaissJNI.ClusteringIterationStats_time_search_set(swigCPtr, this, value);
}
public double getTime_search() {
return swigfaissJNI.ClusteringIterationStats_time_search_get(swigCPtr, this);
}
public void setImbalance_factor(double value) {
swigfaissJNI.ClusteringIterationStats_imbalance_factor_set(swigCPtr, this, value);
}
public double getImbalance_factor() {
return swigfaissJNI.ClusteringIterationStats_imbalance_factor_get(swigCPtr, this);
}
public void setNsplit(int value) {
swigfaissJNI.ClusteringIterationStats_nsplit_set(swigCPtr, this, value);
}
public int getNsplit() {
return swigfaissJNI.ClusteringIterationStats_nsplit_get(swigCPtr, this);
}
public ClusteringIterationStats() {
this(swigfaissJNI.new_ClusteringIterationStats(), true);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringParameters.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ClusteringParameters {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ClusteringParameters(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ClusteringParameters obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ClusteringParameters(swigCPtr);
}
swigCPtr = 0;
}
}
public void setNiter(int value) {
swigfaissJNI.ClusteringParameters_niter_set(swigCPtr, this, value);
}
public int getNiter() {
return swigfaissJNI.ClusteringParameters_niter_get(swigCPtr, this);
}
public void setNredo(int value) {
swigfaissJNI.ClusteringParameters_nredo_set(swigCPtr, this, value);
}
public int getNredo() {
return swigfaissJNI.ClusteringParameters_nredo_get(swigCPtr, this);
}
public void setVerbose(boolean value) {
swigfaissJNI.ClusteringParameters_verbose_set(swigCPtr, this, value);
}
public boolean getVerbose() {
return swigfaissJNI.ClusteringParameters_verbose_get(swigCPtr, this);
}
public void setSpherical(boolean value) {
swigfaissJNI.ClusteringParameters_spherical_set(swigCPtr, this, value);
}
public boolean getSpherical() {
return swigfaissJNI.ClusteringParameters_spherical_get(swigCPtr, this);
}
public void setInt_centroids(boolean value) {
swigfaissJNI.ClusteringParameters_int_centroids_set(swigCPtr, this, value);
}
public boolean getInt_centroids() {
return swigfaissJNI.ClusteringParameters_int_centroids_get(swigCPtr, this);
}
public void setUpdate_index(boolean value) {
swigfaissJNI.ClusteringParameters_update_index_set(swigCPtr, this, value);
}
public boolean getUpdate_index() {
return swigfaissJNI.ClusteringParameters_update_index_get(swigCPtr, this);
}
public void setFrozen_centroids(boolean value) {
swigfaissJNI.ClusteringParameters_frozen_centroids_set(swigCPtr, this, value);
}
public boolean getFrozen_centroids() {
return swigfaissJNI.ClusteringParameters_frozen_centroids_get(swigCPtr, this);
}
public void setMin_points_per_centroid(int value) {
swigfaissJNI.ClusteringParameters_min_points_per_centroid_set(swigCPtr, this, value);
}
public int getMin_points_per_centroid() {
return swigfaissJNI.ClusteringParameters_min_points_per_centroid_get(swigCPtr, this);
}
public void setMax_points_per_centroid(int value) {
swigfaissJNI.ClusteringParameters_max_points_per_centroid_set(swigCPtr, this, value);
}
public int getMax_points_per_centroid() {
return swigfaissJNI.ClusteringParameters_max_points_per_centroid_get(swigCPtr, this);
}
public void setSeed(int value) {
swigfaissJNI.ClusteringParameters_seed_set(swigCPtr, this, value);
}
public int getSeed() {
return swigfaissJNI.ClusteringParameters_seed_get(swigCPtr, this);
}
public void setDecode_block_size(long value) {
swigfaissJNI.ClusteringParameters_decode_block_size_set(swigCPtr, this, value);
}
public long getDecode_block_size() {
return swigfaissJNI.ClusteringParameters_decode_block_size_get(swigCPtr, this);
}
public ClusteringParameters() {
this(swigfaissJNI.new_ClusteringParameters(), true);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/DistanceComputer.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class DistanceComputer {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected DistanceComputer(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(DistanceComputer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_DistanceComputer(swigCPtr);
}
swigCPtr = 0;
}
}
public void set_query(SWIGTYPE_p_float x) {
swigfaissJNI.DistanceComputer_set_query(swigCPtr, this, SWIGTYPE_p_float.getCPtr(x));
}
public float symmetric_dis(long i, long j) {
return swigfaissJNI.DistanceComputer_symmetric_dis(swigCPtr, this, i, j);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/DoubleVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class DoubleVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected DoubleVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(DoubleVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_DoubleVector(swigCPtr);
}
swigCPtr = 0;
}
}
public DoubleVector() {
this(swigfaissJNI.new_DoubleVector(), true);
}
public void push_back(double arg0) {
swigfaissJNI.DoubleVector_push_back(swigCPtr, this, arg0);
}
public void clear() {
swigfaissJNI.DoubleVector_clear(swigCPtr, this);
}
public SWIGTYPE_p_double data() {
long cPtr = swigfaissJNI.DoubleVector_data(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
}
public long size() {
return swigfaissJNI.DoubleVector_size(swigCPtr, this);
}
public double at(long n) {
return swigfaissJNI.DoubleVector_at(swigCPtr, this, n);
}
public void resize(long n) {
swigfaissJNI.DoubleVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.DoubleVector_reserve(swigCPtr, this, n);
}
public void swap(DoubleVector other) {
swigfaissJNI.DoubleVector_swap(swigCPtr, this, DoubleVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/FloatVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class FloatVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected FloatVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(FloatVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_FloatVector(swigCPtr);
}
swigCPtr = 0;
}
}
public FloatVector() {
this(swigfaissJNI.new_FloatVector(), true);
}
public void push_back(float arg0) {
swigfaissJNI.FloatVector_push_back(swigCPtr, this, arg0);
}
public void clear() {
swigfaissJNI.FloatVector_clear(swigCPtr, this);
}
public SWIGTYPE_p_float data() {
long cPtr = swigfaissJNI.FloatVector_data(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_float(cPtr, false);
}
public long size() {
return swigfaissJNI.FloatVector_size(swigCPtr, this);
}
public float at(long n) {
return swigfaissJNI.FloatVector_at(swigCPtr, this, n);
}
public void resize(long n) {
swigfaissJNI.FloatVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.FloatVector_reserve(swigCPtr, this, n);
}
public void swap(FloatVector other) {
swigfaissJNI.FloatVector_swap(swigCPtr, this, FloatVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/FloatVectorVector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class FloatVectorVector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected FloatVectorVector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(FloatVectorVector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_FloatVectorVector(swigCPtr);
}
swigCPtr = 0;
}
}
public FloatVectorVector() {
this(swigfaissJNI.new_FloatVectorVector(), true);
}
public void push_back(FloatVector arg0) {
swigfaissJNI.FloatVectorVector_push_back(swigCPtr, this, FloatVector.getCPtr(arg0), arg0);
}
public void clear() {
swigfaissJNI.FloatVectorVector_clear(swigCPtr, this);
}
public FloatVector data() {
long cPtr = swigfaissJNI.FloatVectorVector_data(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public long size() {
return swigfaissJNI.FloatVectorVector_size(swigCPtr, this);
}
public FloatVector at(long n) {
return new FloatVector(swigfaissJNI.FloatVectorVector_at(swigCPtr, this, n), true);
}
public void resize(long n) {
swigfaissJNI.FloatVectorVector_resize(swigCPtr, this, n);
}
public void reserve(long n) {
swigfaissJNI.FloatVectorVector_reserve(swigCPtr, this, n);
}
public void swap(FloatVectorVector other) {
swigfaissJNI.FloatVectorVector_swap(swigCPtr, this, FloatVectorVector.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer16.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class GenHammingComputer16 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected GenHammingComputer16(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(GenHammingComputer16 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_GenHammingComputer16(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.GenHammingComputer16_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.GenHammingComputer16_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.GenHammingComputer16_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.GenHammingComputer16_a1_get(swigCPtr, this);
}
public GenHammingComputer16(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_GenHammingComputer16(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.GenHammingComputer16_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer32.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class GenHammingComputer32 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected GenHammingComputer32(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(GenHammingComputer32 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_GenHammingComputer32(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.GenHammingComputer32_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.GenHammingComputer32_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.GenHammingComputer32_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.GenHammingComputer32_a1_get(swigCPtr, this);
}
public void setA2(long value) {
swigfaissJNI.GenHammingComputer32_a2_set(swigCPtr, this, value);
}
public long getA2() {
return swigfaissJNI.GenHammingComputer32_a2_get(swigCPtr, this);
}
public void setA3(long value) {
swigfaissJNI.GenHammingComputer32_a3_set(swigCPtr, this, value);
}
public long getA3() {
return swigfaissJNI.GenHammingComputer32_a3_get(swigCPtr, this);
}
public GenHammingComputer32(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_GenHammingComputer32(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.GenHammingComputer32_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer8.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class GenHammingComputer8 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected GenHammingComputer8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(GenHammingComputer8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_GenHammingComputer8(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.GenHammingComputer8_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.GenHammingComputer8_a0_get(swigCPtr, this);
}
public GenHammingComputer8(SWIGTYPE_p_unsigned_char a, int code_size) {
this(swigfaissJNI.new_GenHammingComputer8(SWIGTYPE_p_unsigned_char.getCPtr(a), code_size), true);
}
public int hamming(SWIGTYPE_p_unsigned_char b) {
return swigfaissJNI.GenHammingComputer8_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputerM8.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class GenHammingComputerM8 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected GenHammingComputerM8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(GenHammingComputerM8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_GenHammingComputerM8(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA(SWIGTYPE_p_unsigned_long value) {
swigfaissJNI.GenHammingComputerM8_a_set(swigCPtr, this, SWIGTYPE_p_unsigned_long.getCPtr(value));
}
public SWIGTYPE_p_unsigned_long getA() {
long cPtr = swigfaissJNI.GenHammingComputerM8_a_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_long(cPtr, false);
}
public void setN(int value) {
swigfaissJNI.GenHammingComputerM8_n_set(swigCPtr, this, value);
}
public int getN() {
return swigfaissJNI.GenHammingComputerM8_n_get(swigCPtr, this);
}
public GenHammingComputerM8(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_GenHammingComputerM8(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.GenHammingComputerM8_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HNSW.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HNSW {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HNSW(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HNSW obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HNSW(swigCPtr);
}
swigCPtr = 0;
}
}
static public class MinimaxHeap {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected MinimaxHeap(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(MinimaxHeap obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HNSW_MinimaxHeap(swigCPtr);
}
swigCPtr = 0;
}
}
public void setN(int value) {
swigfaissJNI.HNSW_MinimaxHeap_n_set(swigCPtr, this, value);
}
public int getN() {
return swigfaissJNI.HNSW_MinimaxHeap_n_get(swigCPtr, this);
}
public void setK(int value) {
swigfaissJNI.HNSW_MinimaxHeap_k_set(swigCPtr, this, value);
}
public int getK() {
return swigfaissJNI.HNSW_MinimaxHeap_k_get(swigCPtr, this);
}
public void setNvalid(int value) {
swigfaissJNI.HNSW_MinimaxHeap_nvalid_set(swigCPtr, this, value);
}
public int getNvalid() {
return swigfaissJNI.HNSW_MinimaxHeap_nvalid_get(swigCPtr, this);
}
public void setIds(IntVector value) {
swigfaissJNI.HNSW_MinimaxHeap_ids_set(swigCPtr, this, IntVector.getCPtr(value), value);
}
public IntVector getIds() {
long cPtr = swigfaissJNI.HNSW_MinimaxHeap_ids_get(swigCPtr, this);
return (cPtr == 0) ? null : new IntVector(cPtr, false);
}
public void setDis(FloatVector value) {
swigfaissJNI.HNSW_MinimaxHeap_dis_set(swigCPtr, this, FloatVector.getCPtr(value), value);
}
public FloatVector getDis() {
long cPtr = swigfaissJNI.HNSW_MinimaxHeap_dis_get(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public MinimaxHeap(int n) {
this(swigfaissJNI.new_HNSW_MinimaxHeap(n), true);
}
public void push(int i, float v) {
swigfaissJNI.HNSW_MinimaxHeap_push(swigCPtr, this, i, v);
}
public float max() {
return swigfaissJNI.HNSW_MinimaxHeap_max(swigCPtr, this);
}
public int size() {
return swigfaissJNI.HNSW_MinimaxHeap_size(swigCPtr, this);
}
public void clear() {
swigfaissJNI.HNSW_MinimaxHeap_clear(swigCPtr, this);
}
public int pop_min(SWIGTYPE_p_float vmin_out) {
return swigfaissJNI.HNSW_MinimaxHeap_pop_min__SWIG_0(swigCPtr, this, SWIGTYPE_p_float.getCPtr(vmin_out));
}
public int pop_min() {
return swigfaissJNI.HNSW_MinimaxHeap_pop_min__SWIG_1(swigCPtr, this);
}
public int count_below(float thresh) {
return swigfaissJNI.HNSW_MinimaxHeap_count_below(swigCPtr, this, thresh);
}
}
static public class NodeDistCloser {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected NodeDistCloser(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(NodeDistCloser obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HNSW_NodeDistCloser(swigCPtr);
}
swigCPtr = 0;
}
}
public void setD(float value) {
swigfaissJNI.HNSW_NodeDistCloser_d_set(swigCPtr, this, value);
}
public float getD() {
return swigfaissJNI.HNSW_NodeDistCloser_d_get(swigCPtr, this);
}
public void setId(int value) {
swigfaissJNI.HNSW_NodeDistCloser_id_set(swigCPtr, this, value);
}
public int getId() {
return swigfaissJNI.HNSW_NodeDistCloser_id_get(swigCPtr, this);
}
public NodeDistCloser(float d, int id) {
this(swigfaissJNI.new_HNSW_NodeDistCloser(d, id), true);
}
}
static public class NodeDistFarther {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected NodeDistFarther(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(NodeDistFarther obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HNSW_NodeDistFarther(swigCPtr);
}
swigCPtr = 0;
}
}
public void setD(float value) {
swigfaissJNI.HNSW_NodeDistFarther_d_set(swigCPtr, this, value);
}
public float getD() {
return swigfaissJNI.HNSW_NodeDistFarther_d_get(swigCPtr, this);
}
public void setId(int value) {
swigfaissJNI.HNSW_NodeDistFarther_id_set(swigCPtr, this, value);
}
public int getId() {
return swigfaissJNI.HNSW_NodeDistFarther_id_get(swigCPtr, this);
}
public NodeDistFarther(float d, int id) {
this(swigfaissJNI.new_HNSW_NodeDistFarther(d, id), true);
}
}
public void setAssign_probas(DoubleVector value) {
swigfaissJNI.HNSW_assign_probas_set(swigCPtr, this, DoubleVector.getCPtr(value), value);
}
public DoubleVector getAssign_probas() {
long cPtr = swigfaissJNI.HNSW_assign_probas_get(swigCPtr, this);
return (cPtr == 0) ? null : new DoubleVector(cPtr, false);
}
public void setCum_nneighbor_per_level(IntVector value) {
swigfaissJNI.HNSW_cum_nneighbor_per_level_set(swigCPtr, this, IntVector.getCPtr(value), value);
}
public IntVector getCum_nneighbor_per_level() {
long cPtr = swigfaissJNI.HNSW_cum_nneighbor_per_level_get(swigCPtr, this);
return (cPtr == 0) ? null : new IntVector(cPtr, false);
}
public void setLevels(IntVector value) {
swigfaissJNI.HNSW_levels_set(swigCPtr, this, IntVector.getCPtr(value), value);
}
public IntVector getLevels() {
long cPtr = swigfaissJNI.HNSW_levels_get(swigCPtr, this);
return (cPtr == 0) ? null : new IntVector(cPtr, false);
}
public void setOffsets(Uint64Vector value) {
swigfaissJNI.HNSW_offsets_set(swigCPtr, this, Uint64Vector.getCPtr(value), value);
}
public Uint64Vector getOffsets() {
long cPtr = swigfaissJNI.HNSW_offsets_get(swigCPtr, this);
return (cPtr == 0) ? null : new Uint64Vector(cPtr, false);
}
public void setNeighbors(IntVector value) {
swigfaissJNI.HNSW_neighbors_set(swigCPtr, this, IntVector.getCPtr(value), value);
}
public IntVector getNeighbors() {
long cPtr = swigfaissJNI.HNSW_neighbors_get(swigCPtr, this);
return (cPtr == 0) ? null : new IntVector(cPtr, false);
}
public void setEntry_point(int value) {
swigfaissJNI.HNSW_entry_point_set(swigCPtr, this, value);
}
public int getEntry_point() {
return swigfaissJNI.HNSW_entry_point_get(swigCPtr, this);
}
public void setRng(SWIGTYPE_p_faiss__RandomGenerator value) {
swigfaissJNI.HNSW_rng_set(swigCPtr, this, SWIGTYPE_p_faiss__RandomGenerator.getCPtr(value));
}
public SWIGTYPE_p_faiss__RandomGenerator getRng() {
long cPtr = swigfaissJNI.HNSW_rng_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_faiss__RandomGenerator(cPtr, false);
}
public void setMax_level(int value) {
swigfaissJNI.HNSW_max_level_set(swigCPtr, this, value);
}
public int getMax_level() {
return swigfaissJNI.HNSW_max_level_get(swigCPtr, this);
}
public void setEfConstruction(int value) {
swigfaissJNI.HNSW_efConstruction_set(swigCPtr, this, value);
}
public int getEfConstruction() {
return swigfaissJNI.HNSW_efConstruction_get(swigCPtr, this);
}
public void setEfSearch(int value) {
swigfaissJNI.HNSW_efSearch_set(swigCPtr, this, value);
}
public int getEfSearch() {
return swigfaissJNI.HNSW_efSearch_get(swigCPtr, this);
}
public void setCheck_relative_distance(boolean value) {
swigfaissJNI.HNSW_check_relative_distance_set(swigCPtr, this, value);
}
public boolean getCheck_relative_distance() {
return swigfaissJNI.HNSW_check_relative_distance_get(swigCPtr, this);
}
public void setUpper_beam(int value) {
swigfaissJNI.HNSW_upper_beam_set(swigCPtr, this, value);
}
public int getUpper_beam() {
return swigfaissJNI.HNSW_upper_beam_get(swigCPtr, this);
}
public void setSearch_bounded_queue(boolean value) {
swigfaissJNI.HNSW_search_bounded_queue_set(swigCPtr, this, value);
}
public boolean getSearch_bounded_queue() {
return swigfaissJNI.HNSW_search_bounded_queue_get(swigCPtr, this);
}
public void set_default_probas(int M, float levelMult) {
swigfaissJNI.HNSW_set_default_probas(swigCPtr, this, M, levelMult);
}
public void set_nb_neighbors(int level_no, int n) {
swigfaissJNI.HNSW_set_nb_neighbors(swigCPtr, this, level_no, n);
}
public int nb_neighbors(int layer_no) {
return swigfaissJNI.HNSW_nb_neighbors(swigCPtr, this, layer_no);
}
public int cum_nb_neighbors(int layer_no) {
return swigfaissJNI.HNSW_cum_nb_neighbors(swigCPtr, this, layer_no);
}
public void neighbor_range(long no, int layer_no, SWIGTYPE_p_unsigned_long begin, SWIGTYPE_p_unsigned_long end) {
swigfaissJNI.HNSW_neighbor_range(swigCPtr, this, no, layer_no, SWIGTYPE_p_unsigned_long.getCPtr(begin), SWIGTYPE_p_unsigned_long.getCPtr(end));
}
public HNSW(int M) {
this(swigfaissJNI.new_HNSW__SWIG_0(M), true);
}
public HNSW() {
this(swigfaissJNI.new_HNSW__SWIG_1(), true);
}
public int random_level() {
return swigfaissJNI.HNSW_random_level(swigCPtr, this);
}
public void fill_with_random_links(long n) {
swigfaissJNI.HNSW_fill_with_random_links(swigCPtr, this, n);
}
public void add_links_starting_from(DistanceComputer ptdis, int pt_id, int nearest, float d_nearest, int level, SWIGTYPE_p_omp_lock_t locks, VisitedTable vt) {
swigfaissJNI.HNSW_add_links_starting_from(swigCPtr, this, DistanceComputer.getCPtr(ptdis), ptdis, pt_id, nearest, d_nearest, level, SWIGTYPE_p_omp_lock_t.getCPtr(locks), VisitedTable.getCPtr(vt), vt);
}
public void add_with_locks(DistanceComputer ptdis, int pt_level, int pt_id, SWIGTYPE_p_std__vectorT_omp_lock_t_t locks, VisitedTable vt) {
swigfaissJNI.HNSW_add_with_locks(swigCPtr, this, DistanceComputer.getCPtr(ptdis), ptdis, pt_level, pt_id, SWIGTYPE_p_std__vectorT_omp_lock_t_t.getCPtr(locks), VisitedTable.getCPtr(vt), vt);
}
public int search_from_candidates(DistanceComputer qdis, int k, LongVector I, SWIGTYPE_p_float D, HNSW.MinimaxHeap candidates, VisitedTable vt, HNSWStats stats, int level, int nres_in) {
return swigfaissJNI.HNSW_search_from_candidates__SWIG_0(swigCPtr, this, DistanceComputer.getCPtr(qdis), qdis, k, SWIGTYPE_p_long_long.getCPtr(I.data()), I, SWIGTYPE_p_float.getCPtr(D), HNSW.MinimaxHeap.getCPtr(candidates), candidates, VisitedTable.getCPtr(vt), vt, HNSWStats.getCPtr(stats), stats, level, nres_in);
}
public int search_from_candidates(DistanceComputer qdis, int k, LongVector I, SWIGTYPE_p_float D, HNSW.MinimaxHeap candidates, VisitedTable vt, HNSWStats stats, int level) {
return swigfaissJNI.HNSW_search_from_candidates__SWIG_1(swigCPtr, this, DistanceComputer.getCPtr(qdis), qdis, k, SWIGTYPE_p_long_long.getCPtr(I.data()), I, SWIGTYPE_p_float.getCPtr(D), HNSW.MinimaxHeap.getCPtr(candidates), candidates, VisitedTable.getCPtr(vt), vt, HNSWStats.getCPtr(stats), stats, level);
}
public SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t search_from_candidate_unbounded(SWIGTYPE_p_std__pairT_float_int_t node, DistanceComputer qdis, int ef, VisitedTable vt, HNSWStats stats) {
return new SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t(swigfaissJNI.HNSW_search_from_candidate_unbounded(swigCPtr, this, SWIGTYPE_p_std__pairT_float_int_t.getCPtr(node), DistanceComputer.getCPtr(qdis), qdis, ef, VisitedTable.getCPtr(vt), vt, HNSWStats.getCPtr(stats), stats), true);
}
public HNSWStats search(DistanceComputer qdis, int k, LongVector I, SWIGTYPE_p_float D, VisitedTable vt) {
return new HNSWStats(swigfaissJNI.HNSW_search(swigCPtr, this, DistanceComputer.getCPtr(qdis), qdis, k, SWIGTYPE_p_long_long.getCPtr(I.data()), I, SWIGTYPE_p_float.getCPtr(D), VisitedTable.getCPtr(vt), vt), true);
}
public void reset() {
swigfaissJNI.HNSW_reset(swigCPtr, this);
}
public void clear_neighbor_tables(int level) {
swigfaissJNI.HNSW_clear_neighbor_tables(swigCPtr, this, level);
}
public void print_neighbor_stats(int level) {
swigfaissJNI.HNSW_print_neighbor_stats(swigCPtr, this, level);
}
public int prepare_level_tab(long n, boolean preset_levels) {
return swigfaissJNI.HNSW_prepare_level_tab__SWIG_0(swigCPtr, this, n, preset_levels);
}
public int prepare_level_tab(long n) {
return swigfaissJNI.HNSW_prepare_level_tab__SWIG_1(swigCPtr, this, n);
}
public static void shrink_neighbor_list(DistanceComputer qdis, SWIGTYPE_p_std__priority_queueT_faiss__HNSW__NodeDistFarther_t input, SWIGTYPE_p_std__vectorT_faiss__HNSW__NodeDistFarther_t output, int max_size) {
swigfaissJNI.HNSW_shrink_neighbor_list(DistanceComputer.getCPtr(qdis), qdis, SWIGTYPE_p_std__priority_queueT_faiss__HNSW__NodeDistFarther_t.getCPtr(input), SWIGTYPE_p_std__vectorT_faiss__HNSW__NodeDistFarther_t.getCPtr(output), max_size);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HNSWStats.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HNSWStats {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HNSWStats(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HNSWStats obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HNSWStats(swigCPtr);
}
swigCPtr = 0;
}
}
public void setN1(long value) {
swigfaissJNI.HNSWStats_n1_set(swigCPtr, this, value);
}
public long getN1() {
return swigfaissJNI.HNSWStats_n1_get(swigCPtr, this);
}
public void setN2(long value) {
swigfaissJNI.HNSWStats_n2_set(swigCPtr, this, value);
}
public long getN2() {
return swigfaissJNI.HNSWStats_n2_get(swigCPtr, this);
}
public void setN3(long value) {
swigfaissJNI.HNSWStats_n3_set(swigCPtr, this, value);
}
public long getN3() {
return swigfaissJNI.HNSWStats_n3_get(swigCPtr, this);
}
public void setNdis(long value) {
swigfaissJNI.HNSWStats_ndis_set(swigCPtr, this, value);
}
public long getNdis() {
return swigfaissJNI.HNSWStats_ndis_get(swigCPtr, this);
}
public void setNreorder(long value) {
swigfaissJNI.HNSWStats_nreorder_set(swigCPtr, this, value);
}
public long getNreorder() {
return swigfaissJNI.HNSWStats_nreorder_get(swigCPtr, this);
}
public HNSWStats(long n1, long n2, long n3, long ndis, long nreorder) {
this(swigfaissJNI.new_HNSWStats__SWIG_0(n1, n2, n3, ndis, nreorder), true);
}
public HNSWStats(long n1, long n2, long n3, long ndis) {
this(swigfaissJNI.new_HNSWStats__SWIG_1(n1, n2, n3, ndis), true);
}
public HNSWStats(long n1, long n2, long n3) {
this(swigfaissJNI.new_HNSWStats__SWIG_2(n1, n2, n3), true);
}
public HNSWStats(long n1, long n2) {
this(swigfaissJNI.new_HNSWStats__SWIG_3(n1, n2), true);
}
public HNSWStats(long n1) {
this(swigfaissJNI.new_HNSWStats__SWIG_4(n1), true);
}
public HNSWStats() {
this(swigfaissJNI.new_HNSWStats__SWIG_5(), true);
}
public void reset() {
swigfaissJNI.HNSWStats_reset(swigCPtr, this);
}
public void combine(HNSWStats other) {
swigfaissJNI.HNSWStats_combine(swigCPtr, this, HNSWStats.getCPtr(other), other);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HStackInvertedLists.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HStackInvertedLists extends ReadOnlyInvertedLists {
private transient long swigCPtr;
protected HStackInvertedLists(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.HStackInvertedLists_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(HStackInvertedLists obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HStackInvertedLists(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setIls(SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t value) {
swigfaissJNI.HStackInvertedLists_ils_set(swigCPtr, this, SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t.getCPtr(value));
}
public SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t getIls() {
long cPtr = swigfaissJNI.HStackInvertedLists_ils_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t(cPtr, false);
}
public HStackInvertedLists(int nil, SWIGTYPE_p_p_faiss__InvertedLists ils) {
this(swigfaissJNI.new_HStackInvertedLists(nil, SWIGTYPE_p_p_faiss__InvertedLists.getCPtr(ils)), true);
}
public long list_size(long list_no) {
return swigfaissJNI.HStackInvertedLists_list_size(swigCPtr, this, list_no);
}
public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
long cPtr = swigfaissJNI.HStackInvertedLists_get_codes(swigCPtr, this, list_no);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public LongVector get_ids(long list_no) {
return new LongVector(swigfaissJNI.HStackInvertedLists_get_ids(swigCPtr, this, list_no), false);
}
public void prefetch_lists(LongVector list_nos, int nlist) {
swigfaissJNI.HStackInvertedLists_prefetch_lists(swigCPtr, this, SWIGTYPE_p_long_long.getCPtr(list_nos.data()), list_nos, nlist);
}
public void release_codes(long list_no, SWIGTYPE_p_unsigned_char codes) {
swigfaissJNI.HStackInvertedLists_release_codes(swigCPtr, this, list_no, SWIGTYPE_p_unsigned_char.getCPtr(codes));
}
public void release_ids(long list_no, LongVector ids) {
swigfaissJNI.HStackInvertedLists_release_ids(swigCPtr, this, list_no, SWIGTYPE_p_long_long.getCPtr(ids.data()), ids);
}
public long get_single_id(long list_no, long offset) {
return swigfaissJNI.HStackInvertedLists_get_single_id(swigCPtr, this, list_no, offset);
}
public SWIGTYPE_p_unsigned_char get_single_code(long list_no, long offset) {
long cPtr = swigfaissJNI.HStackInvertedLists_get_single_code(swigCPtr, this, list_no, offset);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer16.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer16 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer16(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer16 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer16(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.HammingComputer16_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.HammingComputer16_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.HammingComputer16_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.HammingComputer16_a1_get(swigCPtr, this);
}
public HammingComputer16() {
this(swigfaissJNI.new_HammingComputer16__SWIG_0(), true);
}
public HammingComputer16(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputer16__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputer16_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputer16_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer20.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer20 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer20(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer20 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer20(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.HammingComputer20_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.HammingComputer20_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.HammingComputer20_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.HammingComputer20_a1_get(swigCPtr, this);
}
public void setA2(SWIGTYPE_p_uint32_t value) {
swigfaissJNI.HammingComputer20_a2_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getA2() {
return new SWIGTYPE_p_uint32_t(swigfaissJNI.HammingComputer20_a2_get(swigCPtr, this), true);
}
public HammingComputer20() {
this(swigfaissJNI.new_HammingComputer20__SWIG_0(), true);
}
public HammingComputer20(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputer20__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputer20_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputer20_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer32.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer32 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer32(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer32 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer32(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.HammingComputer32_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.HammingComputer32_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.HammingComputer32_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.HammingComputer32_a1_get(swigCPtr, this);
}
public void setA2(long value) {
swigfaissJNI.HammingComputer32_a2_set(swigCPtr, this, value);
}
public long getA2() {
return swigfaissJNI.HammingComputer32_a2_get(swigCPtr, this);
}
public void setA3(long value) {
swigfaissJNI.HammingComputer32_a3_set(swigCPtr, this, value);
}
public long getA3() {
return swigfaissJNI.HammingComputer32_a3_get(swigCPtr, this);
}
public HammingComputer32() {
this(swigfaissJNI.new_HammingComputer32__SWIG_0(), true);
}
public HammingComputer32(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputer32__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputer32_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputer32_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer4.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer4 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer4(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer4 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer4(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(SWIGTYPE_p_uint32_t value) {
swigfaissJNI.HammingComputer4_a0_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getA0() {
return new SWIGTYPE_p_uint32_t(swigfaissJNI.HammingComputer4_a0_get(swigCPtr, this), true);
}
public HammingComputer4() {
this(swigfaissJNI.new_HammingComputer4__SWIG_0(), true);
}
public HammingComputer4(SWIGTYPE_p_unsigned_char a, int code_size) {
this(swigfaissJNI.new_HammingComputer4__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a, int code_size) {
swigfaissJNI.HammingComputer4_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b) {
return swigfaissJNI.HammingComputer4_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer64.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer64 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer64(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer64 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer64(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.HammingComputer64_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.HammingComputer64_a0_get(swigCPtr, this);
}
public void setA1(long value) {
swigfaissJNI.HammingComputer64_a1_set(swigCPtr, this, value);
}
public long getA1() {
return swigfaissJNI.HammingComputer64_a1_get(swigCPtr, this);
}
public void setA2(long value) {
swigfaissJNI.HammingComputer64_a2_set(swigCPtr, this, value);
}
public long getA2() {
return swigfaissJNI.HammingComputer64_a2_get(swigCPtr, this);
}
public void setA3(long value) {
swigfaissJNI.HammingComputer64_a3_set(swigCPtr, this, value);
}
public long getA3() {
return swigfaissJNI.HammingComputer64_a3_get(swigCPtr, this);
}
public void setA4(long value) {
swigfaissJNI.HammingComputer64_a4_set(swigCPtr, this, value);
}
public long getA4() {
return swigfaissJNI.HammingComputer64_a4_get(swigCPtr, this);
}
public void setA5(long value) {
swigfaissJNI.HammingComputer64_a5_set(swigCPtr, this, value);
}
public long getA5() {
return swigfaissJNI.HammingComputer64_a5_get(swigCPtr, this);
}
public void setA6(long value) {
swigfaissJNI.HammingComputer64_a6_set(swigCPtr, this, value);
}
public long getA6() {
return swigfaissJNI.HammingComputer64_a6_get(swigCPtr, this);
}
public void setA7(long value) {
swigfaissJNI.HammingComputer64_a7_set(swigCPtr, this, value);
}
public long getA7() {
return swigfaissJNI.HammingComputer64_a7_get(swigCPtr, this);
}
public HammingComputer64() {
this(swigfaissJNI.new_HammingComputer64__SWIG_0(), true);
}
public HammingComputer64(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputer64__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputer64_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputer64_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer8.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputer8 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputer8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputer8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputer8(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA0(long value) {
swigfaissJNI.HammingComputer8_a0_set(swigCPtr, this, value);
}
public long getA0() {
return swigfaissJNI.HammingComputer8_a0_get(swigCPtr, this);
}
public HammingComputer8() {
this(swigfaissJNI.new_HammingComputer8__SWIG_0(), true);
}
public HammingComputer8(SWIGTYPE_p_unsigned_char a, int code_size) {
this(swigfaissJNI.new_HammingComputer8__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a, int code_size) {
swigfaissJNI.HammingComputer8_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b) {
return swigfaissJNI.HammingComputer8_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerDefault.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputerDefault {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputerDefault(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputerDefault obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputerDefault(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA8(SWIGTYPE_p_unsigned_char value) {
swigfaissJNI.HammingComputerDefault_a8_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(value));
}
public SWIGTYPE_p_unsigned_char getA8() {
long cPtr = swigfaissJNI.HammingComputerDefault_a8_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public void setQuotient8(int value) {
swigfaissJNI.HammingComputerDefault_quotient8_set(swigCPtr, this, value);
}
public int getQuotient8() {
return swigfaissJNI.HammingComputerDefault_quotient8_get(swigCPtr, this);
}
public void setRemainder8(int value) {
swigfaissJNI.HammingComputerDefault_remainder8_set(swigCPtr, this, value);
}
public int getRemainder8() {
return swigfaissJNI.HammingComputerDefault_remainder8_get(swigCPtr, this);
}
public HammingComputerDefault() {
this(swigfaissJNI.new_HammingComputerDefault__SWIG_0(), true);
}
public HammingComputerDefault(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputerDefault__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputerDefault_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputerDefault_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM4.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputerM4 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputerM4(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputerM4 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputerM4(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA(SWIGTYPE_p_uint32_t value) {
swigfaissJNI.HammingComputerM4_a_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getA() {
long cPtr = swigfaissJNI.HammingComputerM4_a_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_uint32_t(cPtr, false);
}
public void setN(int value) {
swigfaissJNI.HammingComputerM4_n_set(swigCPtr, this, value);
}
public int getN() {
return swigfaissJNI.HammingComputerM4_n_get(swigCPtr, this);
}
public HammingComputerM4() {
this(swigfaissJNI.new_HammingComputerM4__SWIG_0(), true);
}
public HammingComputerM4(SWIGTYPE_p_unsigned_char a4, int code_size) {
this(swigfaissJNI.new_HammingComputerM4__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a4), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a4, int code_size) {
swigfaissJNI.HammingComputerM4_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a4), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputerM4_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM8.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class HammingComputerM8 {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected HammingComputerM8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(HammingComputerM8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_HammingComputerM8(swigCPtr);
}
swigCPtr = 0;
}
}
public void setA(SWIGTYPE_p_unsigned_long value) {
swigfaissJNI.HammingComputerM8_a_set(swigCPtr, this, SWIGTYPE_p_unsigned_long.getCPtr(value));
}
public SWIGTYPE_p_unsigned_long getA() {
long cPtr = swigfaissJNI.HammingComputerM8_a_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_long(cPtr, false);
}
public void setN(int value) {
swigfaissJNI.HammingComputerM8_n_set(swigCPtr, this, value);
}
public int getN() {
return swigfaissJNI.HammingComputerM8_n_get(swigCPtr, this);
}
public HammingComputerM8() {
this(swigfaissJNI.new_HammingComputerM8__SWIG_0(), true);
}
public HammingComputerM8(SWIGTYPE_p_unsigned_char a8, int code_size) {
this(swigfaissJNI.new_HammingComputerM8__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size), true);
}
public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
swigfaissJNI.HammingComputerM8_set(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(a8), code_size);
}
public int hamming(SWIGTYPE_p_unsigned_char b8) {
return swigfaissJNI.HammingComputerM8_hamming(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(b8));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelector.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IDSelector {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IDSelector(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IDSelector obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IDSelector(swigCPtr);
}
swigCPtr = 0;
}
}
public boolean is_member(long id) {
return swigfaissJNI.IDSelector_is_member(swigCPtr, this, id);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorArray.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IDSelectorArray extends IDSelector {
private transient long swigCPtr;
protected IDSelectorArray(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IDSelectorArray_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IDSelectorArray obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IDSelectorArray(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setN(long value) {
swigfaissJNI.IDSelectorArray_n_set(swigCPtr, this, value);
}
public long getN() {
return swigfaissJNI.IDSelectorArray_n_get(swigCPtr, this);
}
public void setIds(LongVector value) {
swigfaissJNI.IDSelectorArray_ids_set(swigCPtr, this, SWIGTYPE_p_long_long.getCPtr(value.data()), value);
}
public LongVector getIds() {
return new LongVector(swigfaissJNI.IDSelectorArray_ids_get(swigCPtr, this), false);
}
public IDSelectorArray(long n, LongVector ids) {
this(swigfaissJNI.new_IDSelectorArray(n, SWIGTYPE_p_long_long.getCPtr(ids.data()), ids), true);
}
public boolean is_member(long id) {
return swigfaissJNI.IDSelectorArray_is_member(swigCPtr, this, id);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorBatch.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IDSelectorBatch extends IDSelector {
private transient long swigCPtr;
protected IDSelectorBatch(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IDSelectorBatch_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IDSelectorBatch obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IDSelectorBatch(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setNbits(int value) {
swigfaissJNI.IDSelectorBatch_nbits_set(swigCPtr, this, value);
}
public int getNbits() {
return swigfaissJNI.IDSelectorBatch_nbits_get(swigCPtr, this);
}
public void setMask(long value) {
swigfaissJNI.IDSelectorBatch_mask_set(swigCPtr, this, value);
}
public long getMask() {
return swigfaissJNI.IDSelectorBatch_mask_get(swigCPtr, this);
}
public IDSelectorBatch(long n, LongVector indices) {
this(swigfaissJNI.new_IDSelectorBatch(n, SWIGTYPE_p_long_long.getCPtr(indices.data()), indices), true);
}
public boolean is_member(long id) {
return swigfaissJNI.IDSelectorBatch_is_member(swigCPtr, this, id);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorRange.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IDSelectorRange extends IDSelector {
private transient long swigCPtr;
protected IDSelectorRange(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IDSelectorRange_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IDSelectorRange obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IDSelectorRange(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setImin(long value) {
swigfaissJNI.IDSelectorRange_imin_set(swigCPtr, this, value);
}
public long getImin() {
return swigfaissJNI.IDSelectorRange_imin_get(swigCPtr, this);
}
public void setImax(long value) {
swigfaissJNI.IDSelectorRange_imax_set(swigCPtr, this, value);
}
public long getImax() {
return swigfaissJNI.IDSelectorRange_imax_get(swigCPtr, this);
}
public IDSelectorRange(long imin, long imax) {
this(swigfaissJNI.new_IDSelectorRange(imin, imax), true);
}
public boolean is_member(long id) {
return swigfaissJNI.IDSelectorRange_is_member(swigCPtr, this, id);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ITQMatrix.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ITQMatrix extends LinearTransform {
private transient long swigCPtr;
protected ITQMatrix(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.ITQMatrix_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(ITQMatrix obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ITQMatrix(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setMax_iter(int value) {
swigfaissJNI.ITQMatrix_max_iter_set(swigCPtr, this, value);
}
public int getMax_iter() {
return swigfaissJNI.ITQMatrix_max_iter_get(swigCPtr, this);
}
public void setSeed(int value) {
swigfaissJNI.ITQMatrix_seed_set(swigCPtr, this, value);
}
public int getSeed() {
return swigfaissJNI.ITQMatrix_seed_get(swigCPtr, this);
}
public void setInit_rotation(DoubleVector value) {
swigfaissJNI.ITQMatrix_init_rotation_set(swigCPtr, this, DoubleVector.getCPtr(value), value);
}
public DoubleVector getInit_rotation() {
long cPtr = swigfaissJNI.ITQMatrix_init_rotation_get(swigCPtr, this);
return (cPtr == 0) ? null : new DoubleVector(cPtr, false);
}
public ITQMatrix(int d) {
this(swigfaissJNI.new_ITQMatrix__SWIG_0(d), true);
}
public ITQMatrix() {
this(swigfaissJNI.new_ITQMatrix__SWIG_1(), true);
}
public void train(long n, SWIGTYPE_p_float x) {
swigfaissJNI.ITQMatrix_train(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ITQTransform.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class ITQTransform extends VectorTransform {
private transient long swigCPtr;
protected ITQTransform(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.ITQTransform_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(ITQTransform obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_ITQTransform(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setMean(FloatVector value) {
swigfaissJNI.ITQTransform_mean_set(swigCPtr, this, FloatVector.getCPtr(value), value);
}
public FloatVector getMean() {
long cPtr = swigfaissJNI.ITQTransform_mean_get(swigCPtr, this);
return (cPtr == 0) ? null : new FloatVector(cPtr, false);
}
public void setDo_pca(boolean value) {
swigfaissJNI.ITQTransform_do_pca_set(swigCPtr, this, value);
}
public boolean getDo_pca() {
return swigfaissJNI.ITQTransform_do_pca_get(swigCPtr, this);
}
public void setItq(ITQMatrix value) {
swigfaissJNI.ITQTransform_itq_set(swigCPtr, this, ITQMatrix.getCPtr(value), value);
}
public ITQMatrix getItq() {
long cPtr = swigfaissJNI.ITQTransform_itq_get(swigCPtr, this);
return (cPtr == 0) ? null : new ITQMatrix(cPtr, false);
}
public void setMax_train_per_dim(int value) {
swigfaissJNI.ITQTransform_max_train_per_dim_set(swigCPtr, this, value);
}
public int getMax_train_per_dim() {
return swigfaissJNI.ITQTransform_max_train_per_dim_get(swigCPtr, this);
}
public void setPca_then_itq(LinearTransform value) {
swigfaissJNI.ITQTransform_pca_then_itq_set(swigCPtr, this, LinearTransform.getCPtr(value), value);
}
public LinearTransform getPca_then_itq() {
long cPtr = swigfaissJNI.ITQTransform_pca_then_itq_get(swigCPtr, this);
return (cPtr == 0) ? null : new LinearTransform(cPtr, false);
}
public ITQTransform(int d_in, int d_out, boolean do_pca) {
this(swigfaissJNI.new_ITQTransform__SWIG_0(d_in, d_out, do_pca), true);
}
public ITQTransform(int d_in, int d_out) {
this(swigfaissJNI.new_ITQTransform__SWIG_1(d_in, d_out), true);
}
public ITQTransform(int d_in) {
this(swigfaissJNI.new_ITQTransform__SWIG_2(d_in), true);
}
public ITQTransform() {
this(swigfaissJNI.new_ITQTransform__SWIG_3(), true);
}
public void train(long n, SWIGTYPE_p_float x) {
swigfaissJNI.ITQTransform_train(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float xt) {
swigfaissJNI.ITQTransform_apply_noalloc(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_float.getCPtr(xt));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IVFPQSearchParameters.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IVFPQSearchParameters extends IVFSearchParameters {
private transient long swigCPtr;
protected IVFPQSearchParameters(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IVFPQSearchParameters_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IVFPQSearchParameters obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IVFPQSearchParameters(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setScan_table_threshold(long value) {
swigfaissJNI.IVFPQSearchParameters_scan_table_threshold_set(swigCPtr, this, value);
}
public long getScan_table_threshold() {
return swigfaissJNI.IVFPQSearchParameters_scan_table_threshold_get(swigCPtr, this);
}
public void setPolysemous_ht(int value) {
swigfaissJNI.IVFPQSearchParameters_polysemous_ht_set(swigCPtr, this, value);
}
public int getPolysemous_ht() {
return swigfaissJNI.IVFPQSearchParameters_polysemous_ht_get(swigCPtr, this);
}
public IVFPQSearchParameters() {
this(swigfaissJNI.new_IVFPQSearchParameters(), true);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IVFSearchParameters.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IVFSearchParameters {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IVFSearchParameters(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IVFSearchParameters obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IVFSearchParameters(swigCPtr);
}
swigCPtr = 0;
}
}
public void setNprobe(long value) {
swigfaissJNI.IVFSearchParameters_nprobe_set(swigCPtr, this, value);
}
public long getNprobe() {
return swigfaissJNI.IVFSearchParameters_nprobe_get(swigCPtr, this);
}
public void setMax_codes(long value) {
swigfaissJNI.IVFSearchParameters_max_codes_set(swigCPtr, this, value);
}
public long getMax_codes() {
return swigfaissJNI.IVFSearchParameters_max_codes_get(swigCPtr, this);
}
public IVFSearchParameters() {
this(swigfaissJNI.new_IVFSearchParameters(), true);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Index.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class Index {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Index(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Index obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_Index(swigCPtr);
}
swigCPtr = 0;
}
}
public void setD(int value) {
swigfaissJNI.Index_d_set(swigCPtr, this, value);
}
public int getD() {
return swigfaissJNI.Index_d_get(swigCPtr, this);
}
public void setNtotal(long value) {
swigfaissJNI.Index_ntotal_set(swigCPtr, this, value);
}
public long getNtotal() {
return swigfaissJNI.Index_ntotal_get(swigCPtr, this);
}
public void setVerbose(boolean value) {
swigfaissJNI.Index_verbose_set(swigCPtr, this, value);
}
public boolean getVerbose() {
return swigfaissJNI.Index_verbose_get(swigCPtr, this);
}
public void setIs_trained(boolean value) {
swigfaissJNI.Index_is_trained_set(swigCPtr, this, value);
}
public boolean getIs_trained() {
return swigfaissJNI.Index_is_trained_get(swigCPtr, this);
}
public void setMetric_type(MetricType value) {
swigfaissJNI.Index_metric_type_set(swigCPtr, this, value.swigValue());
}
public MetricType getMetric_type() {
return MetricType.swigToEnum(swigfaissJNI.Index_metric_type_get(swigCPtr, this));
}
public void setMetric_arg(float value) {
swigfaissJNI.Index_metric_arg_set(swigCPtr, this, value);
}
public float getMetric_arg() {
return swigfaissJNI.Index_metric_arg_get(swigCPtr, this);
}
public void train(long n, SWIGTYPE_p_float x) {
swigfaissJNI.Index_train(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
public void add(long n, SWIGTYPE_p_float x) {
swigfaissJNI.Index_add(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
swigfaissJNI.Index_add_with_ids(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(xids.data()), xids);
}
public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_float distances, LongVector labels) {
swigfaissJNI.Index_search(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), k, SWIGTYPE_p_float.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void range_search(long n, SWIGTYPE_p_float x, float radius, RangeSearchResult result) {
swigfaissJNI.Index_range_search(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), radius, RangeSearchResult.getCPtr(result), result);
}
public void assign(long n, SWIGTYPE_p_float x, LongVector labels, long k) {
swigfaissJNI.Index_assign__SWIG_0(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels, k);
}
public void assign(long n, SWIGTYPE_p_float x, LongVector labels) {
swigfaissJNI.Index_assign__SWIG_1(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void reset() {
swigfaissJNI.Index_reset(swigCPtr, this);
}
public long remove_ids(IDSelector sel) {
return swigfaissJNI.Index_remove_ids(swigCPtr, this, IDSelector.getCPtr(sel), sel);
}
public void reconstruct(long key, SWIGTYPE_p_float recons) {
swigfaissJNI.Index_reconstruct(swigCPtr, this, key, SWIGTYPE_p_float.getCPtr(recons));
}
public void reconstruct_n(long i0, long ni, SWIGTYPE_p_float recons) {
swigfaissJNI.Index_reconstruct_n(swigCPtr, this, i0, ni, SWIGTYPE_p_float.getCPtr(recons));
}
public void search_and_reconstruct(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_float distances, LongVector labels, SWIGTYPE_p_float recons) {
swigfaissJNI.Index_search_and_reconstruct(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), k, SWIGTYPE_p_float.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels, SWIGTYPE_p_float.getCPtr(recons));
}
public void compute_residual(SWIGTYPE_p_float x, SWIGTYPE_p_float residual, long key) {
swigfaissJNI.Index_compute_residual(swigCPtr, this, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_float.getCPtr(residual), key);
}
public void compute_residual_n(long n, SWIGTYPE_p_float xs, SWIGTYPE_p_float residuals, LongVector keys) {
swigfaissJNI.Index_compute_residual_n(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(xs), SWIGTYPE_p_float.getCPtr(residuals), SWIGTYPE_p_long_long.getCPtr(keys.data()), keys);
}
public DistanceComputer get_distance_computer() {
long cPtr = swigfaissJNI.Index_get_distance_computer(swigCPtr, this);
return (cPtr == 0) ? null : new DistanceComputer(cPtr, false);
}
public long sa_code_size() {
return swigfaissJNI.Index_sa_code_size(swigCPtr, this);
}
public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_char bytes) {
swigfaissJNI.Index_sa_encode(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_unsigned_char.getCPtr(bytes));
}
public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE_p_float x) {
swigfaissJNI.Index_sa_decode(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(bytes), SWIGTYPE_p_float.getCPtr(x));
}
public IndexIVF toIVF() {
long cPtr = swigfaissJNI.Index_toIVF(swigCPtr, this);
return (cPtr == 0) ? null : new IndexIVF(cPtr, false);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Index2Layer.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class Index2Layer extends IndexFlatCodes {
private transient long swigCPtr;
protected Index2Layer(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.Index2Layer_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(Index2Layer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_Index2Layer(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setQ1(Level1Quantizer value) {
swigfaissJNI.Index2Layer_q1_set(swigCPtr, this, Level1Quantizer.getCPtr(value), value);
}
public Level1Quantizer getQ1() {
long cPtr = swigfaissJNI.Index2Layer_q1_get(swigCPtr, this);
return (cPtr == 0) ? null : new Level1Quantizer(cPtr, false);
}
public void setPq(ProductQuantizer value) {
swigfaissJNI.Index2Layer_pq_set(swigCPtr, this, ProductQuantizer.getCPtr(value), value);
}
public ProductQuantizer getPq() {
long cPtr = swigfaissJNI.Index2Layer_pq_get(swigCPtr, this);
return (cPtr == 0) ? null : new ProductQuantizer(cPtr, false);
}
public void setCode_size_1(long value) {
swigfaissJNI.Index2Layer_code_size_1_set(swigCPtr, this, value);
}
public long getCode_size_1() {
return swigfaissJNI.Index2Layer_code_size_1_get(swigCPtr, this);
}
public void setCode_size_2(long value) {
swigfaissJNI.Index2Layer_code_size_2_set(swigCPtr, this, value);
}
public long getCode_size_2() {
return swigfaissJNI.Index2Layer_code_size_2_get(swigCPtr, this);
}
public Index2Layer(Index quantizer, long nlist, int M, int nbit, MetricType metric) {
this(swigfaissJNI.new_Index2Layer__SWIG_0(Index.getCPtr(quantizer), quantizer, nlist, M, nbit, metric.swigValue()), true);
}
public Index2Layer(Index quantizer, long nlist, int M, int nbit) {
this(swigfaissJNI.new_Index2Layer__SWIG_1(Index.getCPtr(quantizer), quantizer, nlist, M, nbit), true);
}
public Index2Layer(Index quantizer, long nlist, int M) {
this(swigfaissJNI.new_Index2Layer__SWIG_2(Index.getCPtr(quantizer), quantizer, nlist, M), true);
}
public Index2Layer() {
this(swigfaissJNI.new_Index2Layer__SWIG_3(), true);
}
public void train(long n, SWIGTYPE_p_float x) {
swigfaissJNI.Index2Layer_train(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x));
}
public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_float distances, LongVector labels) {
swigfaissJNI.Index2Layer_search(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), k, SWIGTYPE_p_float.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public DistanceComputer get_distance_computer() {
long cPtr = swigfaissJNI.Index2Layer_get_distance_computer(swigCPtr, this);
return (cPtr == 0) ? null : new DistanceComputer(cPtr, false);
}
public void transfer_to_IVFPQ(IndexIVFPQ other) {
swigfaissJNI.Index2Layer_transfer_to_IVFPQ(swigCPtr, this, IndexIVFPQ.getCPtr(other), other);
}
public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_char bytes) {
swigfaissJNI.Index2Layer_sa_encode(swigCPtr, this, n, SWIGTYPE_p_float.getCPtr(x), SWIGTYPE_p_unsigned_char.getCPtr(bytes));
}
public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE_p_float x) {
swigfaissJNI.Index2Layer_sa_decode(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(bytes), SWIGTYPE_p_float.getCPtr(x));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinary.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IndexBinary {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IndexBinary(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IndexBinary obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IndexBinary(swigCPtr);
}
swigCPtr = 0;
}
}
public void setD(int value) {
swigfaissJNI.IndexBinary_d_set(swigCPtr, this, value);
}
public int getD() {
return swigfaissJNI.IndexBinary_d_get(swigCPtr, this);
}
public void setCode_size(int value) {
swigfaissJNI.IndexBinary_code_size_set(swigCPtr, this, value);
}
public int getCode_size() {
return swigfaissJNI.IndexBinary_code_size_get(swigCPtr, this);
}
public void setNtotal(long value) {
swigfaissJNI.IndexBinary_ntotal_set(swigCPtr, this, value);
}
public long getNtotal() {
return swigfaissJNI.IndexBinary_ntotal_get(swigCPtr, this);
}
public void setVerbose(boolean value) {
swigfaissJNI.IndexBinary_verbose_set(swigCPtr, this, value);
}
public boolean getVerbose() {
return swigfaissJNI.IndexBinary_verbose_get(swigCPtr, this);
}
public void setIs_trained(boolean value) {
swigfaissJNI.IndexBinary_is_trained_set(swigCPtr, this, value);
}
public boolean getIs_trained() {
return swigfaissJNI.IndexBinary_is_trained_get(swigCPtr, this);
}
public void setMetric_type(MetricType value) {
swigfaissJNI.IndexBinary_metric_type_set(swigCPtr, this, value.swigValue());
}
public MetricType getMetric_type() {
return MetricType.swigToEnum(swigfaissJNI.IndexBinary_metric_type_get(swigCPtr, this));
}
public void train(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinary_train(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void add(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinary_add(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void add_with_ids(long n, SWIGTYPE_p_unsigned_char x, LongVector xids) {
swigfaissJNI.IndexBinary_add_with_ids(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(xids.data()), xids);
}
public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYPE_p_int distances, LongVector labels) {
swigfaissJNI.IndexBinary_search(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), k, SWIGTYPE_p_int.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void range_search(long n, SWIGTYPE_p_unsigned_char x, int radius, RangeSearchResult result) {
swigfaissJNI.IndexBinary_range_search(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), radius, RangeSearchResult.getCPtr(result), result);
}
public void assign(long n, SWIGTYPE_p_unsigned_char x, LongVector labels, long k) {
swigfaissJNI.IndexBinary_assign__SWIG_0(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels, k);
}
public void assign(long n, SWIGTYPE_p_unsigned_char x, LongVector labels) {
swigfaissJNI.IndexBinary_assign__SWIG_1(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void reset() {
swigfaissJNI.IndexBinary_reset(swigCPtr, this);
}
public long remove_ids(IDSelector sel) {
return swigfaissJNI.IndexBinary_remove_ids(swigCPtr, this, IDSelector.getCPtr(sel), sel);
}
public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
swigfaissJNI.IndexBinary_reconstruct(swigCPtr, this, key, SWIGTYPE_p_unsigned_char.getCPtr(recons));
}
public void reconstruct_n(long i0, long ni, SWIGTYPE_p_unsigned_char recons) {
swigfaissJNI.IndexBinary_reconstruct_n(swigCPtr, this, i0, ni, SWIGTYPE_p_unsigned_char.getCPtr(recons));
}
public void search_and_reconstruct(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYPE_p_int distances, LongVector labels, SWIGTYPE_p_unsigned_char recons) {
swigfaissJNI.IndexBinary_search_and_reconstruct(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), k, SWIGTYPE_p_int.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels, SWIGTYPE_p_unsigned_char.getCPtr(recons));
}
public void display() {
swigfaissJNI.IndexBinary_display(swigCPtr, this);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFlat.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IndexBinaryFlat extends IndexBinary {
private transient long swigCPtr;
protected IndexBinaryFlat(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IndexBinaryFlat_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IndexBinaryFlat obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IndexBinaryFlat(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setXb(ByteVector value) {
swigfaissJNI.IndexBinaryFlat_xb_set(swigCPtr, this, ByteVector.getCPtr(value), value);
}
public ByteVector getXb() {
long cPtr = swigfaissJNI.IndexBinaryFlat_xb_get(swigCPtr, this);
return (cPtr == 0) ? null : new ByteVector(cPtr, false);
}
public void setUse_heap(boolean value) {
swigfaissJNI.IndexBinaryFlat_use_heap_set(swigCPtr, this, value);
}
public boolean getUse_heap() {
return swigfaissJNI.IndexBinaryFlat_use_heap_get(swigCPtr, this);
}
public void setQuery_batch_size(long value) {
swigfaissJNI.IndexBinaryFlat_query_batch_size_set(swigCPtr, this, value);
}
public long getQuery_batch_size() {
return swigfaissJNI.IndexBinaryFlat_query_batch_size_get(swigCPtr, this);
}
public IndexBinaryFlat(long d) {
this(swigfaissJNI.new_IndexBinaryFlat__SWIG_0(d), true);
}
public void add(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinaryFlat_add(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void reset() {
swigfaissJNI.IndexBinaryFlat_reset(swigCPtr, this);
}
public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYPE_p_int distances, LongVector labels) {
swigfaissJNI.IndexBinaryFlat_search(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), k, SWIGTYPE_p_int.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void range_search(long n, SWIGTYPE_p_unsigned_char x, int radius, RangeSearchResult result) {
swigfaissJNI.IndexBinaryFlat_range_search(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), radius, RangeSearchResult.getCPtr(result), result);
}
public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
swigfaissJNI.IndexBinaryFlat_reconstruct(swigCPtr, this, key, SWIGTYPE_p_unsigned_char.getCPtr(recons));
}
public long remove_ids(IDSelector sel) {
return swigfaissJNI.IndexBinaryFlat_remove_ids(swigCPtr, this, IDSelector.getCPtr(sel), sel);
}
public IndexBinaryFlat() {
this(swigfaissJNI.new_IndexBinaryFlat__SWIG_1(), true);
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFromFloat.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IndexBinaryFromFloat extends IndexBinary {
private transient long swigCPtr;
protected IndexBinaryFromFloat(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IndexBinaryFromFloat_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IndexBinaryFromFloat obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IndexBinaryFromFloat(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setIndex(Index value) {
swigfaissJNI.IndexBinaryFromFloat_index_set(swigCPtr, this, Index.getCPtr(value), value);
}
public Index getIndex() {
long cPtr = swigfaissJNI.IndexBinaryFromFloat_index_get(swigCPtr, this);
return (cPtr == 0) ? null : new Index(cPtr, false);
}
public void setOwn_fields(boolean value) {
swigfaissJNI.IndexBinaryFromFloat_own_fields_set(swigCPtr, this, value);
}
public boolean getOwn_fields() {
return swigfaissJNI.IndexBinaryFromFloat_own_fields_get(swigCPtr, this);
}
public IndexBinaryFromFloat() {
this(swigfaissJNI.new_IndexBinaryFromFloat__SWIG_0(), true);
}
public IndexBinaryFromFloat(Index index) {
this(swigfaissJNI.new_IndexBinaryFromFloat__SWIG_1(Index.getCPtr(index), index), true);
}
public void add(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinaryFromFloat_add(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void reset() {
swigfaissJNI.IndexBinaryFromFloat_reset(swigCPtr, this);
}
public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYPE_p_int distances, LongVector labels) {
swigfaissJNI.IndexBinaryFromFloat_search(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x), k, SWIGTYPE_p_int.getCPtr(distances), SWIGTYPE_p_long_long.getCPtr(labels.data()), labels);
}
public void train(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinaryFromFloat_train(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
}
================================================
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryHNSW.java
================================================
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.twitter.ann.faiss;
public class IndexBinaryHNSW extends IndexBinary {
private transient long swigCPtr;
protected IndexBinaryHNSW(long cPtr, boolean cMemoryOwn) {
super(swigfaissJNI.IndexBinaryHNSW_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IndexBinaryHNSW obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
swigfaissJNI.delete_IndexBinaryHNSW(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public void setHnsw(HNSW value) {
swigfaissJNI.IndexBinaryHNSW_hnsw_set(swigCPtr, this, HNSW.getCPtr(value), value);
}
public HNSW getHnsw() {
long cPtr = swigfaissJNI.IndexBinaryHNSW_hnsw_get(swigCPtr, this);
return (cPtr == 0) ? null : new HNSW(cPtr, false);
}
public void setOwn_fields(boolean value) {
swigfaissJNI.IndexBinaryHNSW_own_fields_set(swigCPtr, this, value);
}
public boolean getOwn_fields() {
return swigfaissJNI.IndexBinaryHNSW_own_fields_get(swigCPtr, this);
}
public void setStorage(IndexBinary value) {
swigfaissJNI.IndexBinaryHNSW_storage_set(swigCPtr, this, IndexBinary.getCPtr(value), value);
}
public IndexBinary getStorage() {
long cPtr = swigfaissJNI.IndexBinaryHNSW_storage_get(swigCPtr, this);
return (cPtr == 0) ? null : new IndexBinary(cPtr, false);
}
public IndexBinaryHNSW() {
this(swigfaissJNI.new_IndexBinaryHNSW__SWIG_0(), true);
}
public IndexBinaryHNSW(int d, int M) {
this(swigfaissJNI.new_IndexBinaryHNSW__SWIG_1(d, M), true);
}
public IndexBinaryHNSW(int d) {
this(swigfaissJNI.new_IndexBinaryHNSW__SWIG_2(d), true);
}
public IndexBinaryHNSW(IndexBinary storage, int M) {
this(swigfaissJNI.new_IndexBinaryHNSW__SWIG_3(IndexBinary.getCPtr(storage), storage, M), true);
}
public IndexBinaryHNSW(IndexBinary storage) {
this(swigfaissJNI.new_IndexBinaryHNSW__SWIG_4(IndexBinary.getCPtr(storage), storage), true);
}
public DistanceComputer get_distance_computer() {
long cPtr = swigfaissJNI.IndexBinaryHNSW_get_distance_computer(swigCPtr, this);
return (cPtr == 0) ? null : new DistanceComputer(cPtr, false);
}
public void add(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinaryHNSW_add(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void train(long n, SWIGTYPE_p_unsigned_char x) {
swigfaissJNI.IndexBinaryHNSW_train(swigCPtr, this, n, SWIGTYPE_p_unsigned_char.getCPtr(x));
}
public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYPE_p_int distances, LongVector labels) {
swigfaissJNI.IndexBi
Showing preview only (588K chars total). Download the full file or copy to clipboard to get everything.
gitextract_zmgfpzrq/ ├── .gitignore ├── COPYING ├── README.md ├── RETREIVAL_SIGNALS.md ├── ann/ │ └── src/ │ └── main/ │ ├── java/ │ │ └── com/ │ │ └── twitter/ │ │ └── ann/ │ │ ├── faiss/ │ │ │ ├── BUILD │ │ │ ├── NativeUtils.java │ │ │ └── swig/ │ │ │ ├── AlignedTableFloat32.java │ │ │ ├── AlignedTableUint16.java │ │ │ ├── AlignedTableUint8.java │ │ │ ├── ArrayInvertedLists.java │ │ │ ├── AutoTuneCriterion.java │ │ │ ├── BUILD │ │ │ ├── BitstringReader.java │ │ │ ├── BitstringWriter.java │ │ │ ├── BufferList.java │ │ │ ├── ByteVector.java │ │ │ ├── ByteVectorVector.java │ │ │ ├── CenteringTransform.java │ │ │ ├── CharVector.java │ │ │ ├── Clustering.java │ │ │ ├── Clustering1D.java │ │ │ ├── ClusteringIterationStats.java │ │ │ ├── ClusteringParameters.java │ │ │ ├── DistanceComputer.java │ │ │ ├── DoubleVector.java │ │ │ ├── FloatVector.java │ │ │ ├── FloatVectorVector.java │ │ │ ├── GenHammingComputer16.java │ │ │ ├── GenHammingComputer32.java │ │ │ ├── GenHammingComputer8.java │ │ │ ├── GenHammingComputerM8.java │ │ │ ├── HNSW.java │ │ │ ├── HNSWStats.java │ │ │ ├── HStackInvertedLists.java │ │ │ ├── HammingComputer16.java │ │ │ ├── HammingComputer20.java │ │ │ ├── HammingComputer32.java │ │ │ ├── HammingComputer4.java │ │ │ ├── HammingComputer64.java │ │ │ ├── HammingComputer8.java │ │ │ ├── HammingComputerDefault.java │ │ │ ├── HammingComputerM4.java │ │ │ ├── HammingComputerM8.java │ │ │ ├── IDSelector.java │ │ │ ├── IDSelectorArray.java │ │ │ ├── IDSelectorBatch.java │ │ │ ├── IDSelectorRange.java │ │ │ ├── ITQMatrix.java │ │ │ ├── ITQTransform.java │ │ │ ├── IVFPQSearchParameters.java │ │ │ ├── IVFSearchParameters.java │ │ │ ├── Index.java │ │ │ ├── Index2Layer.java │ │ │ ├── IndexBinary.java │ │ │ ├── IndexBinaryFlat.java │ │ │ ├── IndexBinaryFromFloat.java │ │ │ ├── IndexBinaryHNSW.java │ │ │ ├── IndexBinaryIVF.java │ │ │ ├── IndexFlat.java │ │ │ ├── IndexFlat1D.java │ │ │ ├── IndexFlatCodes.java │ │ │ ├── IndexFlatIP.java │ │ │ ├── IndexFlatL2.java │ │ │ ├── IndexHNSW.java │ │ │ ├── IndexHNSW2Level.java │ │ │ ├── IndexHNSWFlat.java │ │ │ ├── IndexHNSWPQ.java │ │ │ ├── IndexHNSWSQ.java │ │ │ ├── IndexIDMap.java │ │ │ ├── IndexIVF.java │ │ │ ├── IndexIVFFlat.java │ │ │ ├── IndexIVFFlatDedup.java │ │ │ ├── IndexIVFPQ.java │ │ │ ├── IndexIVFPQStats.java │ │ │ ├── IndexIVFScalarQuantizer.java │ │ │ ├── IndexIVFStats.java │ │ │ ├── IndexLSH.java │ │ │ ├── IndexPQ.java │ │ │ ├── IndexPQStats.java │ │ │ ├── IndexRefine.java │ │ │ ├── IndexRefineFlat.java │ │ │ ├── IndexScalarQuantizer.java │ │ │ ├── IndexShards.java │ │ │ ├── IndexSplitVectors.java │ │ │ ├── IntVector.java │ │ │ ├── InterruptCallback.java │ │ │ ├── IntersectionCriterion.java │ │ │ ├── InvertedLists.java │ │ │ ├── InvertedListsPtrVector.java │ │ │ ├── Level1Quantizer.java │ │ │ ├── LinearTransform.java │ │ │ ├── LongVector.java │ │ │ ├── LongVectorVector.java │ │ │ ├── MapLong2Long.java │ │ │ ├── MaskedInvertedLists.java │ │ │ ├── MetricType.java │ │ │ ├── MultiIndexQuantizer.java │ │ │ ├── MultiIndexQuantizer2.java │ │ │ ├── NormalizationTransform.java │ │ │ ├── OPQMatrix.java │ │ │ ├── OnDiskInvertedLists.java │ │ │ ├── OnDiskInvertedListsIOHook.java │ │ │ ├── OnDiskOneList.java │ │ │ ├── OneRecallAtRCriterion.java │ │ │ ├── OperatingPoint.java │ │ │ ├── OperatingPointVector.java │ │ │ ├── OperatingPoints.java │ │ │ ├── PCAMatrix.java │ │ │ ├── PQDecoder16.java │ │ │ ├── PQDecoder8.java │ │ │ ├── PQDecoderGeneric.java │ │ │ ├── PQEncoder16.java │ │ │ ├── PQEncoder8.java │ │ │ ├── PQEncoderGeneric.java │ │ │ ├── ParameterRange.java │ │ │ ├── ParameterSpace.java │ │ │ ├── PartitionStats.java │ │ │ ├── PermutationObjective.java │ │ │ ├── PolysemousTraining.java │ │ │ ├── ProductQuantizer.java │ │ │ ├── ProgressiveDimClustering.java │ │ │ ├── ProgressiveDimClusteringParameters.java │ │ │ ├── ProgressiveDimIndexFactory.java │ │ │ ├── RandomRotationMatrix.java │ │ │ ├── RangeQueryResult.java │ │ │ ├── RangeSearchPartialResult.java │ │ │ ├── RangeSearchResult.java │ │ │ ├── ReadOnlyInvertedLists.java │ │ │ ├── ReconstructFromNeighbors.java │ │ │ ├── RemapDimensionsTransform.java │ │ │ ├── ReproduceDistancesObjective.java │ │ │ ├── SWIGTYPE_p_AlignedTableT_float_32_t.java │ │ │ ├── SWIGTYPE_p_AlignedTableT_float_t.java │ │ │ ├── SWIGTYPE_p_DirectMap.java │ │ │ ├── SWIGTYPE_p_DirectMap__Type.java │ │ │ ├── SWIGTYPE_p_FILE.java │ │ │ ├── SWIGTYPE_p_IOReader.java │ │ │ ├── SWIGTYPE_p_IOWriter.java │ │ │ ├── SWIGTYPE_p_ScalarQuantizer.java │ │ │ ├── SWIGTYPE_p_ScalarQuantizer__QuantizerType.java │ │ │ ├── SWIGTYPE_p_double.java │ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t.java │ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t.java │ │ │ ├── SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t.java │ │ │ ├── SWIGTYPE_p_faiss__BinaryInvertedListScanner.java │ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t.java │ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t.java │ │ │ ├── SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t.java │ │ │ ├── SWIGTYPE_p_faiss__IOReader.java │ │ │ ├── SWIGTYPE_p_faiss__IOWriter.java │ │ │ ├── SWIGTYPE_p_faiss__InvertedListScanner.java │ │ │ ├── SWIGTYPE_p_faiss__LockLevels.java │ │ │ ├── SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch.java │ │ │ ├── SWIGTYPE_p_faiss__RandomGenerator.java │ │ │ ├── SWIGTYPE_p_float.java │ │ │ ├── SWIGTYPE_p_int.java │ │ │ ├── SWIGTYPE_p_long.java │ │ │ ├── SWIGTYPE_p_long_long.java │ │ │ ├── SWIGTYPE_p_omp_lock_t.java │ │ │ ├── SWIGTYPE_p_p_faiss__Index.java │ │ │ ├── SWIGTYPE_p_p_faiss__InvertedLists.java │ │ │ ├── SWIGTYPE_p_p_faiss__VectorTransform.java │ │ │ ├── SWIGTYPE_p_std__listT_faiss__OnDiskInvertedLists__Slot_t.java │ │ │ ├── SWIGTYPE_p_std__pairT_float_int_t.java │ │ │ ├── SWIGTYPE_p_std__priority_queueT_faiss__HNSW__NodeDistFarther_t.java │ │ │ ├── SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t.java │ │ │ ├── SWIGTYPE_p_std__unordered_mapT_long_long_t.java │ │ │ ├── SWIGTYPE_p_std__unordered_multimapT_int64_t_int64_t_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__HNSW__NodeDistFarther_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__Index_p_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__OnDiskOneList_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__ParameterRange_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__RangeQueryResult_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_faiss__RangeSearchPartialResult_p_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_int64_t_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_long_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_omp_lock_t_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t.java │ │ │ ├── SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_long_t_t.java │ │ │ ├── SWIGTYPE_p_uint16_t.java │ │ │ ├── SWIGTYPE_p_uint32_t.java │ │ │ ├── SWIGTYPE_p_unsigned_char.java │ │ │ ├── SWIGTYPE_p_unsigned_long.java │ │ │ ├── SWIGTYPE_p_void.java │ │ │ ├── SimulatedAnnealingOptimizer.java │ │ │ ├── SimulatedAnnealingParameters.java │ │ │ ├── SliceInvertedLists.java │ │ │ ├── SlidingIndexWindow.java │ │ │ ├── StopWordsInvertedLists.java │ │ │ ├── Uint64Vector.java │ │ │ ├── VStackInvertedLists.java │ │ │ ├── VectorTransform.java │ │ │ ├── VectorTransformVector.java │ │ │ ├── VisitedTable.java │ │ │ ├── doubleArray.java │ │ │ ├── floatArray.java │ │ │ ├── float_maxheap_array_t.java │ │ │ ├── float_minheap_array_t.java │ │ │ ├── intArray.java │ │ │ ├── int_maxheap_array_t.java │ │ │ ├── int_minheap_array_t.java │ │ │ ├── longArray.java │ │ │ ├── resources/ │ │ │ │ ├── .gitignore │ │ │ │ ├── .gitkeep │ │ │ │ └── BUILD │ │ │ ├── swigfaiss.java │ │ │ ├── swigfaissConstants.java │ │ │ └── swigfaissJNI.java │ │ └── hnsw/ │ │ ├── BUILD │ │ ├── DistanceFunction.java │ │ ├── DistancedItem.java │ │ ├── DistancedItemQueue.java │ │ ├── HnswIndex.java │ │ ├── HnswIndexIOUtil.java │ │ ├── HnswMeta.java │ │ ├── HnswNode.java │ │ └── IllegalDuplicateInsertException.java │ ├── python/ │ │ └── dataflow/ │ │ ├── BUILD.bazel │ │ ├── bq.sql │ │ ├── faiss_index_bq_dataset.py │ │ └── worker_harness/ │ │ ├── Dockerfile │ │ └── cloudbuild.yml │ ├── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── ann/ │ │ ├── annoy/ │ │ │ ├── AnnoyCommon.scala │ │ │ ├── BUILD │ │ │ ├── RawAnnoyIndexBuilder.scala │ │ │ ├── RawAnnoyQueryIndex.scala │ │ │ ├── TypedAnnoyIndex.scala │ │ │ ├── TypedAnnoyIndexBuilderWithFile.scala │ │ │ └── TypedAnnoyQueryIndexWithFile.scala │ │ ├── brute_force/ │ │ │ ├── BUILD │ │ │ ├── BruteForceDeserialization.scala │ │ │ └── BruteForceIndex.scala │ │ ├── common/ │ │ │ ├── AnnInjections.scala │ │ │ ├── Api.scala │ │ │ ├── BUILD │ │ │ ├── EmbeddingProducer.scala │ │ │ ├── IndexOutputFile.scala │ │ │ ├── IndexTransformer.scala │ │ │ ├── MemoizedInEpochs.scala │ │ │ ├── Metric.scala │ │ │ ├── QueryableById.scala │ │ │ ├── QueryableByIdImplementation.scala │ │ │ ├── QueryableOperations.scala │ │ │ ├── ReadWriteFuturePool.scala │ │ │ ├── Serialization.scala │ │ │ ├── ServiceClientQueryable.scala │ │ │ ├── ShardApi.scala │ │ │ ├── ShardedSerialization.scala │ │ │ └── Task.scala │ │ ├── dataflow/ │ │ │ └── offline/ │ │ │ ├── ANNIndexBuilderBeamJob.scala │ │ │ ├── BUILD │ │ │ ├── BaseEmbeddingData.scala │ │ │ ├── FlatEmbeddingData.scala │ │ │ └── GroupedEmbeddingData.scala │ │ ├── experimental/ │ │ │ ├── BUILD.bazel │ │ │ └── Runner.scala │ │ ├── faiss/ │ │ │ ├── BUILD │ │ │ ├── FaissCommon.scala │ │ │ ├── FaissIndex.scala │ │ │ ├── FaissIndexer.scala │ │ │ ├── HourlyDirectoryWithSuccessFileListing.scala │ │ │ ├── HourlyShardedIndex.scala │ │ │ └── QueryableIndexAdapter.scala │ │ ├── featurestore/ │ │ │ ├── BUILD │ │ │ └── FeatureStoreEmbeddingProducer.scala │ │ ├── file_store/ │ │ │ ├── BUILD │ │ │ ├── ReadableIndexIdFileStore.scala │ │ │ └── WritableIndexIdFileStore.scala │ │ ├── hnsw/ │ │ │ ├── BUILD │ │ │ ├── DistanceFunctionGenerator.scala │ │ │ ├── Hnsw.scala │ │ │ ├── HnswCommon.scala │ │ │ ├── HnswIOUtil.scala │ │ │ ├── IdEmbeddingMap.scala │ │ │ ├── JMapBasedIdEmbeddingMap.scala │ │ │ ├── MapDbBasedIdEmbeddingMap.scala │ │ │ ├── SerializableHnsw.scala │ │ │ └── TypedHnswIndex.scala │ │ ├── manhattan/ │ │ │ ├── BUILD │ │ │ ├── ManhattanEmbeddingProducer.scala │ │ │ └── README │ │ ├── scalding/ │ │ │ ├── benchmark/ │ │ │ │ ├── BUILD │ │ │ │ └── Knn.scala │ │ │ └── offline/ │ │ │ ├── BUILD.bazel │ │ │ ├── IndexingStrategy.scala │ │ │ ├── KnnDebug.scala │ │ │ ├── KnnEntityRecoDebugJob.scala │ │ │ ├── KnnHelper.scala │ │ │ ├── KnnOfflineJob.scala │ │ │ ├── KnnTruthSetGenerator.scala │ │ │ ├── ParameterlessQueryable.scala │ │ │ ├── README │ │ │ ├── faissindexbuilder/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── IndexBuilder.scala │ │ │ │ └── IndexBuilderApp.scala │ │ │ ├── indexbuilder/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── IndexBuilder.scala │ │ │ │ ├── IndexBuilderApp.scala │ │ │ │ └── README.rst │ │ │ └── indexbuilderfrombq/ │ │ │ ├── BUILD.bazel │ │ │ ├── IndexBuilderFromBQ.scala │ │ │ └── IndexBuilderFromBQApp.scala │ │ ├── serialization/ │ │ │ ├── BUILD │ │ │ ├── DummyANNIndexInjection.scala │ │ │ ├── PersistedEmbeddingInjection.scala │ │ │ └── ThriftIteratorIO.scala │ │ ├── service/ │ │ │ ├── loadtest/ │ │ │ │ ├── AnnLoadTest.scala │ │ │ │ ├── AnnLoadTestMain.scala │ │ │ │ ├── AnnLoadTestWorker.scala │ │ │ │ ├── BUILD │ │ │ │ ├── EmbeddingIndexer.scala │ │ │ │ ├── LoadTestRecorder.scala │ │ │ │ ├── LoadTestUtils.scala │ │ │ │ └── README.md │ │ │ └── query_server/ │ │ │ ├── common/ │ │ │ │ ├── BUILD │ │ │ │ ├── BaseQueryIndexServer.scala │ │ │ │ ├── Exceptions.scala │ │ │ │ ├── FaissIndexPathProvider.scala │ │ │ │ ├── IndexPathProvider.scala │ │ │ │ ├── QueryIndexThriftController.scala │ │ │ │ ├── QueryServerUtil.scala │ │ │ │ ├── QueryableProvider.scala │ │ │ │ ├── RefreshableQueryable.scala │ │ │ │ ├── UnsafeQueryIndexServer.scala │ │ │ │ ├── throttling/ │ │ │ │ │ ├── AuroraCPUStatsReader.scala │ │ │ │ │ ├── BUILD │ │ │ │ │ ├── ThrottlingBasedQualityTask.scala │ │ │ │ │ ├── WindowedStats.scala │ │ │ │ │ └── WindowedThrottlingInstrument.scala │ │ │ │ └── warmup/ │ │ │ │ ├── BUILD │ │ │ │ └── Warmup.scala │ │ │ ├── faiss/ │ │ │ │ ├── BUILD │ │ │ │ └── FaissQueryIndexServer.scala │ │ │ └── hnsw/ │ │ │ ├── BUILD │ │ │ └── HnswQueryIndexServer.scala │ │ └── util/ │ │ ├── BUILD │ │ └── IndexBuilderUtils.scala │ └── thrift/ │ └── com/ │ └── twitter/ │ └── ann/ │ ├── common/ │ │ ├── BUILD │ │ └── ann_common.thrift │ ├── knn/ │ │ ├── BUILD │ │ └── knn.thrift │ └── serialization/ │ ├── BUILD │ └── serialization.thrift ├── ci/ │ └── ci.sh ├── cr-mixer/ │ ├── BUILD.bazel │ ├── README.md │ ├── server/ │ │ └── src/ │ │ └── main/ │ │ ├── resources/ │ │ │ ├── BUILD.bazel │ │ │ ├── config/ │ │ │ │ └── decider.yml │ │ │ └── logback.xml │ │ └── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── cr_mixer/ │ │ ├── BUILD.bazel │ │ ├── CrMixerHttpServerWarmupHandler.scala │ │ ├── CrMixerServer.scala │ │ ├── CrMixerThriftServerWarmupHandler.scala │ │ ├── blender/ │ │ │ ├── AdsBlender.scala │ │ │ ├── BUILD │ │ │ ├── BlendedCandidatesBuilder.scala │ │ │ ├── ContentSignalBlender.scala │ │ │ ├── CountWeightedInterleaveBlender.scala │ │ │ ├── InterleaveBlender.scala │ │ │ ├── SourceTypeBackFillBlender.scala │ │ │ └── SwitchBlender.scala │ │ ├── candidate_generation/ │ │ │ ├── AdsCandidateGenerator.scala │ │ │ ├── AdsCandidateSourcesRouter.scala │ │ │ ├── BUILD │ │ │ ├── CandidateSourcesRouter.scala │ │ │ ├── CrCandidateGenerator.scala │ │ │ ├── CustomizedRetrievalCandidateGeneration.scala │ │ │ ├── FrsTweetCandidateGenerator.scala │ │ │ ├── RelatedTweetCandidateGenerator.scala │ │ │ ├── RelatedVideoTweetCandidateGenerator.scala │ │ │ ├── SimClustersInterestedInCandidateGeneration.scala │ │ │ ├── TopicTweetCandidateGenerator.scala │ │ │ └── UtegTweetCandidateGenerator.scala │ │ ├── config/ │ │ │ ├── BUILD │ │ │ ├── SimClustersANNConfig.scala │ │ │ └── TimeoutConfig.scala │ │ ├── controller/ │ │ │ ├── BUILD.bazel │ │ │ └── CrMixerThriftController.scala │ │ ├── exception/ │ │ │ ├── BUILD │ │ │ └── InvalidSANNConfigException.scala │ │ ├── featureswitch/ │ │ │ ├── BUILD │ │ │ ├── CrMixerLoggingABDecider.scala │ │ │ ├── ParamsBuilder.scala │ │ │ └── SetImpressedBucketsLocalContextFilter.scala │ │ ├── filter/ │ │ │ ├── BUILD │ │ │ ├── FilterBase.scala │ │ │ ├── ImpressedTweetlistFilter.scala │ │ │ ├── InNetworkFilter.scala │ │ │ ├── PostRankFilterRunner.scala │ │ │ ├── PreRankFilterRunner.scala │ │ │ ├── ReplyFilter.scala │ │ │ ├── RetweetFilter.scala │ │ │ ├── TweetAgeFilter.scala │ │ │ ├── TweetInfoHealthFilterBase.scala │ │ │ ├── UtegFilterRunner.scala │ │ │ ├── UtegHealthFilter.scala │ │ │ └── VideoTweetFilter.scala │ │ ├── logging/ │ │ │ ├── AdsRecommendationsScribeLogger.scala │ │ │ ├── BUILD │ │ │ ├── CrMixerScribeLogger.scala │ │ │ ├── RelatedTweetScribeLogger.scala │ │ │ ├── ScribeLoggerUtils.scala │ │ │ ├── ScribeMetadata.scala │ │ │ ├── TopLevelDdgMetricsMetadata.scala │ │ │ └── UtegTweetScribeLogger.scala │ │ ├── model/ │ │ │ ├── BUILD │ │ │ ├── Candidate.scala │ │ │ ├── CandidateGenerationInfo.scala │ │ │ ├── CandidateGeneratorQuery.scala │ │ │ ├── EarlybirdSimilarityEngineType.scala │ │ │ ├── HealthThreshold.scala │ │ │ ├── ModelConfig.scala │ │ │ ├── ModuleNames.scala │ │ │ ├── TopicTweetWithScore.scala │ │ │ ├── TweetWithAuthor.scala │ │ │ ├── TweetWithScore.scala │ │ │ └── TweetWithScoreAndSocialProof.scala │ │ ├── module/ │ │ │ ├── ActivePromotedTweetStoreModule.scala │ │ │ ├── BUILD.bazel │ │ │ ├── BlueVerifiedAnnotationStoreModule.scala │ │ │ ├── CertoStratoStoreModule.scala │ │ │ ├── ConsumersBasedUserAdGraphStoreModule.scala │ │ │ ├── ConsumersBasedUserTweetGraphStoreModule.scala │ │ │ ├── ConsumersBasedUserVideoGraphStoreModule.scala │ │ │ ├── CrMixerParamConfigModule.scala │ │ │ ├── DiffusionStoreModule.scala │ │ │ ├── EarlybirdRecencyBasedCandidateStoreModule.scala │ │ │ ├── EmbeddingStoreModule.scala │ │ │ ├── FrsStoreModule.scala │ │ │ ├── MHMtlsParamsModule.scala │ │ │ ├── OfflineCandidateStoreModule.scala │ │ │ ├── RealGraphOonStoreModule.scala │ │ │ ├── RealGraphStoreMhModule.scala │ │ │ ├── RepresentationManagerModule.scala │ │ │ ├── RepresentationScorerModule.scala │ │ │ ├── SampleSimilarityEngineModule.scala │ │ │ ├── SimClustersANNServiceNameToClientMapper.scala │ │ │ ├── SkitStratoStoreModule.scala │ │ │ ├── StrongTiePredictionStoreModule.scala │ │ │ ├── TripCandidateStoreModule.scala │ │ │ ├── TweetInfoStoreModule.scala │ │ │ ├── TweetRecentEngagedUserStoreModule.scala │ │ │ ├── TweetRecommendationResultsStoreModule.scala │ │ │ ├── TwhinCollabFilterStratoStoreModule.scala │ │ │ ├── TwiceClustersMembersStoreModule.scala │ │ │ ├── UnifiedCacheClient.scala │ │ │ ├── UserSignalServiceColumnModule.scala │ │ │ ├── UserSignalServiceStoreModule.scala │ │ │ ├── UserStateStoreModule.scala │ │ │ ├── core/ │ │ │ │ ├── ABDeciderModule.scala │ │ │ │ ├── CrMixerFlagModule.scala │ │ │ │ ├── CrMixerLoggingABDeciderModule.scala │ │ │ │ ├── FeatureContextBuilderModule.scala │ │ │ │ ├── FeatureSwitchesModule.scala │ │ │ │ ├── KafkaProducerModule.scala │ │ │ │ ├── LoggerFactoryModule.scala │ │ │ │ ├── MemoizingStatsReceiverModule.scala │ │ │ │ └── TimeoutConfigModule.scala │ │ │ ├── grpc_client/ │ │ │ │ └── NaviGRPCClientModule.scala │ │ │ ├── similarity_engine/ │ │ │ │ ├── CertoTopicTweetSimilarityEngineModule.scala │ │ │ │ ├── ConsumerBasedWalsSimilarityEngineModule.scala │ │ │ │ ├── ConsumerEmbeddingBasedTripSimilarityEngineModule.scala │ │ │ │ ├── ConsumerEmbeddingBasedTwHINSimilarityEngineModule.scala │ │ │ │ ├── ConsumerEmbeddingBasedTwoTowerSimilarityEngineModule.scala │ │ │ │ ├── ConsumersBasedUserAdGraphSimilarityEngineModule.scala │ │ │ │ ├── ConsumersBasedUserVideoGraphSimilarityEngineModule.scala │ │ │ │ ├── DiffusionBasedSimilarityEngineModule.scala │ │ │ │ ├── EarlybirdSimilarityEngineModule.scala │ │ │ │ ├── ProducerBasedUnifiedSimilarityEngineModule.scala │ │ │ │ ├── ProducerBasedUserAdGraphSimilarityEngineModule.scala │ │ │ │ ├── ProducerBasedUserTweetGraphSimilarityEngineModule.scala │ │ │ │ ├── SimClustersANNSimilarityEngineModule.scala │ │ │ │ ├── SkitTopicTweetSimilarityEngineModule.scala │ │ │ │ ├── TweetBasedQigSimilarityEngineModule.scala │ │ │ │ ├── TweetBasedTwHINSimlarityEngineModule.scala │ │ │ │ ├── TweetBasedUnifiedSimilarityEngineModule.scala │ │ │ │ ├── TweetBasedUserAdGraphSimilarityEngineModule.scala │ │ │ │ ├── TweetBasedUserTweetGraphSimilarityEngineModule.scala │ │ │ │ ├── TweetBasedUserVideoGraphSimilarityEngineModule.scala │ │ │ │ ├── TwhinCollabFilterLookupSimilarityEngineModule.scala │ │ │ │ └── UserTweetEntityGraphSimilarityEngineModule.scala │ │ │ └── thrift_client/ │ │ │ ├── AnnQueryServiceClientModule.scala │ │ │ ├── EarlybirdSearchClientModule.scala │ │ │ ├── FrsClientModule.scala │ │ │ ├── HydraPartitionClientModule.scala │ │ │ ├── HydraRootClientModule.scala │ │ │ ├── QigServiceClientModule.scala │ │ │ ├── SimClustersAnnServiceClientModule.scala │ │ │ ├── TweetyPieClientModule.scala │ │ │ ├── UserAdGraphClientModule.scala │ │ │ ├── UserTweetEntityGraphClientModule.scala │ │ │ ├── UserTweetGraphClientModule.scala │ │ │ ├── UserTweetGraphPlusClientModule.scala │ │ │ └── UserVideoGraphClientModule.scala │ │ ├── param/ │ │ │ ├── AdsParams.scala │ │ │ ├── BUILD │ │ │ ├── BlenderParams.scala │ │ │ ├── BypassInterleaveAndRankParams.scala │ │ │ ├── ConsumerBasedWalsParams.scala │ │ │ ├── ConsumerEmbeddingBasedCandidateGenerationParams.scala │ │ │ ├── ConsumerEmbeddingBasedTripParams.scala │ │ │ ├── ConsumerEmbeddingBasedTwHINParams.scala │ │ │ ├── ConsumerEmbeddingBasedTwoTowerParams.scala │ │ │ ├── ConsumersBasedUserAdGraphParams.scala │ │ │ ├── ConsumersBasedUserTweetGraphParams.scala │ │ │ ├── ConsumersBasedUserVideoGraphParams.scala │ │ │ ├── CrMixerParamConfig.scala │ │ │ ├── CustomizedRetrievalBasedCandidateGenerationParams.scala │ │ │ ├── CustomizedRetrievalBasedFTROfflineInterestedInParams.scala │ │ │ ├── CustomizedRetrievalBasedOfflineInterestedInParams.scala │ │ │ ├── CustomizedRetrievalBasedTwhinParams.scala │ │ │ ├── EarlybirdFrsBasedCandidateGenerationParams.scala │ │ │ ├── FrsParams.scala │ │ │ ├── GlobalParams.scala │ │ │ ├── GoodProfileClickParams.scala │ │ │ ├── GoodTweetClickParams.scala │ │ │ ├── InterestedInParams.scala │ │ │ ├── ProducerBasedCandidateGenerationParams.scala │ │ │ ├── ProducerBasedUserAdGraphParams.scala │ │ │ ├── ProducerBasedUserTweetGraphParams.scala │ │ │ ├── RankerParams.scala │ │ │ ├── RealGraphInParams.scala │ │ │ ├── RealGraphOonParams.scala │ │ │ ├── RecentFollowsParams.scala │ │ │ ├── RecentNegativeSignalParams.scala │ │ │ ├── RecentNotificationsParams.scala │ │ │ ├── RecentOriginalTweetsParams.scala │ │ │ ├── RecentReplyTweetsParams.scala │ │ │ ├── RecentRetweetsParams.scala │ │ │ ├── RecentTweetFavoritesParams.scala │ │ │ ├── RelatedTweetGlobalParams.scala │ │ │ ├── RelatedTweetProducerBasedParams.scala │ │ │ ├── RelatedTweetTweetBasedParams.scala │ │ │ ├── RelatedVideoTweetGlobalParams.scala │ │ │ ├── RelatedVideoTweetTweetBasedParams.scala │ │ │ ├── RepeatedProfileVisitsParams.scala │ │ │ ├── SimClustersANNParams.scala │ │ │ ├── TopicTweetParams.scala │ │ │ ├── TweetBasedCandidateGenerationParams.scala │ │ │ ├── TweetBasedTwHINParams.scala │ │ │ ├── TweetBasedUserAdGraphParams.scala │ │ │ ├── TweetBasedUserTweetGraphParams.scala │ │ │ ├── TweetBasedUserVideoGraphParams.scala │ │ │ ├── TweetSharesParams.scala │ │ │ ├── UnifiedSETweetCombinationMethod.scala │ │ │ ├── UnifiedUSSSignalParams.scala │ │ │ ├── UtegTweetGlobalParams.scala │ │ │ ├── VideoTweetFilterParams.scala │ │ │ ├── VideoViewTweetsParams.scala │ │ │ └── decider/ │ │ │ ├── BUILD │ │ │ ├── CrMixerDecider.scala │ │ │ ├── DeciderKey.scala │ │ │ └── EndpointLoadShedder.scala │ │ ├── ranker/ │ │ │ ├── BUILD │ │ │ ├── DefaultRanker.scala │ │ │ └── SwitchRanker.scala │ │ ├── scribe/ │ │ │ ├── BUILD │ │ │ └── ScribeCategory.scala │ │ ├── service/ │ │ │ ├── BUILD.bazel │ │ │ └── CrMixerAlertNotificationConfig.scala │ │ ├── similarity_engine/ │ │ │ ├── BUILD │ │ │ ├── CertoTopicTweetSimilarityEngine.scala │ │ │ ├── ConsumerBasedWalsSimilarityEngine.scala │ │ │ ├── ConsumerEmbeddingBasedTripSimilarityEngine.scala │ │ │ ├── ConsumerEmbeddingBasedTwHINSimilarityEngine.scala │ │ │ ├── ConsumerEmbeddingBasedTwoTowerSimilarityEngine.scala │ │ │ ├── ConsumersBasedUserAdGraphSimilarityEngine.scala │ │ │ ├── ConsumersBasedUserVideoGraphSimilarityEngine.scala │ │ │ ├── DiffusionBasedSimilarityEngine.scala │ │ │ ├── EarlybirdModelBasedSimilarityEngine.scala │ │ │ ├── EarlybirdRecencyBasedSimilarityEngine.scala │ │ │ ├── EarlybirdSimilarityEngine.scala │ │ │ ├── EarlybirdSimilarityEngineBase.scala │ │ │ ├── EarlybirdSimilarityEngineRouter.scala │ │ │ ├── EarlybirdTensorflowBasedSimilarityEngine.scala │ │ │ ├── FilterUtil.scala │ │ │ ├── HnswANNSimilarityEngine.scala │ │ │ ├── LookupSimilarityEngine.scala │ │ │ ├── ModelBasedANNStore.scala │ │ │ ├── ProducerBasedUnifiedSimilarityEngine.scala │ │ │ ├── ProducerBasedUserAdGraphSimilarityEngine.scala │ │ │ ├── ProducerBasedUserTweetGraphSimilarityEngine.scala │ │ │ ├── SimClustersANNSimilarityEngine.scala │ │ │ ├── SimilarityEngine.scala │ │ │ ├── SimilaritySourceOrderingUtil.scala │ │ │ ├── SkitHighPrecisionTopicTweetSimilarityEngine.scala │ │ │ ├── SkitTopicTweetSimilarityEngine.scala │ │ │ ├── StandardSimilarityEngine.scala │ │ │ ├── TweetBasedQigSimilarityEngine.scala │ │ │ ├── TweetBasedUnifiedSimilarityEngine.scala │ │ │ ├── TweetBasedUserAdGraphSimilarityEngine.scala │ │ │ ├── TweetBasedUserTweetGraphSimilarityEngine.scala │ │ │ ├── TweetBasedUserVideoGraphSimilarityEngine.scala │ │ │ ├── TwhinCollabFilterSimilarityEngine.scala │ │ │ └── UserTweetEntityGraphSimilarityEngine.scala │ │ ├── source_signal/ │ │ │ ├── BUILD │ │ │ ├── FrsSourceGraphFetcher.scala │ │ │ ├── FrsSourceSignalFetcher.scala │ │ │ ├── FrsStore.scala │ │ │ ├── RealGraphInSourceGraphFetcher.scala │ │ │ ├── RealGraphOonSourceGraphFetcher.scala │ │ │ ├── SourceFetcher.scala │ │ │ ├── SourceGraphFetcher.scala │ │ │ ├── SourceInfoRouter.scala │ │ │ ├── SourceSignalFetcher.scala │ │ │ ├── UssSourceSignalFetcher.scala │ │ │ └── UssStore.scala │ │ └── util/ │ │ ├── BUILD │ │ ├── CandidateGenerationKeyUtil.scala │ │ ├── CountWeightedInterleaveUtil.scala │ │ ├── EarlybirdSearchUtil.scala │ │ ├── InterleaveUtil.scala │ │ ├── MetricTagUtil.scala │ │ └── SignalTimestampStatsUtil.scala │ └── thrift/ │ └── src/ │ └── main/ │ └── thrift/ │ ├── BUILD │ ├── ads.thrift │ ├── candidate_generation_key.thrift │ ├── cr_mixer.thrift │ ├── frs_based_tweet.thrift │ ├── metric_tags.thrift │ ├── product.thrift │ ├── product_context.thrift │ ├── related_tweet.thrift │ ├── related_video_tweet.thrift │ ├── scribe.thrift │ ├── source_type.thrift │ ├── topic_tweet.thrift │ ├── uteg.thrift │ └── validation.thrift ├── follow-recommendations-service/ │ ├── BUILD │ ├── CONFIG.ini │ ├── README.md │ ├── common/ │ │ └── src/ │ │ └── main/ │ │ └── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── follow_recommendations/ │ │ └── common/ │ │ ├── base/ │ │ │ ├── BUILD │ │ │ ├── CandidateSourceRegistry.scala │ │ │ ├── EnrichedCandidateSource.scala │ │ │ ├── ParamPredicate.scala │ │ │ ├── Predicate.scala │ │ │ ├── PredicateResult.scala │ │ │ ├── Ranker.scala │ │ │ ├── RecommendationFlow.scala │ │ │ ├── SideEffectsUtil.scala │ │ │ ├── StatsUtil.scala │ │ │ └── Transform.scala │ │ ├── candidate_sources/ │ │ │ ├── addressbook/ │ │ │ │ ├── AddressBookParams.scala │ │ │ │ ├── BUILD │ │ │ │ ├── ForwardEmailBookSource.scala │ │ │ │ ├── ForwardPhoneBookSource.scala │ │ │ │ ├── README.md │ │ │ │ ├── ReverseEmailBookSource.scala │ │ │ │ └── ReversePhoneBookSource.scala │ │ │ ├── base/ │ │ │ │ ├── BUILD │ │ │ │ ├── CachedCandidateSource.scala │ │ │ │ ├── ExperimentalCandidateSource.scala │ │ │ │ ├── RealGraphExpansionRepository.scala │ │ │ │ ├── SimilarUserExpanderParams.scala │ │ │ │ ├── SimilarUserExpanderRepository.scala │ │ │ │ ├── SocialProofEnforcedCandidateSource.scala │ │ │ │ ├── SocialProofEnforcedCandidateSourceFSConfig.scala │ │ │ │ ├── SocialProofEnforcedCandidateSourceParams.scala │ │ │ │ ├── StratoFetcherSource.scala │ │ │ │ ├── StratoFetcherWithUnitViewSource.scala │ │ │ │ ├── TweetAuthorsCandidateSource.scala │ │ │ │ └── TwoHopExpansionCandidateSource.scala │ │ │ ├── crowd_search_accounts/ │ │ │ │ ├── BUILD │ │ │ │ ├── CrowdSearchAccountsFSConfig.scala │ │ │ │ ├── CrowdSearchAccountsParams.scala │ │ │ │ ├── CrowdSearchAccountsSource.scala │ │ │ │ └── README.md │ │ │ ├── geo/ │ │ │ │ ├── BUILD │ │ │ │ ├── BasePopGeoHashSource.scala │ │ │ │ ├── PopCountryBackFillSource.scala │ │ │ │ ├── PopCountrySource.scala │ │ │ │ ├── PopGeoQualityFollowSource.scala │ │ │ │ ├── PopGeoQualityFollowSourceFSConfig.scala │ │ │ │ ├── PopGeoQualityFollowSourceParams.scala │ │ │ │ ├── PopGeoSource.scala │ │ │ │ ├── PopGeoSourceFSConfig.scala │ │ │ │ ├── PopGeoSourceParams.scala │ │ │ │ ├── PopGeohashSource.scala │ │ │ │ └── README.md │ │ │ ├── ppmi_locale_follow/ │ │ │ │ ├── BUILD │ │ │ │ ├── PPMILocaleFollowSource.scala │ │ │ │ ├── PPMILocaleFollowSourceFSConfig.scala │ │ │ │ ├── PPMILocaleFollowSourceParams.scala │ │ │ │ └── README.md │ │ │ ├── promoted_accounts/ │ │ │ │ ├── BUILD │ │ │ │ ├── PromotedAccountsCandidateSource.scala │ │ │ │ └── README.md │ │ │ ├── real_graph/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── RealGraphOonFSConfig.scala │ │ │ │ ├── RealGraphOonParams.scala │ │ │ │ ├── RealGraphOonV2Source.scala │ │ │ │ └── RealGraphSource.scala │ │ │ ├── recent_engagement/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── RecentEngagementDirectFollowSource.scala │ │ │ │ ├── RecentEngagementNonDirectFollowSource.scala │ │ │ │ ├── RepeatedProfileVisitsFSConfig.scala │ │ │ │ ├── RepeatedProfileVisitsParams.scala │ │ │ │ └── RepeatedProfileVisitsSource.scala │ │ │ ├── salsa/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── RecentEngagementDirectFollowSalsaExpansionSource.scala │ │ │ │ ├── SalsaExpander.scala │ │ │ │ └── SalsaExpansionBasedCandidateSource.scala │ │ │ ├── sims/ │ │ │ │ ├── BUILD │ │ │ │ ├── CacheBasedSimsStore.scala │ │ │ │ ├── DBV2SimsRefreshStore.scala │ │ │ │ ├── DBV2SimsStore.scala │ │ │ │ ├── Follow2vecNearestNeighborsStore.scala │ │ │ │ ├── README.md │ │ │ │ ├── SimsExperimentalStore.scala │ │ │ │ ├── SimsSourceFSConfig.scala │ │ │ │ ├── SimsSourceParams.scala │ │ │ │ ├── SimsStore.scala │ │ │ │ ├── StratoBasedSimsCandidateSource.scala │ │ │ │ ├── StratoBasedSimsCandidateSourceWithUnitView.scala │ │ │ │ └── SwitchingSimsSource.scala │ │ │ ├── sims_expansion/ │ │ │ │ ├── BUILD │ │ │ │ ├── DBV2SimsExpansionParams.scala │ │ │ │ ├── README.md │ │ │ │ ├── RecentEngagementSimilarUsersFSConfig.scala │ │ │ │ ├── RecentEngagementSimilarUsersParams.scala │ │ │ │ ├── RecentEngagementSimilarUsersSource.scala │ │ │ │ ├── RecentFollowingSimilarUsersParams.scala │ │ │ │ ├── RecentFollowingSimilarUsersSource.scala │ │ │ │ ├── RecentStrongEngagementDirectFollowSimilarUsersSource.scala │ │ │ │ ├── SimsExpansionBasedCandidateSource.scala │ │ │ │ ├── SimsExpansionFSConfig.scala │ │ │ │ └── SimsExpansionSourceParams.scala │ │ │ ├── socialgraph/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── RecentFollowingRecentFollowingExpansionSource.scala │ │ │ │ ├── RecentFollowingRecentFollowingExpansionSourceFSConfig.scala │ │ │ │ └── RecentFollowingRecentFollowingExpansionSourceParams.scala │ │ │ ├── stp/ │ │ │ │ ├── BUILD │ │ │ │ ├── BaseOnlineSTPSource.scala │ │ │ │ ├── Dbv2StpScorer.scala │ │ │ │ ├── EpStpScorer.scala │ │ │ │ ├── MutualFollowStrongTiePredictionSource.scala │ │ │ │ ├── OfflineMutualFollowExpansionSource.scala │ │ │ │ ├── OfflineStpSourceFsConfig.scala │ │ │ │ ├── OfflineStpSourceParams.scala │ │ │ │ ├── OfflineStpSourceWithDensePmiMatrix.scala │ │ │ │ ├── OfflineStpSourceWithLegacyPmiMatrix.scala │ │ │ │ ├── OfflineStrongTiePredictionBaseSource.scala │ │ │ │ ├── OfflineStrongTiePredictionSource.scala │ │ │ │ ├── OnlineSTPSourceFSConfig.scala │ │ │ │ ├── OnlineSTPSourceParams.scala │ │ │ │ ├── OnlineSTPSourceScorer.scala │ │ │ │ ├── OnlineSTPSourceWithDeepbirdV2Scorer.scala │ │ │ │ ├── OnlineSTPSourceWithEPScorer.scala │ │ │ │ ├── README.md │ │ │ │ ├── STPFirstDegreeFetcher.scala │ │ │ │ ├── STPGraphBuilder.scala │ │ │ │ ├── STPSecondDegreeFetcher.scala │ │ │ │ └── SocialProofEnforcedOfflineStrongTiePredictionSource.scala │ │ │ ├── top_organic_follows_accounts/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── TopOrganicFollowsAccountsFSConfig.scala │ │ │ │ ├── TopOrganicFollowsAccountsParams.scala │ │ │ │ └── TopOrganicFollowsAccountsSource.scala │ │ │ ├── triangular_loops/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ ├── TriangularLoopsFSConfig.scala │ │ │ │ ├── TriangularLoopsParams.scala │ │ │ │ └── TriangularLoopsSource.scala │ │ │ ├── two_hop_random_walk/ │ │ │ │ ├── BUILD │ │ │ │ ├── README.md │ │ │ │ └── TwoHopRandomWalkSource.scala │ │ │ └── user_user_graph/ │ │ │ ├── BUILD │ │ │ ├── README.md │ │ │ ├── UserUserGraphCandidateSource.scala │ │ │ ├── UserUserGraphFSConfig.scala │ │ │ └── UserUserGraphParams.scala │ │ ├── clients/ │ │ │ ├── addressbook/ │ │ │ │ ├── AddressbookClient.scala │ │ │ │ ├── AddressbookModule.scala │ │ │ │ ├── BUILD │ │ │ │ └── models/ │ │ │ │ ├── BUILD │ │ │ │ ├── Contact.scala │ │ │ │ ├── EdgeType.scala │ │ │ │ ├── QueryOption.scala │ │ │ │ └── RecordIdentifier.scala │ │ │ ├── adserver/ │ │ │ │ ├── AdRequest.scala │ │ │ │ ├── AdserverClient.scala │ │ │ │ ├── AdserverModule.scala │ │ │ │ └── BUILD │ │ │ ├── cache/ │ │ │ │ ├── BUILD │ │ │ │ ├── MemcacheClient.scala │ │ │ │ ├── MemcacheModule.scala │ │ │ │ └── ThriftBijection.scala │ │ │ ├── common/ │ │ │ │ ├── BUILD │ │ │ │ └── BaseClientModule.scala │ │ │ ├── deepbirdv2/ │ │ │ │ ├── BUILD │ │ │ │ └── DeepBirdV2PredictionServiceClientModule.scala │ │ │ ├── dismiss_store/ │ │ │ │ ├── BUILD │ │ │ │ └── DismissStore.scala │ │ │ ├── email_storage_service/ │ │ │ │ ├── BUILD │ │ │ │ ├── EmailStorageServiceClient.scala │ │ │ │ └── EmailStorageServiceModule.scala │ │ │ ├── geoduck/ │ │ │ │ ├── BUILD │ │ │ │ ├── LocationServiceClient.scala │ │ │ │ ├── LocationServiceModule.scala │ │ │ │ ├── ReverseGeocodeClient.scala │ │ │ │ └── UserLocationFetcher.scala │ │ │ ├── gizmoduck/ │ │ │ │ ├── BUILD │ │ │ │ ├── GizmoduckClient.scala │ │ │ │ └── GizmoduckModule.scala │ │ │ ├── graph_feature_service/ │ │ │ │ ├── BUILD │ │ │ │ ├── GraphFeatureServiceClient.scala │ │ │ │ └── GraphFeatureStoreModule.scala │ │ │ ├── impression_store/ │ │ │ │ ├── BUILD │ │ │ │ ├── ImpressionStoreModule.scala │ │ │ │ └── WtfImpressionStore.scala │ │ │ ├── interests_service/ │ │ │ │ ├── BUILD │ │ │ │ └── InterestServiceClient.scala │ │ │ ├── phone_storage_service/ │ │ │ │ ├── BUILD │ │ │ │ ├── PhoneStorageServiceClient.scala │ │ │ │ └── PhoneStorageServiceModule.scala │ │ │ ├── real_time_real_graph/ │ │ │ │ ├── BUILD │ │ │ │ ├── Engagement.scala │ │ │ │ ├── EngagementScorer.scala │ │ │ │ └── RealTimeRealGraphClient.scala │ │ │ ├── socialgraph/ │ │ │ │ ├── BUILD │ │ │ │ ├── SocialGraphClient.scala │ │ │ │ └── SocialGraphModule.scala │ │ │ ├── strato/ │ │ │ │ ├── BUILD │ │ │ │ └── StratoClientModule.scala │ │ │ └── user_state/ │ │ │ ├── BUILD │ │ │ └── UserStateClient.scala │ │ ├── constants/ │ │ │ ├── BUILD │ │ │ ├── CandidateAlgorithmTypeConstants.scala │ │ │ ├── GuiceNamedConstants.scala │ │ │ └── ServiceConstants.scala │ │ ├── feature_hydration/ │ │ │ ├── adapters/ │ │ │ │ ├── BUILD │ │ │ │ ├── CandidateAlgorithmAdapter.scala │ │ │ │ ├── ClientContextAdapter.scala │ │ │ │ ├── PostNuxAlgorithmAdapter.scala │ │ │ │ └── PreFetchedFeatureAdapter.scala │ │ │ ├── common/ │ │ │ │ ├── BUILD │ │ │ │ ├── FeatureSource.scala │ │ │ │ ├── FeatureSourceId.scala │ │ │ │ └── HasPreFetchedFeature.scala │ │ │ └── sources/ │ │ │ ├── BUILD │ │ │ ├── CandidateAlgorithmSource.scala │ │ │ ├── ClientContextSource.scala │ │ │ ├── FeatureHydrationSourcesFSConfig.scala │ │ │ ├── FeatureHydrationSourcesFeatureSwitchKeys.scala │ │ │ ├── FeatureStoreFeatures.scala │ │ │ ├── FeatureStoreGizmoduckSource.scala │ │ │ ├── FeatureStoreParameters.scala │ │ │ ├── FeatureStorePostNuxAlgorithmSource.scala │ │ │ ├── FeatureStoreSource.scala │ │ │ ├── FeatureStoreSourceParams.scala │ │ │ ├── FeatureStoreTimelinesAuthorSource.scala │ │ │ ├── FeatureStoreUserMetricCountsSource.scala │ │ │ ├── HydrationSourcesModule.scala │ │ │ ├── PreFetchedFeatureSource.scala │ │ │ ├── UserScoringFeatureSource.scala │ │ │ └── Utils.scala │ │ ├── features/ │ │ │ ├── BUILD │ │ │ ├── LocationFeature.scala │ │ │ ├── TrackingTokenFeature.scala │ │ │ └── UserStateFeature.scala │ │ ├── models/ │ │ │ ├── AddressBookMetadata.scala │ │ │ ├── AlgorithmType.scala │ │ │ ├── BUILD │ │ │ ├── CandidateUser.scala │ │ │ ├── ClientContextConverter.scala │ │ │ ├── DisplayLocation.scala │ │ │ ├── EngagementType.scala │ │ │ ├── FilterReason.scala │ │ │ ├── FlowContext.scala │ │ │ ├── FlowRecommendation.scala │ │ │ ├── GeohashAndCountryCode.scala │ │ │ ├── HasAdMetadata.scala │ │ │ ├── HasByfSeedUserIds.scala │ │ │ ├── HasDataRecord.scala │ │ │ ├── HasDebugOptions.scala │ │ │ ├── HasDismissedUserIds.scala │ │ │ ├── HasDisplayLocation.scala │ │ │ ├── HasEngagements.scala │ │ │ ├── HasExcludedUserIds.scala │ │ │ ├── HasGeohashAndCountryCode.scala │ │ │ ├── HasInfoPerRankingStage.scala │ │ │ ├── HasInterestIds.scala │ │ │ ├── HasInvalidRelationshipUserIds.scala │ │ │ ├── HasIsSoftUser.scala │ │ │ ├── HasMutualFollowedUserIds.scala │ │ │ ├── HasPreviousRecommendationsContext.scala │ │ │ ├── HasProfileId.scala │ │ │ ├── HasQualityFactor.scala │ │ │ ├── HasRecentFollowedByUserIds.scala │ │ │ ├── HasRecentFollowedUserIds.scala │ │ │ ├── HasRecentFollowedUserIdsWithTime.scala │ │ │ ├── HasRecentlyEngagedUserIds.scala │ │ │ ├── HasRecommendationFlowIdentifier.scala │ │ │ ├── HasScores.scala │ │ │ ├── HasSimilarToContext.scala │ │ │ ├── HasTopicId.scala │ │ │ ├── HasUserCandidateSourceDetails.scala │ │ │ ├── HasUserState.scala │ │ │ ├── HasWtfImpressions.scala │ │ │ ├── OptimusRequest.scala │ │ │ ├── Product.scala │ │ │ ├── RankingInfo.scala │ │ │ ├── Reason.scala │ │ │ ├── RecentlyEngagedUserId.scala │ │ │ ├── RecommendationStep.scala │ │ │ ├── STPGraph.scala │ │ │ ├── SafetyLevel.scala │ │ │ ├── Score.scala │ │ │ ├── Session.scala │ │ │ ├── SignalData.scala │ │ │ ├── TrackingToken.scala │ │ │ ├── TweetCandidate.scala │ │ │ ├── UserCandidateSourceDetails.scala │ │ │ ├── UserIdAndTimestamp.scala │ │ │ └── WtfImpression.scala │ │ ├── predicates/ │ │ │ ├── BUILD │ │ │ ├── CandidateParamPredicate.scala │ │ │ ├── CandidateSourceParamPredicate.scala │ │ │ ├── CuratedCompetitorListPredicate.scala │ │ │ ├── ExcludedUserIdPredicate.scala │ │ │ ├── InactivePredicate.scala │ │ │ ├── InactivePredicateParams.scala │ │ │ ├── PreviouslyRecommendedUserIdsPredicate.scala │ │ │ ├── dismiss/ │ │ │ │ ├── BUILD │ │ │ │ ├── DismissedCandidatePredicate.scala │ │ │ │ └── DismissedCandidatePredicateParams.scala │ │ │ ├── gizmoduck/ │ │ │ │ ├── BUILD │ │ │ │ ├── GizmoduckPredicate.scala │ │ │ │ ├── GizmoduckPredicateCache.scala │ │ │ │ ├── GizmoduckPredicateFSConfig.scala │ │ │ │ └── GizmoduckPredicateParams.scala │ │ │ ├── health/ │ │ │ │ ├── BUILD │ │ │ │ ├── HssPredicate.scala │ │ │ │ ├── HssPredicateFSConfig.scala │ │ │ │ └── HssPredicateParams.scala │ │ │ ├── sgs/ │ │ │ │ ├── BUILD │ │ │ │ ├── InvalidRelationshipPredicate.scala │ │ │ │ ├── RecentFollowingPredicate.scala │ │ │ │ ├── SgsPredicateFSConfig.scala │ │ │ │ ├── SgsPredicateParams.scala │ │ │ │ ├── SgsRelationshipsByUserIdPredicate.scala │ │ │ │ └── SgsRelationshipsPredicate.scala │ │ │ └── user_activity/ │ │ │ ├── BUILD │ │ │ ├── UserActivityPredicate.scala │ │ │ └── UserActivityPredicateParams.scala │ │ ├── rankers/ │ │ │ ├── common/ │ │ │ │ ├── AdhocScoreModificationType.scala │ │ │ │ ├── BUILD │ │ │ │ ├── DedupCandidates.scala │ │ │ │ └── RankerId.scala │ │ │ ├── fatigue_ranker/ │ │ │ │ ├── BUILD │ │ │ │ ├── ImpressionBasedFatigueRanker.scala │ │ │ │ ├── ImpressionBasedFatigueRankerFSConfig.scala │ │ │ │ └── ImpressionBasedFatigueRankerParams.scala │ │ │ ├── first_n_ranker/ │ │ │ │ ├── BUILD │ │ │ │ ├── FirstNRanker.scala │ │ │ │ ├── FirstNRankerFSConfig.scala │ │ │ │ ├── FirstNRankerFeatureSwitchKeys.scala │ │ │ │ └── FirstNRankerParams.scala │ │ │ ├── interleave_ranker/ │ │ │ │ ├── BUILD │ │ │ │ ├── InterleaveRanker.scala │ │ │ │ ├── InterleaveRankerFSConfig.scala │ │ │ │ └── InterleaveRankerParams.scala │ │ │ ├── ml_ranker/ │ │ │ │ ├── ranking/ │ │ │ │ │ ├── BUILD │ │ │ │ │ ├── HydrateFeaturesTransform.scala │ │ │ │ │ ├── MlRanker.scala │ │ │ │ │ ├── MlRankerFSConfig.scala │ │ │ │ │ └── MlRankerParams.scala │ │ │ │ └── scoring/ │ │ │ │ ├── AdhocScorer.scala │ │ │ │ ├── BUILD │ │ │ │ ├── DeepbirdScorer.scala │ │ │ │ ├── PostnuxDeepbirdProdScorer.scala │ │ │ │ ├── RandomScorer.scala │ │ │ │ ├── Scorer.scala │ │ │ │ └── ScorerFactory.scala │ │ │ ├── utils/ │ │ │ │ ├── BUILD │ │ │ │ └── Utils.scala │ │ │ └── weighted_candidate_source_ranker/ │ │ │ ├── BUILD │ │ │ ├── CandidateShuffle.scala │ │ │ ├── WeightMethod.scala │ │ │ ├── WeightedCandidateSourceBaseRanker.scala │ │ │ ├── WeightedCandidateSourceRanker.scala │ │ │ ├── WeightedCandidateSourceRankerFSConfig.scala │ │ │ └── WeightedCandidateSourceRankerParams.scala │ │ ├── stores/ │ │ │ ├── BUILD │ │ │ └── LowTweepCredFollowStore.scala │ │ ├── transforms/ │ │ │ ├── dedup/ │ │ │ │ ├── BUILD │ │ │ │ └── DedupTransform.scala │ │ │ ├── modify_social_proof/ │ │ │ │ ├── BUILD │ │ │ │ ├── ModifySocialProofTransform.scala │ │ │ │ └── RemoveAccountProofTransform.scala │ │ │ ├── ranker_id/ │ │ │ │ ├── BUILD │ │ │ │ └── RandomRankerIdTransform.scala │ │ │ ├── recommendation_flow_identifier/ │ │ │ │ ├── AddRecommendationFlowIdentifierTransform.scala │ │ │ │ └── BUILD │ │ │ ├── tracking_token/ │ │ │ │ ├── BUILD │ │ │ │ └── TrackingTokenTransform.scala │ │ │ └── weighted_sampling/ │ │ │ ├── BUILD │ │ │ ├── SamplingTransform.scala │ │ │ ├── SamplingTransformFSConfig.scala │ │ │ └── SamplingTransformParams.scala │ │ └── utils/ │ │ ├── BUILD │ │ ├── CollectionUtil.scala │ │ ├── DisplayLocationProductConverterUtil.scala │ │ ├── MergeUtil.scala │ │ ├── RandomUtil.scala │ │ ├── RescueWithStatsUtils.scala │ │ ├── UserSignupUtil.scala │ │ └── Weighted.scala │ ├── server/ │ │ └── src/ │ │ └── main/ │ │ ├── resources/ │ │ │ ├── BUILD │ │ │ ├── config/ │ │ │ │ └── decider.yml │ │ │ ├── logback.xml │ │ │ └── quality/ │ │ │ └── stp_models/ │ │ │ └── 20141223/ │ │ │ ├── epModel │ │ │ └── trainingConfig │ │ └── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── follow_recommendations/ │ │ ├── BUILD │ │ ├── FollowRecommendationsServiceThriftServer.scala │ │ ├── assembler/ │ │ │ └── models/ │ │ │ ├── Action.scala │ │ │ ├── BUILD │ │ │ ├── Config.scala │ │ │ ├── FeedbackAction.scala │ │ │ ├── Footer.scala │ │ │ ├── Header.scala │ │ │ ├── Layout.scala │ │ │ ├── RecommendationOptions.scala │ │ │ ├── SocialProof.scala │ │ │ ├── Title.scala │ │ │ └── WTFPresentation.scala │ │ ├── blenders/ │ │ │ ├── BUILD │ │ │ └── PromotedAccountsBlender.scala │ │ ├── configapi/ │ │ │ ├── BUILD │ │ │ ├── ConfigBuilder.scala │ │ │ ├── DeciderConfigs.scala │ │ │ ├── FeatureSwitchConfigs.scala │ │ │ ├── GlobalFeatureSwitchConfig.scala │ │ │ ├── ParamsFactory.scala │ │ │ ├── RequestContext.scala │ │ │ ├── RequestContextFactory.scala │ │ │ ├── candidates/ │ │ │ │ ├── BUILD │ │ │ │ ├── CandidateUserContext.scala │ │ │ │ ├── CandidateUserContextFactory.scala │ │ │ │ ├── CandidateUserParamsFactory.scala │ │ │ │ └── HydrateCandidateParamsTransform.scala │ │ │ ├── common/ │ │ │ │ ├── BUILD │ │ │ │ └── FeatureSwitchConfig.scala │ │ │ ├── deciders/ │ │ │ │ ├── BUILD │ │ │ │ ├── DeciderKey.scala │ │ │ │ └── DeciderParams.scala │ │ │ └── params/ │ │ │ ├── BUILD │ │ │ └── GlobalParams.scala │ │ ├── controllers/ │ │ │ ├── BUILD │ │ │ ├── CandidateUserDebugParamsBuilder.scala │ │ │ ├── RecommendationRequestBuilder.scala │ │ │ ├── RequestBuilderUserFetcher.scala │ │ │ ├── ScoringUserRequestBuilder.scala │ │ │ └── ThriftController.scala │ │ ├── flows/ │ │ │ ├── ads/ │ │ │ │ ├── BUILD │ │ │ │ ├── PromotedAccountsFlow.scala │ │ │ │ ├── PromotedAccountsFlowParams.scala │ │ │ │ ├── PromotedAccountsFlowRequest.scala │ │ │ │ └── PromotedAccountsUtil.scala │ │ │ ├── content_recommender_flow/ │ │ │ │ ├── BUILD │ │ │ │ ├── ContentRecommenderFlow.scala │ │ │ │ ├── ContentRecommenderFlowCandidateSourceRegistry.scala │ │ │ │ ├── ContentRecommenderFlowCandidateSourceWeights.scala │ │ │ │ ├── ContentRecommenderFlowCandidateSourceWeightsParams.scala │ │ │ │ ├── ContentRecommenderFlowFSConfig.scala │ │ │ │ ├── ContentRecommenderFlowFeatureSwitchKeys.scala │ │ │ │ ├── ContentRecommenderParams.scala │ │ │ │ ├── ContentRecommenderRequest.scala │ │ │ │ └── ContentRecommenderRequestBuilder.scala │ │ │ └── post_nux_ml/ │ │ │ ├── BUILD │ │ │ ├── PostNuxMlCandidateSourceRegistry.scala │ │ │ ├── PostNuxMlCandidateSourceWeightParams.scala │ │ │ ├── PostNuxMlCombinedRankerBuilder.scala │ │ │ ├── PostNuxMlFlow.scala │ │ │ ├── PostNuxMlFlowCandidateSourceWeights.scala │ │ │ ├── PostNuxMlFlowCandidateSourceWeightsFeatureSwitchKeys.scala │ │ │ ├── PostNuxMlFlowFSConfig.scala │ │ │ ├── PostNuxMlFlowFeatureSwitchKeys.scala │ │ │ ├── PostNuxMlParams.scala │ │ │ ├── PostNuxMlRequest.scala │ │ │ ├── PostNuxMlRequestBuilder.scala │ │ │ └── PostNuxMlRequestBuilderParams.scala │ │ ├── logging/ │ │ │ ├── BUILD │ │ │ └── FrsLogger.scala │ │ ├── models/ │ │ │ ├── BUILD │ │ │ ├── CandidateSourceType.scala │ │ │ ├── CandidateUserDebugParams.scala │ │ │ ├── DebugParams.scala │ │ │ ├── DisplayContext.scala │ │ │ ├── FeatureValue.scala │ │ │ ├── RecommendationFlowData.scala │ │ │ ├── RecommendationRequest.scala │ │ │ ├── RecommendationResponse.scala │ │ │ ├── Request.scala │ │ │ ├── ScoringUserRequest.scala │ │ │ ├── ScoringUserResponse.scala │ │ │ └── failures/ │ │ │ ├── BUILD │ │ │ └── TimeoutPipelineFailure.scala │ │ ├── modules/ │ │ │ ├── ABDeciderModule.scala │ │ │ ├── BUILD │ │ │ ├── ConfigApiModule.scala │ │ │ ├── DiffyModule.scala │ │ │ ├── FeatureSwitchesModule.scala │ │ │ ├── FlagsModule.scala │ │ │ ├── ProductRegistryModule.scala │ │ │ ├── ScorerModule.scala │ │ │ ├── ScribeModule.scala │ │ │ └── TimerModule.scala │ │ ├── products/ │ │ │ ├── BUILD │ │ │ ├── ProdProductRegistry.scala │ │ │ ├── common/ │ │ │ │ ├── BUILD │ │ │ │ ├── Exceptions.scala │ │ │ │ ├── Product.scala │ │ │ │ └── ProductRegistry.scala │ │ │ ├── explore_tab/ │ │ │ │ ├── BUILD │ │ │ │ ├── ExploreTabProduct.scala │ │ │ │ └── configapi/ │ │ │ │ ├── BUILD │ │ │ │ ├── ExploreTabFSConfig.scala │ │ │ │ └── ExploreTabParams.scala │ │ │ ├── home_timeline/ │ │ │ │ ├── BUILD │ │ │ │ ├── HTLProductMixer.scala │ │ │ │ ├── HomeTimelineProduct.scala │ │ │ │ ├── HomeTimelineStrings.scala │ │ │ │ └── configapi/ │ │ │ │ ├── BUILD │ │ │ │ ├── HomeTimelineFSConfig.scala │ │ │ │ └── HomeTimelineParams.scala │ │ │ ├── home_timeline_tweet_recs/ │ │ │ │ ├── BUILD │ │ │ │ ├── HomeTimelineTweetRecsProduct.scala │ │ │ │ └── configapi/ │ │ │ │ ├── BUILD │ │ │ │ └── HomeTimelineTweetRecsParams.scala │ │ │ └── sidebar/ │ │ │ ├── BUILD │ │ │ ├── SidebarProduct.scala │ │ │ └── configapi/ │ │ │ ├── BUILD │ │ │ └── SidebarParams.scala │ │ ├── services/ │ │ │ ├── BUILD │ │ │ ├── FollowRecommendationsServiceWarmupHandler.scala │ │ │ ├── ProductMixerRecommendationService.scala │ │ │ ├── ProductPipelineSelector.scala │ │ │ ├── ProductPipelineSelectorConfig.scala │ │ │ ├── ProductRecommenderService.scala │ │ │ ├── RecommendationsService.scala │ │ │ ├── UserScoringService.scala │ │ │ └── exceptions/ │ │ │ ├── BUILD │ │ │ └── UnknownExceptionMapper.scala │ │ └── utils/ │ │ ├── BUILD │ │ ├── CandidateSourceHoldbackUtil.scala │ │ └── RecommendationFlowBaseSideEffectsUtil.scala │ └── thrift/ │ └── src/ │ └── main/ │ └── thrift/ │ ├── BUILD │ ├── assembler.thrift │ ├── client_context.thrift │ ├── debug.thrift │ ├── display_context.thrift │ ├── display_location.thrift │ ├── engagementType.thrift │ ├── flows.thrift │ ├── follow-recommendations-service.thrift │ ├── follow_recommendations_serving_history.thrift │ ├── logging/ │ │ ├── BUILD │ │ ├── client_context.thrift │ │ ├── debug.thrift │ │ ├── display_context.thrift │ │ ├── display_location.thrift │ │ ├── engagementType.thrift │ │ ├── flows.thrift │ │ ├── logs.thrift │ │ ├── reasons.thrift │ │ ├── recently_engaged_user_id.thrift │ │ ├── recommendations.thrift │ │ ├── scoring.thrift │ │ └── tracking.thrift │ ├── reasons.thrift │ ├── recently_engaged_user_id.thrift │ ├── recommendations.thrift │ ├── scoring.thrift │ └── tracking.thrift ├── graph-feature-service/ │ ├── BUILD.bazel │ ├── README.md │ ├── doc/ │ │ ├── common.md │ │ └── getintersection.md │ └── src/ │ └── main/ │ ├── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── graph_feature_service/ │ │ ├── common/ │ │ │ ├── BUILD.bazel │ │ │ └── Configs.scala │ │ ├── server/ │ │ │ ├── BUILD.bazel │ │ │ ├── Main.scala │ │ │ ├── controllers/ │ │ │ │ └── ServerController.scala │ │ │ ├── handlers/ │ │ │ │ ├── ServerGetIntersectionHandler.scala │ │ │ │ └── ServerWarmupHandler.scala │ │ │ ├── modules/ │ │ │ │ ├── GetIntersectionStoreModule.scala │ │ │ │ ├── GraphFeatureServiceWorkerClientsModule.scala │ │ │ │ ├── LZ4Injection.scala │ │ │ │ └── ServerFlagModule.scala │ │ │ └── stores/ │ │ │ ├── FeatureTypesEncoder.scala │ │ │ └── GetIntersectionStore.scala │ │ ├── util/ │ │ │ ├── BUILD │ │ │ ├── FeatureTypesCalculator.scala │ │ │ └── IntersectionValueCalculator.scala │ │ └── worker/ │ │ ├── BUILD.bazel │ │ ├── Main.scala │ │ ├── controllers/ │ │ │ └── WorkerController.scala │ │ ├── handlers/ │ │ │ ├── WorkerGetIntersectionHandler.scala │ │ │ └── WorkerWarmupHandler.scala │ │ ├── modules/ │ │ │ ├── GraphContainerProviderModule.scala │ │ │ └── WorkerFlagModule.scala │ │ └── util/ │ │ ├── AutoUpdatingGraph.scala │ │ ├── GfsQuery.scala │ │ ├── GraphContainer.scala │ │ ├── GraphKey.scala │ │ └── GraphType.scala │ ├── scalding/ │ │ └── com/ │ │ └── twitter/ │ │ └── graph_feature_service/ │ │ └── scalding/ │ │ ├── BUILD.bazel │ │ ├── EdgeFeature.scala │ │ ├── GraphFeatureServiceAppBase.scala │ │ ├── GraphFeatureServiceApps.scala │ │ ├── GraphFeatureServiceMainJob.scala │ │ └── adhoc/ │ │ ├── BUILD.bazel │ │ └── RandomRequestGenerationApp.scala │ └── thrift/ │ └── com/ │ └── twitter/ │ └── graph_feature_service/ │ ├── BUILD │ └── graph_feature_service.thrift ├── home-mixer/ │ ├── BUILD.bazel │ ├── README.md │ └── server/ │ └── src/ │ └── main/ │ └── scala/ │ └── com/ │ └── twitter/ │ └── home_mixer/ │ ├── BUILD.bazel │ ├── HomeMixerHttpServerWarmupHandler.scala │ ├── HomeMixerServer.scala │ ├── HomeMixerThriftServerWarmupHandler.scala │ ├── candidate_pipeline/ │ │ ├── BUILD.bazel │ │ ├── ConversationServiceCandidatePipelineConfig.scala │ │ ├── ConversationServiceCandidatePipelineConfigBuilder.scala │ │ ├── ConversationServiceResponseFeatureTransformer.scala │ │ ├── EditedTweetsCandidatePipelineConfig.scala │ │ ├── NewTweetsPillCandidatePipelineConfig.scala │ │ ├── TimelineServiceResponseFeatureTransformer.scala │ │ └── VerifiedPromptCandidatePipelineConfig.scala │ ├── controller/ │ │ ├── BUILD.bazel │ │ ├── HomeHttpController.scala │ │ └── HomeThriftController.scala │ ├── federated/ │ │ ├── BUILD.bazel │ │ └── HomeMixerColumn.scala │ ├── functional_component/ │ │ ├── candidate_source/ │ │ │ ├── BUILD.bazel │ │ │ ├── EarlybirdCandidateSource.scala │ │ │ └── StaleTweetsCacheCandidateSource.scala │ │ ├── decorator/ │ │ │ ├── BUILD.bazel │ │ │ ├── EntryPointPivotModuleDecorator.scala │ │ │ ├── ForYouTweetCandidateDecorator.scala │ │ │ ├── HomeConversationServiceCandidateDecorator.scala │ │ │ ├── HomeQueryTypePredicates.scala │ │ │ ├── KeywordTrendsModuleCandidateDecorator.scala │ │ │ ├── PinnedTweetBroadcastCandidateDecorator.scala │ │ │ ├── StoriesModuleCandidateDecorator.scala │ │ │ ├── TuneFeedModuleCandidateDecorator.scala │ │ │ ├── TweetCarouselModuleCandidateDecorator.scala │ │ │ ├── VideoCarouselModuleCandidateDecorator.scala │ │ │ ├── builder/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── HomeAdsClientEventDetailsBuilder.scala │ │ │ │ ├── HomeClientEventDetailsBuilder.scala │ │ │ │ ├── HomeClientEventInfoBuilder.scala │ │ │ │ ├── HomeConversationModuleMetadataBuilder.scala │ │ │ │ ├── HomeTimelinesScoreInfoBuilder.scala │ │ │ │ ├── HomeTweetTypePredicates.scala │ │ │ │ ├── KeywordTrendMetaDescriptionBuilder.scala │ │ │ │ ├── ListClientEventDetailsBuilder.scala │ │ │ │ └── VerifiedPromptBuilder.scala │ │ │ └── urt/ │ │ │ └── builder/ │ │ │ ├── AddEntriesWithReplaceAndShowAlertAndShowCoverInstructionBuilder.scala │ │ │ ├── AuthorChildFeedbackActionBuilder.scala │ │ │ ├── BUILD.bazel │ │ │ ├── BlockUserChildFeedbackActionBuilder.scala │ │ │ ├── ChildFeedbackActionBuilder.scala │ │ │ ├── DebugSocialContextBuilder.scala │ │ │ ├── DontLikeFeedbackActionBuilder.scala │ │ │ ├── EngagerSocialContextBuilder.scala │ │ │ ├── ExtendedReplySocialContextBuilder.scala │ │ │ ├── FeedbackStrings.scala │ │ │ ├── FeedbackUtil.scala │ │ │ ├── FollowedBySocialContextBuilder.scala │ │ │ ├── HomeFeedbackActionInfoBuilder.scala │ │ │ ├── HomeTweetContextBuilder.scala │ │ │ ├── HomeTweetSocialContextBuilder.scala │ │ │ ├── HomeWhoToFollowFeedbackActionInfoBuilder.scala │ │ │ ├── HomeWhoToSubscribeFeedbackActionInfoBuilder.scala │ │ │ ├── LikedBySocialContextBuilder.scala │ │ │ ├── ListsSocialContextBuilder.scala │ │ │ ├── MuteUserChildFeedbackActionBuilder.scala │ │ │ ├── NotInterestedTopicFeedbackActionBuilder.scala │ │ │ ├── NotRelevantChildFeedbackActionBuilder.scala │ │ │ ├── PopularInYourAreaSocialContextBuilder.scala │ │ │ ├── PopularVideoSocialContextBuilder.scala │ │ │ ├── PostDetailsNegativeFeedbackActionBuilder.scala │ │ │ ├── PostFeedbackActionBuilder.scala │ │ │ ├── PostFollowupFeedbackActionBuilder.scala │ │ │ ├── ReceivedReplySocialContextBuilder.scala │ │ │ ├── RelevancePromptCandidateUrtItemBuilder.scala │ │ │ ├── ReportTweetChildFeedbackActionBuilder.scala │ │ │ ├── RetweeterChildFeedbackActionBuilder.scala │ │ │ ├── ServedTypeSocialContextBuilder.scala │ │ │ ├── TopicSocialContextBuilder.scala │ │ │ ├── TuneFeedFeedbackActionInfoBuilder.scala │ │ │ └── UnfollowUserChildFeedbackActionBuilder.scala │ │ ├── feature_hydrator/ │ │ │ ├── AncestorFeatureHydrator.scala │ │ │ ├── AuthorFeatureHydrator.scala │ │ │ ├── AuthorLargeEmbeddingsFeatureHydrator.scala │ │ │ ├── BUILD.bazel │ │ │ ├── BasketballContextFeatureHydrator.scala │ │ │ ├── BroadcastStateFeatureHydrator.scala │ │ │ ├── CategoryDiversityRescoringFeatureHydrator.scala │ │ │ ├── ClipEmbeddingFeatureHydrator.scala │ │ │ ├── ClipEmbeddingMediaUnderstandingFeatureHydrator.scala │ │ │ ├── ClipImageClusterIdFeatureHydrator.scala │ │ │ ├── DependentBulkCandidateFeatureHydrator.scala │ │ │ ├── DismissInfoQueryFeatureHydrator.scala │ │ │ ├── DiversityRescoringFeatureHydrator.scala │ │ │ ├── EarlybirdSearchResultFeatureHydrator.scala │ │ │ ├── FeedbackHistoryQueryFeatureHydrator.scala │ │ │ ├── FollowableUttTopicsQueryFeatureHydrator.scala │ │ │ ├── FrsSeedUsersQueryFeatureHydrator.scala │ │ │ ├── GeoduckAuthorLocationHydrator.scala │ │ │ ├── GizmoduckAuthorFeatureHydrator.scala │ │ │ ├── GizmoduckUserQueryFeatureHydrator.scala │ │ │ ├── GraphTwoHopFeatureHydrator.scala │ │ │ ├── GrokAnnotationsFeatureHydrator.scala │ │ │ ├── GrokGorkContentCreatorFeatureHydrator.scala │ │ │ ├── GrokTranslatedPostIsCachedFeatureHydrator.scala │ │ │ ├── HeartbeatOptimizerParamsHydrator.scala │ │ │ ├── HeavyRankerWeightsQueryFeatureHydrator.scala │ │ │ ├── ImpressedImageClusterIdsQueryFeatureHydrator.scala │ │ │ ├── ImpressedMediaClusterIdsQueryFeatureHydrator.scala │ │ │ ├── ImpressionBloomFilterQueryFeatureHydrator.scala │ │ │ ├── InNetworkFeatureHydrator.scala │ │ │ ├── LastNegativeFeedbackTimeQueryFeatureHydrator.scala │ │ │ ├── LastNonPollingTimeQueryFeatureHydrator.scala │ │ │ ├── ListIdsQueryFeatureHydrator.scala │ │ │ ├── MediaClusterIdFeatureHydrator.scala │ │ │ ├── MediaCompletionRateFeatureHydrator.scala │ │ │ ├── MultiModalEmbeddingsFeatureHydrator.scala │ │ │ ├── NamesFeatureHydrator.scala │ │ │ ├── NaviClientConfigQueryFeatureHydrator.scala │ │ │ ├── NaviVideoClientConfigQueryFeatureHydrator.scala │ │ │ ├── OnPremRealGraphQueryFeatureHydrator.scala │ │ │ ├── OptimizerWeightsQueryFeatureHydrator.scala │ │ │ ├── OriginalAuthorLargeEmbeddingsFeatureHydrator.scala │ │ │ ├── OriginalTweetLargeEmbeddingsFeatureHydrator.scala │ │ │ ├── PersistenceStoreQueryFeatureHydrator.scala │ │ │ ├── PerspectiveFilteredSocialContextFeatureHydrator.scala │ │ │ ├── PhoenixRescoringFeatureHydrator.scala │ │ │ ├── PostContextFeatureHydrator.scala │ │ │ ├── RateLimitQueryFeatureHydrator.scala │ │ │ ├── RealGraphInNetworkScoresQueryFeatureHydrator.scala │ │ │ ├── RealGraphQueryFeatureHydrator.scala │ │ │ ├── RealGraphViewerAuthorFeatureHydrator.scala │ │ │ ├── RealGraphViewerRelatedUsersFeatureHydrator.scala │ │ │ ├── RealTimeEntityRealGraphQueryFeatureHydrator.scala │ │ │ ├── RealTimeInteractionGraphEdgeFeatureHydrator.scala │ │ │ ├── RealTimeInteractionGraphUserVertexQueryFeatureHydrator.scala │ │ │ ├── RequestQueryFeatureHydrator.scala │ │ │ ├── RequestTimeQueryFeatureHydrator.scala │ │ │ ├── SGSValidSocialContextFeatureHydrator.scala │ │ │ ├── SimClustersEngagementSimilarityFeatureHydrator.scala │ │ │ ├── SimClustersLogFavBasedTweetFeatureHydrator.scala │ │ │ ├── SimClustersUserSparseEmbeddingsQueryFeatureHydrator.scala │ │ │ ├── SimClustersUserTweetScoresHydrator.scala │ │ │ ├── SimclusterBasedTopAuthorsQueryFeatureHydrator.scala │ │ │ ├── SlopAuthorFeatureHydrator.scala │ │ │ ├── SpaceStateFeatureHydrator.scala │ │ │ ├── TSPInferredTopicFeatureHydrator.scala │ │ │ ├── TransformerPostEmbeddingFeatureHydrator.scala │ │ │ ├── TweetEntityServiceContentFeatureHydrator.scala │ │ │ ├── TweetEntityServiceFeatureHydrator.scala │ │ │ ├── TweetImpressionsQueryFeatureHydrator.scala │ │ │ ├── TweetLanguageFeatureHydrator.scala │ │ │ ├── TweetLargeEmbeddingsFeatureHydrator.scala │ │ │ ├── TweetMetaDataFeatureHydrator.scala │ │ │ ├── TweetTimeFeatureHydrator.scala │ │ │ ├── TweetTypeMetricsFeatureHydrator.scala │ │ │ ├── TweetypieFeatureHydrator.scala │ │ │ ├── TwhinAuthorFollowFeatureHydrator.scala │ │ │ ├── TwhinRebuildTweetFeatureHydrator.scala │ │ │ ├── TwhinRebuildUserEngagementQueryFeatureHydrator.scala │ │ │ ├── TwhinRebuildUserPositiveQueryFeatureHydrator.scala │ │ │ ├── TwhinTweetFeatureHydrator.scala │ │ │ ├── TwhinUserEngagementQueryFeatureHydrator.scala │ │ │ ├── TwhinUserFollowQueryFeatureHydrator.scala │ │ │ ├── TwhinUserNegativeFeatureHydrator.scala │ │ │ ├── TwhinUserPositiveFeatureHydrator.scala │ │ │ ├── TwhinVideoFeatureHydrator.scala │ │ │ ├── UnifiedUserActionsUserIdentifierFeatureHydrator.scala │ │ │ ├── UserActionByteArrayQueryFeatureHydrator.scala │ │ │ ├── UserActionsQueryFeatureHydrator.scala │ │ │ ├── UserEngagedGrokCategoriesFeatureHydrator.scala │ │ │ ├── UserEngagedLanguagesFeatureHydrator.scala │ │ │ ├── UserEngagementGrokTagFeatureHydrator.scala │ │ │ ├── UserFrequentLocationHydrator.scala │ │ │ ├── UserFrequentLocationQueryFeatureHydrator.scala │ │ │ ├── UserHistoryTransformerEmbeddingQueryFeatureHydrator.scala │ │ │ ├── UserLanguagesFeatureHydrator.scala │ │ │ ├── UserLargeEmbeddingsFeatureHydrator.scala │ │ │ ├── UserStateQueryFeatureHydrator.scala │ │ │ ├── UserSubscriptionQueryFeatureHydrator.scala │ │ │ ├── UserUnderstandableLangaugesFeatureHydrator.scala │ │ │ ├── UtegFeatureHydrator.scala │ │ │ ├── VideoSummaryEmbeddingFeatureHydrator.scala │ │ │ ├── ViewCountsFeatureHydrator.scala │ │ │ ├── ViralContentCreatorMetricsFeatureHydrator.scala │ │ │ ├── WithDefaultFeatureMap.scala │ │ │ ├── adapters/ │ │ │ │ ├── author_features/ │ │ │ │ │ ├── AuthorFeaturesAdapter.scala │ │ │ │ │ └── BUILD.bazel │ │ │ │ ├── content/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ ├── ClipEmbeddingFeaturesAdapter.scala │ │ │ │ │ ├── ContentFeatureAdapter.scala │ │ │ │ │ ├── TextTokensFeaturesAdapter.scala │ │ │ │ │ └── VideoSummaryEmbeddingFeaturesAdaptor.scala │ │ │ │ ├── gizmoduck_features/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── GizmoduckFeaturesAdapter.scala │ │ │ │ ├── inferred_topic/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── InferredTopicAdapter.scala │ │ │ │ ├── light_ranking_features/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── LightRankingCandidateFeaturesAdapter.scala │ │ │ │ ├── non_ml_features/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ ├── NonMLCandidateFeaturesAdapter.scala │ │ │ │ │ └── NonMLCommonFeaturesAdapter.scala │ │ │ │ ├── offline_aggregates/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ ├── PassThroughAdapter.scala │ │ │ │ │ └── SparseAggregatesToDenseAdapter.scala │ │ │ │ ├── simclusters_features/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── SimclustersFeaturesAdapter.scala │ │ │ │ ├── transformer_embeddings/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ ├── TransformerEmbeddingsAdapter.scala │ │ │ │ │ ├── UserHistoryEventsAdapter.scala │ │ │ │ │ └── VideoUserHistoryEventsAdapter.scala │ │ │ │ └── twhin_embeddings/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── TwhinEmbeddingsAdapter.scala │ │ │ ├── offline_aggregates/ │ │ │ │ ├── AggregateFeatureInfo.scala │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── BaseEdgeAggregateFeatureHydrator.scala │ │ │ │ ├── EdgeAggregateFeatures.scala │ │ │ │ ├── PartAAggregateQueryFeatureHydrator.scala │ │ │ │ ├── PartBAggregateQueryFeatureHydrator.scala │ │ │ │ ├── TopicEdgeAggregateFeatureHydrator.scala │ │ │ │ ├── TopicEdgeTruncatedAggregateFeatureHydrator.scala │ │ │ │ ├── TweetContentEdgeAggregateFeatureHydrator.scala │ │ │ │ ├── UserEngagerEdgeAggregateFeatureHydrator.scala │ │ │ │ ├── UserEntityEdgeAggregateFeatureHydrator.scala │ │ │ │ └── Utils.scala │ │ │ ├── real_time_aggregates/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── EngagementsReceivedByAuthorRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── FlagBasedRealTimeAggregateBulkCandidateFeatureHydrator.scala │ │ │ │ ├── TopicCountryEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TopicEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TweetCountryEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TweetEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TwitterListEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── UserAuthorEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── UserEngagementRealTimeAggregatesFeatureHydrator.scala │ │ │ │ └── UserTweetTvVideoRealTimeAggregateFeatureHydrator.scala │ │ │ └── user_history/ │ │ │ ├── BUILD.bazel │ │ │ ├── BaseUserHistoryEventsQueryFeatureHydrator.scala │ │ │ ├── ScoredTweetsUserHistoryEventsQueryFeatureHydrator.scala │ │ │ └── ScoredVideoTweetsUserHistoryEventsQueryFeatureHydrator.scala │ │ ├── filter/ │ │ │ ├── AuthorDedupFilter.scala │ │ │ ├── BUILD.bazel │ │ │ ├── ClipClusterDeduplicationFilter.scala │ │ │ ├── ClusterBasedDedupFilter.scala │ │ │ ├── ConsistentAspectRatioFilter.scala │ │ │ ├── CountryFilter.scala │ │ │ ├── CurrentPinnedTweetFilter.scala │ │ │ ├── DropMaxCandidatesFilter.scala │ │ │ ├── FeedbackFatigueFilter.scala │ │ │ ├── GrokGoreFilter.scala │ │ │ ├── GrokNsfwFilter.scala │ │ │ ├── GrokSpamFilter.scala │ │ │ ├── GrokViolentFilter.scala │ │ │ ├── HasAuthorFilter.scala │ │ │ ├── HasMultipleMediaFilter.scala │ │ │ ├── InvalidConversationModuleFilter.scala │ │ │ ├── InvalidSubscriptionTweetFilter.scala │ │ │ ├── LocationFilter.scala │ │ │ ├── MaxVideoDurationFilter.scala │ │ │ ├── MediaDeduplicationFilter.scala │ │ │ ├── MinVideoDurationFilter.scala │ │ │ ├── PredicateGatedFilter.scala │ │ │ ├── PreviouslySeenMediaIdsFilter.scala │ │ │ ├── PreviouslySeenTweetsFilter.scala │ │ │ ├── PreviouslyServedAncestorsFilter.scala │ │ │ ├── PreviouslyServedTweetPreviewsFilter.scala │ │ │ ├── PreviouslyServedTweetsFilter.scala │ │ │ ├── QuoteDeduplicationFilter.scala │ │ │ ├── RegionFilter.scala │ │ │ ├── RejectTweetFromViewerFilter.scala │ │ │ ├── ReplyFilter.scala │ │ │ ├── RetweetDeduplicationFilter.scala │ │ │ ├── RetweetFilter.scala │ │ │ ├── SlopFilter.scala │ │ │ ├── TweetHydrationFilter.scala │ │ │ └── WeeklyBookmarkFilter.scala │ │ ├── gate/ │ │ │ ├── AllowForYouRecommendationsGate.scala │ │ │ ├── BUILD.bazel │ │ │ ├── BookmarksTimeGate.scala │ │ │ ├── DismissFatigueGate.scala │ │ │ ├── ExcludeSoftUserGate.scala │ │ │ ├── ExcludeSyntheticUserGate.scala │ │ │ ├── PersistenceStoreDurationValidationGate.scala │ │ │ ├── RateLimitGate.scala │ │ │ ├── RateLimitNotGate.scala │ │ │ ├── RecentlyServedByServedTypeGate.scala │ │ │ ├── RequestContextGate.scala │ │ │ ├── RequestContextNotGate.scala │ │ │ ├── SupportedLanguagesGate.scala │ │ │ ├── TestUserProbabilisticGate.scala │ │ │ └── TimelinesPersistenceStoreLastInjectionGate.scala │ │ ├── query_transformer/ │ │ │ ├── BUILD.bazel │ │ │ └── EditedTweetsCandidatePipelineQueryTransformer.scala │ │ ├── scorer/ │ │ │ ├── BUILD.bazel │ │ │ ├── FeedbackFatigueScorer.scala │ │ │ ├── NaviModelScorer.scala │ │ │ ├── OONTweetScalingScorer.scala │ │ │ ├── PhoenixModelRerankingScorer.scala │ │ │ ├── PhoenixScorer.scala │ │ │ ├── PredictClientFactory.scala │ │ │ └── WeighedModelRerankingScorer.scala │ │ ├── selector/ │ │ │ ├── BUILD.bazel │ │ │ ├── DebunchCandidates.scala │ │ │ ├── RandomShuffleCandidates.scala │ │ │ ├── ScoreAveragingPositionSelector.scala │ │ │ ├── SortFixedPositionCandidates.scala │ │ │ ├── UpdateConversationModuleId.scala │ │ │ ├── UpdateHomeClientEventDetails.scala │ │ │ └── UpdateNewTweetsPillDecoration.scala │ │ └── side_effect/ │ │ ├── BUILD.bazel │ │ ├── BaseCacheCandidateFeaturesSideEffect.scala │ │ ├── ClientEventsBuilder.scala │ │ ├── CommonFeaturesPldrConverter.scala │ │ ├── HomeScribeClientEventSideEffect.scala │ │ ├── HomeScribeServedCandidatesSideEffect.scala │ │ ├── PublishClientSentImpressionsEventBusSideEffect.scala │ │ ├── PublishClientSentImpressionsManhattanSideEffect.scala │ │ ├── PublishImpressionBloomFilterSideEffect.scala │ │ ├── TruncateTimelinesPersistenceStoreSideEffect.scala │ │ ├── UpdateLastNonPollingTimeSideEffect.scala │ │ └── UpdateTimelinesPersistenceStoreSideEffect.scala │ ├── marshaller/ │ │ ├── request/ │ │ │ ├── BUILD.bazel │ │ │ ├── DeviceContextUnmarshaller.scala │ │ │ ├── HomeMixerDebugParamsUnmarshaller.scala │ │ │ ├── HomeMixerProductContextUnmarshaller.scala │ │ │ ├── HomeMixerProductUnmarshaller.scala │ │ │ └── HomeMixerRequestUnmarshaller.scala │ │ ├── timeline_logging/ │ │ │ ├── BUILD.bazel │ │ │ ├── PromotedTweetDetailsMarshaller.scala │ │ │ ├── TweetDetailsMarshaller.scala │ │ │ └── WhoToFollowDetailsMarshaller.scala │ │ └── timelines/ │ │ ├── BUILD.bazel │ │ ├── ChronologicalCursorMarshaller.scala │ │ ├── ChronologicalCursorUnmarshaller.scala │ │ ├── DeviceContextMarshaller.scala │ │ ├── RecommendedUsersCursorUnmarshaller.scala │ │ ├── TimelineServiceCursorMarshaller.scala │ │ └── TopicContextFunctionalityTypeUnmarshaller.scala │ ├── model/ │ │ ├── BUILD.bazel │ │ ├── ClearCacheIncludeInstruction.scala │ │ ├── ContentFeatures.scala │ │ ├── GapIncludeInstruction.scala │ │ ├── GrokTopics.scala │ │ ├── HomeAdsQuery.scala │ │ ├── HomeFeatures.scala │ │ ├── HomeLargeEmbeddingsFeatures.scala │ │ ├── NaviClientConfig.scala │ │ ├── NavigationIncludeInstruction.scala │ │ ├── PhoenixPredictedScoreFeature.scala │ │ ├── PredictedScoreFeature.scala │ │ ├── candidate_source/ │ │ │ ├── BUILD.bazel │ │ │ └── SourceSignal.scala │ │ ├── request/ │ │ │ ├── BUILD.bazel │ │ │ ├── DeviceContext.scala │ │ │ ├── HasListId.scala │ │ │ ├── HasSeenTweetIds.scala │ │ │ ├── HomeMixerDebugOptions.scala │ │ │ ├── HomeMixerProduct.scala │ │ │ ├── HomeMixerProductContext.scala │ │ │ └── HomeMixerRequest.scala │ │ └── signup/ │ │ ├── BUILD.bazel │ │ └── SignupSource.scala │ ├── module/ │ │ ├── AdvertiserBrandSafetySettingsStoreModule.scala │ │ ├── BUILD.bazel │ │ ├── BlenderClientModule.scala │ │ ├── ClientSentImpressionsPublisherModule.scala │ │ ├── ClusterDetailsModule.scala │ │ ├── ConversationServiceModule.scala │ │ ├── EarlybirdRealtimeCGModule.scala │ │ ├── EventsRecosClientModule.scala │ │ ├── FeedbackHistoryClientModule.scala │ │ ├── GizmoduckTimelinesCacheClientModule.scala │ │ ├── HomeAdsCandidateSourceModule.scala │ │ ├── HomeMixerFeaturesModule.scala │ │ ├── HomeMixerFlagsModule.scala │ │ ├── HomeMixerResourcesModule.scala │ │ ├── ImpressionBloomFilterModule.scala │ │ ├── InMemoryCacheModule.scala │ │ ├── InjectionHistoryClientModule.scala │ │ ├── LimiterModule.scala │ │ ├── ManhattanClientsModule.scala │ │ ├── ManhattanFeatureRepositoryModule.scala │ │ ├── ManhattanTweetImpressionStoreModule.scala │ │ ├── MediaClusterId88Module.scala │ │ ├── MediaClusterIdModule.scala │ │ ├── MemcachedFeatureRepositoryModule.scala │ │ ├── MemcachedScoredCandidateFeaturesStoreModule.scala │ │ ├── NaviModelClientModule.scala │ │ ├── OptimizedStratoClientModule.scala │ │ ├── PeopleDiscoveryServiceModule.scala │ │ ├── PhoenixClientModule.scala │ │ ├── PipelineFailureExceptionMapper.scala │ │ ├── RealGraphInNetworkScoresModule.scala │ │ ├── RealtimeAggregateFeatureRepositoryModule.scala │ │ ├── ScoredTweetsMemcacheModule.scala │ │ ├── ScoredVideoTweetsMemcacheModule.scala │ │ ├── ScribeEventPublisherModule.scala │ │ ├── SimClustersRecentEngagementsClientModule.scala │ │ ├── StaleTweetsCacheModule.scala │ │ ├── ThriftFeatureRepositoryModule.scala │ │ ├── TimelinesPersistenceStoreClientModule.scala │ │ ├── TopicSocialProofClientModule.scala │ │ ├── TvWatchHistoryCacheClientModule.scala │ │ ├── TweetWatchTimeMetadataModule.scala │ │ ├── TweetyPieClientModule.scala │ │ ├── TweetypieStaticEntitiesCacheClientModule.scala │ │ ├── TwhinEmbeddingsModule.scala │ │ ├── UttTopicModule.scala │ │ └── VideoEmbeddingModule.scala │ ├── param/ │ │ ├── BUILD.bazel │ │ ├── GlobalParamConfigModule.scala │ │ ├── HomeGlobalParamConfig.scala │ │ ├── HomeGlobalParams.scala │ │ ├── HomeMixerFlagName.scala │ │ ├── HomeMixerInjectionNames.scala │ │ └── decider/ │ │ ├── BUILD.bazel │ │ └── DeciderKey.scala │ ├── product/ │ │ ├── BUILD.bazel │ │ ├── HomeMixerProductModule.scala │ │ ├── HomeProductPipelineRegistryConfig.scala │ │ ├── following/ │ │ │ ├── BUILD.bazel │ │ │ ├── FollowingAdsCandidatePipelineBuilder.scala │ │ │ ├── FollowingAdsDependentCandidatePipelineBuilder.scala │ │ │ ├── FollowingDependentAdsMixerPipelineConfig.scala │ │ │ ├── FollowingEarlybirdCandidatePipelineConfig.scala │ │ │ ├── FollowingEarlybirdQueryTransformer.scala │ │ │ ├── FollowingEarlybirdResponseFeatureTransformer.scala │ │ │ ├── FollowingMixerPipelineConfig.scala │ │ │ ├── FollowingProductPipelineConfig.scala │ │ │ ├── FollowingWhoToFollowCandidatePipelineConfigBuilder.scala │ │ │ ├── model/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── FollowingQuery.scala │ │ │ │ └── HomeMixerExternalStrings.scala │ │ │ └── param/ │ │ │ ├── BUILD.bazel │ │ │ ├── FollowingParam.scala │ │ │ └── FollowingParamConfig.scala │ │ ├── for_you/ │ │ │ ├── BUILD.bazel │ │ │ ├── ForYouAdsCandidatePipelineBuilder.scala │ │ │ ├── ForYouAdsDependentCandidatePipelineBuilder.scala │ │ │ ├── ForYouBookmarksCandidatePipelineConfig.scala │ │ │ ├── ForYouCommunitiesToJoinCandidatePipelineConfig.scala │ │ │ ├── ForYouConversationServiceCandidatePipelineConfig.scala │ │ │ ├── ForYouEntryPointPivotCandidatePipelineBuilder.scala │ │ │ ├── ForYouEntryPointPivotCandidatePipelineConfig.scala │ │ │ ├── ForYouExplorationTweetsCandidatePipelineConfig.scala │ │ │ ├── ForYouJetfuelFrameFrameCandidatePipelineConfig.scala │ │ │ ├── ForYouKeywordTrendsCandidatePipelineConfig.scala │ │ │ ├── ForYouMixerPipelineConfig.scala │ │ │ ├── ForYouPinnedTweetsCandidatePipelineConfig.scala │ │ │ ├── ForYouProductPipelineConfig.scala │ │ │ ├── ForYouPushToHomeMixerPipelineConfig.scala │ │ │ ├── ForYouPushToHomeTweetCandidatePipelineConfig.scala │ │ │ ├── ForYouRecommendedJobsCandidatePipelineConfig.scala │ │ │ ├── ForYouRecommendedRecruitingOrganizationsCandidatePipelineConfig.scala │ │ │ ├── ForYouRelevancePromptCandidatePipelineConfig.scala │ │ │ ├── ForYouResponseDomainMarshaller.scala │ │ │ ├── ForYouScoredTweetsCandidatePipelineConfig.scala │ │ │ ├── ForYouScoredTweetsMixerPipelineConfig.scala │ │ │ ├── ForYouScoredTweetsResponseFeatureTransformer.scala │ │ │ ├── ForYouScoredVideoTweetsCandidatePipelineConfig.scala │ │ │ ├── ForYouStoriesCandidatePipelineConfig.scala │ │ │ ├── ForYouTimelineScorerCandidatePipelineConfig.scala │ │ │ ├── ForYouTimelineScorerMixerPipelineConfig.scala │ │ │ ├── ForYouTimelineScorerResponseFeatureTransformer.scala │ │ │ ├── ForYouTuneFeedCandidatePipelineConfig.scala │ │ │ ├── ForYouTweetPreviewsCandidatePipelineConfig.scala │ │ │ ├── ForYouWhoToFollowCandidatePipelineConfigBuilder.scala │ │ │ ├── ForYouWhoToSubscribeCandidatePipelineConfigBuilder.scala │ │ │ ├── candidate_source/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── BookmarksCandidateSource.scala │ │ │ │ ├── BroadcastedPinnedTweetsCandidateSource.scala │ │ │ │ ├── JetfuelFrameCandidateSource.scala │ │ │ │ ├── RecommendedJobsCandidateSource.scala │ │ │ │ ├── RecommendedRecruitingOrganizationsCandidateSource.scala │ │ │ │ ├── ScoredTweetsProductCandidateSource.scala │ │ │ │ ├── ScoredVideoTweetsCategorizedProductCandidateSource.scala │ │ │ │ ├── ScoredVideoTweetsProductCandidateSource.scala │ │ │ │ ├── StoriesModuleCandidateSource.scala │ │ │ │ ├── TuneFeedCandidateSource.scala │ │ │ │ └── UnifiedTrendsCandidateSource.scala │ │ │ ├── feature_hydrator/ │ │ │ │ ├── ArticlePreviewTextFeatureHydrator.scala │ │ │ │ ├── AuthorEnabledPreviewsFeatureHydrator.scala │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CurrentPinnedTweetFeatureHydrator.scala │ │ │ │ ├── DisplayedGrokTopicQueryFeatureHydrator.scala │ │ │ │ ├── FocalTweetFeatureHydrator.scala │ │ │ │ ├── FollowingSportsAccountQueryFeatureHydrator.scala │ │ │ │ ├── TimelineServiceTweetsQueryFeatureHydrator.scala │ │ │ │ ├── TweetAuthorFeatureHydrator.scala │ │ │ │ ├── TweetAuthorFollowersFeatureHydrator.scala │ │ │ │ ├── TweetEngagementsFeatureHydrator.scala │ │ │ │ ├── TweetPreviewTweetypieCandidateFeatureHydrator.scala │ │ │ │ └── ViewerHasJobRecommendationsFeatureHydrator.scala │ │ │ ├── filter/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── NotArticleFilter.scala │ │ │ │ ├── PromotedTrendFilter.scala │ │ │ │ ├── SocialContextFilter.scala │ │ │ │ └── TweetPreviewTextFilter.scala │ │ │ ├── functional_component/ │ │ │ │ └── gate/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── PushToHomeRequestGate.scala │ │ │ ├── gate/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── FollowingSportsUsersGate.scala │ │ │ │ ├── TuneFeedModuleGate.scala │ │ │ │ └── UserFollowingRangeGate.scala │ │ │ ├── model/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ForYouQuery.scala │ │ │ │ └── ForYouTweetsResponse.scala │ │ │ ├── param/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ForYouParam.scala │ │ │ │ └── ForYouParamConfig.scala │ │ │ ├── query_transformer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── TweetPreviewsQueryTransformer.scala │ │ │ │ └── UnifiedCandidatesQueryTransformer.scala │ │ │ ├── response_transformer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── BookmarksResponseFeatureTransformer.scala │ │ │ │ ├── ExplorationTweetResponseFeatureTransformer.scala │ │ │ │ ├── KeywordTrendsFeatureTransformer.scala │ │ │ │ ├── PinnedTweetResponseFeatureTransformer.scala │ │ │ │ ├── ScoredVideoTweetResponseFeatureTransformer.scala │ │ │ │ ├── StoriesModuleResponseFeatureTransformer.scala │ │ │ │ ├── TuneFeedFeatureTransformer.scala │ │ │ │ └── TweetPreviewResponseFeatureTransformer.scala │ │ │ ├── scorer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── PinnedTweetCandidateScorer.scala │ │ │ ├── selector/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── DebugUpdateSortAdsResult.scala │ │ │ │ ├── DebunchCandidates.scala │ │ │ │ └── RemoveDuplicateCandidatesOutsideModule.scala │ │ │ └── side_effect/ │ │ │ ├── BUILD.bazel │ │ │ ├── ServedCandidateFeatureKeysKafkaSideEffect.scala │ │ │ ├── ServedCandidateFeatureKeysKafkaSideEffectBuilder.scala │ │ │ ├── ServedCandidateKafkaSideEffect.scala │ │ │ ├── ServedCandidateKeysKafkaSideEffect.scala │ │ │ ├── ServedCandidateKeysKafkaSideEffectBuilder.scala │ │ │ ├── ServedStatsSideEffect.scala │ │ │ └── VideoServedStatsSideEffect.scala │ │ ├── list_recommended_users/ │ │ │ ├── BUILD.bazel │ │ │ ├── BlenderUsersCandidatePipelineConfig.scala │ │ │ ├── BlenderUsersCandidatePipelineQueryTransformer.scala │ │ │ ├── ListMemberBasedUsersCandidatePipelineConfig.scala │ │ │ ├── ListMemberBasedUsersResponseFeatureTransfromer.scala │ │ │ ├── ListRecommendedUsersMixerPipelineConfig.scala │ │ │ ├── ListRecommendedUsersProductPipelineConfig.scala │ │ │ ├── candidate_source/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── BlenderUsersCandidateSource.scala │ │ │ │ └── SimilarityBasedUsersCandidateSource.scala │ │ │ ├── feature_hydrator/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── IsGizmoduckValidUserFeatureHydrator.scala │ │ │ │ ├── IsListMemberFeatureHydrator.scala │ │ │ │ ├── IsSGSValidUserFeatureHydrator.scala │ │ │ │ └── RecentListMembersQueryFeatureHydrator.scala │ │ │ ├── filter/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── DropMaxCandidatesByAggregatedScoreFilter.scala │ │ │ │ └── PreviouslyServedUsersFilter.scala │ │ │ ├── gate/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── ViewerIsListOwnerGate.scala │ │ │ ├── model/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ListRecommendedUsersFeatures.scala │ │ │ │ └── ListRecommendedUsersQuery.scala │ │ │ └── param/ │ │ │ ├── BUILD.bazel │ │ │ ├── ListRecommendedUsersParam.scala │ │ │ └── ListRecommendedUsersParamConfig.scala │ │ ├── list_tweets/ │ │ │ ├── BUILD.bazel │ │ │ ├── ListTweetsAdsCandidatePipelineBuilder.scala │ │ │ ├── ListTweetsMixerPipelineConfig.scala │ │ │ ├── ListTweetsProductPipelineConfig.scala │ │ │ ├── ListTweetsTimelineServiceCandidatePipelineConfig.scala │ │ │ ├── decorator/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ListConversationServiceCandidateDecorator.scala │ │ │ │ └── builder/ │ │ │ │ └── BUILD.bazel │ │ │ ├── model/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── ListTweetsQuery.scala │ │ │ └── param/ │ │ │ ├── BUILD.bazel │ │ │ ├── ListTweetsParam.scala │ │ │ └── ListTweetsParamConfig.scala │ │ ├── scored_tweets/ │ │ │ ├── BUILD.bazel │ │ │ ├── ScoredTweetsProductPipelineConfig.scala │ │ │ ├── ScoredTweetsRecommendationPipelineConfig.scala │ │ │ ├── candidate_pipeline/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CachedScoredTweetsCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsBackfillCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsContentExplorationCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsDirectUtegCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsFrsCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsInNetworkCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsListsCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsPopularVideosCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsStaticCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsTweetMixerCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsUtegCandidatePipelineConfig.scala │ │ │ │ └── earlybird/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ScoredTweetsCommunitiesCandidatePipelineConfig.scala │ │ │ │ ├── ScoredTweetsEarlybirdFrsCandidatePipelineConfig.scala │ │ │ │ └── ScoredTweetsEarlybirdInNetworkCandidatePipelineConfig.scala │ │ │ ├── candidate_source/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CachedScoredTweetsCandidateSource.scala │ │ │ │ ├── ContentExplorationCandidateSource.scala │ │ │ │ ├── EarlybirdRealtimeCGTweetCandidateSource.scala │ │ │ │ ├── ListsCandidateSource.scala │ │ │ │ └── StaticPostsCandidateSource.scala │ │ │ ├── feature_hydrator/ │ │ │ │ ├── AncestorFeatureHydrator.scala │ │ │ │ ├── AuthorFeatureHydrator.scala │ │ │ │ ├── AuthorIsCreatorFeatureHydrator.scala │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CachedScoredTweetsQueryFeatureHydrator.scala │ │ │ │ ├── EarlybirdFeatureHydrator.scala │ │ │ │ ├── FollowedUserScoresFeatureHydrator.scala │ │ │ │ ├── FrsSeedUsersQueryFeatureHydrator.scala │ │ │ │ ├── GizmoduckAuthorFeatureHydrator.scala │ │ │ │ ├── GraphTwoHopFeatureHydrator.scala │ │ │ │ ├── InvalidateCachedScoredTweetsQueryFeatureHydrator.scala │ │ │ │ ├── IsColdStartPostFeatureHydrator.scala │ │ │ │ ├── IsExtendedReplyFeatureHydrator.scala │ │ │ │ ├── ListIdsQueryFeatureHydrator.scala │ │ │ │ ├── ListNameFeatureHydrator.scala │ │ │ │ ├── LowSignalUserQueryFeatureHydrator.scala │ │ │ │ ├── MetricCenterUserCountingFeatureHydrator.scala │ │ │ │ ├── RealGraphQueryFeatureHydrator.scala │ │ │ │ ├── RealGraphViewerAuthorFeatureHydrator.scala │ │ │ │ ├── RealGraphViewerRelatedUsersFeatureHydrator.scala │ │ │ │ ├── RealTimeInteractionGraphEdgeFeatureHydrator.scala │ │ │ │ ├── RealTimeInteractionGraphUserVertexQueryFeatureHydrator.scala │ │ │ │ ├── ReplyFeatureHydrator.scala │ │ │ │ ├── RequestTimeQueryFeatureHydrator.scala │ │ │ │ ├── RetweetSourceTweetFeatureHydrator.scala │ │ │ │ ├── SGSMutuallyFollowedUserHydrator.scala │ │ │ │ ├── SemanticCoreFeatureHydrator.scala │ │ │ │ ├── SimClustersEngagementSimilarityFeatureHydrator.scala │ │ │ │ ├── SimClustersUserTweetScoresHydrator.scala │ │ │ │ ├── TSPInferredTopicFeatureHydrator.scala │ │ │ │ ├── TweetMetaDataFeatureHydrator.scala │ │ │ │ ├── TweetTimeFeatureHydrator.scala │ │ │ │ ├── TweetypieContentFeatureHydrator.scala │ │ │ │ ├── TweetypieStaticEntitiesFeatureHydrator.scala │ │ │ │ ├── TweetypieVisibilityFeatureHydrator.scala │ │ │ │ ├── TwhinAuthorFollowFeatureHydrator.scala │ │ │ │ ├── TwhinUserEngagementQueryFeatureHydrator.scala │ │ │ │ ├── TwhinUserFollowQueryFeatureHydrator.scala │ │ │ │ ├── UserFollowedTopicIdsFeatureHydrator.scala │ │ │ │ ├── UserLanguagesFeatureHydrator.scala │ │ │ │ ├── UserStateQueryFeatureHydrator.scala │ │ │ │ ├── UtegFeatureHydrator.scala │ │ │ │ ├── ValidLikedByUserIdsFeatureHydrator.scala │ │ │ │ ├── adapters/ │ │ │ │ │ ├── author_features/ │ │ │ │ │ │ ├── AuthorFeaturesAdapter.scala │ │ │ │ │ │ └── BUILD.bazel │ │ │ │ │ ├── content/ │ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ │ ├── ContentFeatureAdapter.scala │ │ │ │ │ │ └── InReplyToContentFeatureAdapter.scala │ │ │ │ │ ├── earlybird/ │ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ │ ├── EarlybirdAdapter.scala │ │ │ │ │ │ └── InReplyToEarlybirdAdapter.scala │ │ │ │ │ ├── inferred_topic/ │ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ │ └── InferredTopicAdapter.scala │ │ │ │ │ ├── non_ml_features/ │ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ │ ├── NonMLCandidateFeaturesAdapter.scala │ │ │ │ │ │ └── NonMLCommonFeaturesAdapter.scala │ │ │ │ │ ├── offline_aggregates/ │ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ │ ├── PassThroughAdapter.scala │ │ │ │ │ │ └── SparseAggregatesToDenseAdapter.scala │ │ │ │ │ └── twhin_embeddings/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── TwhinEmbeddingsAdapter.scala │ │ │ │ ├── offline_aggregates/ │ │ │ │ │ ├── AggregateFeatureInfo.scala │ │ │ │ │ ├── AggregateFeaturesToDecodeWithMetadata.scala │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ ├── BaseAggregateQueryFeatureHydrator.scala │ │ │ │ │ ├── BaseEdgeAggregateFeatureHydrator.scala │ │ │ │ │ ├── EdgeAggregateFeatures.scala │ │ │ │ │ ├── PartAAggregateQueryFeatureHydrator.scala │ │ │ │ │ ├── PartBAggregateQueryFeatureHydrator.scala │ │ │ │ │ ├── Phase1EdgeAggregateFeatureHydrator.scala │ │ │ │ │ ├── Phase2EdgeAggregateFeatureHydrator.scala │ │ │ │ │ └── Utils.scala │ │ │ │ └── real_time_aggregates/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── BaseRealTimeAggregateBulkCandidateFeatureHydrator.scala │ │ │ │ ├── BaseRealTimeAggregateQueryFeatureHydrator.scala │ │ │ │ ├── BaseRealtimeAggregateHydrator.scala │ │ │ │ ├── EngagementsReceivedByAuthorRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── RealTimeAggregateTimeDecay.scala │ │ │ │ ├── TopicCountryEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TopicEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TweetCountryEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TweetEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── TwitterListEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ ├── UserAuthorEngagementRealTimeAggregateFeatureHydrator.scala │ │ │ │ └── UserEngagementRealTimeAggregatesFeatureHydrator.scala │ │ │ ├── filter/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ControlAiExcludeFilter.scala │ │ │ │ ├── ControlAiOnlyIncludeFilter.scala │ │ │ │ ├── CustomSnowflakeIdAgeFilter.scala │ │ │ │ ├── CustomSnowflakeIdAgeFilterWithIncludeRule.scala │ │ │ │ ├── CustomSnowflakeIdAgeFilterWithSkipRule.scala │ │ │ │ ├── DuplicateConversationTweetsFilter.scala │ │ │ │ ├── ExtendedDirectedAtFilter.scala │ │ │ │ ├── FollowedAuthorFilter.scala │ │ │ │ ├── GrokAutoTranslateLanguageFilter.scala │ │ │ │ ├── IsOutOfNetworkColdStartPostFilter.scala │ │ │ │ ├── LanguageFilter.scala │ │ │ │ ├── OONReplyFilter.scala │ │ │ │ ├── OutOfNetworkCompetitorFilter.scala │ │ │ │ ├── OutOfNetworkCompetitorURLFilter.scala │ │ │ │ ├── QualifiedRepliesFilter.scala │ │ │ │ ├── RetweetSourceTweetRemovingFilter.scala │ │ │ │ ├── SGSAuthorFilter.scala │ │ │ │ ├── ScoredTweetsSocialContextFilter.scala │ │ │ │ ├── TopKFilter.scala │ │ │ │ ├── TopKOptionalFilter.scala │ │ │ │ ├── UtegMinFavCountFilter.scala │ │ │ │ └── UtegTopKFilter.scala │ │ │ ├── gate/ │ │ │ │ ├── AllowLowSignalUserGate.scala │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── DenyLowSignalUserGate.scala │ │ │ │ ├── MatchesCountryGate.scala │ │ │ │ ├── MinCachedTweetsGate.scala │ │ │ │ ├── MinTimeSinceLastRequestGate.scala │ │ │ │ └── RecentFeedbackCheckGate.scala │ │ │ ├── marshaller/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ScoredTweetsResponseDomainMarshaller.scala │ │ │ │ └── ScoredTweetsResponseTransportMarshaller.scala │ │ │ ├── model/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ScoredTweetsQuery.scala │ │ │ │ └── ScoredTweetsResponse.scala │ │ │ ├── param/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ScoredTweetsParam.scala │ │ │ │ └── ScoredTweetsParamConfig.scala │ │ │ ├── query_transformer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ContentExplorationQueryTransformer.scala │ │ │ │ ├── TimelineRankerFrsQueryTransformer.scala │ │ │ │ ├── TimelineRankerInNetworkQueryTransformer.scala │ │ │ │ ├── TimelineRankerQueryTransformer.scala │ │ │ │ ├── TimelineRankerUtegQueryTransformer.scala │ │ │ │ ├── UtegQueryTransformer.scala │ │ │ │ └── earlybird/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CommunitiesEarlybirdQueryTransformer.scala │ │ │ │ ├── EarlybirdFrsQueryTransformer.scala │ │ │ │ ├── EarlybirdInNetworkQueryTransformer.scala │ │ │ │ └── EarlybirdQueryTransformer.scala │ │ │ ├── response_transformer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CachedScoredTweetsResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsBackfillResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsContentExplorationResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsDirectUtegResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsFrsResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsInNetworkResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsListsResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsOfflineVideoRecoResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsPopularVideosResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsStaticResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsTweetMixerResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsUtegResponseFeatureTransformer.scala │ │ │ │ ├── ScoredVideoTweetsPinnedTweetResponseFeatureTransformer.scala │ │ │ │ ├── TimelineRankerResponseTransformer.scala │ │ │ │ └── earlybird/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── EarlybirdResponseTransformer.scala │ │ │ │ ├── ScoredTweetsCommunitiesResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsEarlybirdFrsResponseFeatureTransformer.scala │ │ │ │ ├── ScoredTweetsEarlybirdInNetworkResponseFeatureTransformer.scala │ │ │ │ └── ScoredTweetsEarlybirdNsfwResponseFeatureTransformer.scala │ │ │ ├── scorer/ │ │ │ │ ├── AuthorBasedListwiseRescoringProvider.scala │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CandidateSourceDiversityListwiseRescoringProvider.scala │ │ │ │ ├── ContentExplorationListwiseRescoringProvider.scala │ │ │ │ ├── ControlAiRescorer.scala │ │ │ │ ├── DeepRetrievalListwiseRescoringProvider.scala │ │ │ │ ├── DiversityDiscountProvider.scala │ │ │ │ ├── EvergreenDeepRetrievalCrossBorderListwiseRescoringProvider.scala │ │ │ │ ├── EvergreenDeepRetrievalListwiseRescoringProvider.scala │ │ │ │ ├── GrokSlopScoreRescorer.scala │ │ │ │ ├── HeuristicScorer.scala │ │ │ │ ├── ImpressedAuthorDecayRescoringProvider.scala │ │ │ │ ├── ImpressedImageClusterBasedListwiseRescoringProvider.scala │ │ │ │ ├── ImpressedMediaClusterBasedListwiseRescoringProvider.scala │ │ │ │ ├── ListwiseRescoringProvider.scala │ │ │ │ ├── LowSignalScorer.scala │ │ │ │ ├── MultimodalEmbeddingRescorer.scala │ │ │ │ ├── NaviModelScorer.scala │ │ │ │ ├── PredictedScoreFeature.scala │ │ │ │ └── RescoringFactorProvider.scala │ │ │ ├── scoring_pipeline/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── ScoredTweetsHeuristicScoringPipelineConfig.scala │ │ │ │ ├── ScoredTweetsLowSignalScoringPipelineConfig.scala │ │ │ │ ├── ScoredTweetsModelScoringPipelineConfig.scala │ │ │ │ └── ScoredTweetsRerankingScoringPipelineConfig.scala │ │ │ ├── selector/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── KeepBestOutOfNetworkCandidatePerAuthorPerSuggestType.scala │ │ │ │ └── KeepTopKCandidatesPerCommunity.scala │ │ │ ├── side_effect/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CacheCandidateFeaturesSideEffect.scala │ │ │ │ ├── CacheRequestInfoSideEffect.scala │ │ │ │ ├── CacheRetrievalSignalSideEffect.scala │ │ │ │ ├── CachedScoredTweetsSideEffect.scala │ │ │ │ ├── CommonFeaturesSideEffect.scala │ │ │ │ ├── ScoredCandidateFeatureKeysKafkaSideEffect.scala │ │ │ │ ├── ScoredContentExplorationCandidateScoreFeatureKafkaSideEffect.scala │ │ │ │ ├── ScoredPhoenixCandidatesKafkaSideEffect.scala │ │ │ │ ├── ScoredStatsSideEffect.scala │ │ │ │ ├── ScoredTweetsDiversityStatsSideEffect.scala │ │ │ │ ├── ScribeScoredCandidatesSideEffect.scala │ │ │ │ └── ScribeServedCommonFeaturesAndCandidateFeaturesSideEffect.scala │ │ │ └── util/ │ │ │ ├── BUILD.bazel │ │ │ └── ControlAiUtil.scala │ │ └── subscribed/ │ │ ├── BUILD.bazel │ │ ├── SubscribedEarlybirdCandidatePipelineConfig.scala │ │ ├── SubscribedEarlybirdQueryTransformer.scala │ │ ├── SubscribedEarlybirdResponseFeatureTransformer.scala │ │ ├── SubscribedMixerPipelineConfig.scala │ │ ├── SubscribedProductPipelineConfig.scala │ │ ├── model/ │ │ │ ├── BUILD.bazel │ │ │ └── SubscribedQuery.scala │ │ └── param/ │ │ ├── BUILD.bazel │ │ ├── SubscribedParam.scala │ │ └── SubscribedParamConfig.scala │ ├── service/ │ │ ├── BUILD.bazel │ │ ├── HomeMixerAccessPolicy.scala │ │ ├── HomeMixerAlertConfig.scala │ │ └── ScoredTweetsService.scala │ ├── store/ │ │ ├── BUILD.bazel │ │ ├── MediaClusterId88Store.scala │ │ ├── MediaClusterId95Store.scala │ │ ├── MediaClusterIdStoreTrait.scala │ │ ├── RTAMHStore.scala │ │ ├── RealGraphInNetworkScoresStore.scala │ │ ├── TweetWatchTimeMetadataStore.scala │ │ ├── TwhinEmbeddingsStore.scala │ │ └── VideoEmbeddingMHStore.scala │ └── util/ │ ├── BUILD.bazel │ ├── CachedScoredTweetsHelper.scala │ ├── CandidatesUtil.scala │ ├── DataRecordUtil.scala │ ├── InjectionTransformer.scala │ ├── LanguageCode.scala │ ├── LanguageUtil.scala │ ├── MissingKeyException.scala │ ├── NaviScorerStatsHandler.scala │ ├── ObservedKeyValueResultHandler.scala │ ├── PhoenixScorerStatsHandler.scala │ ├── PhoenixUtils.scala │ ├── ReplyRetweetUtil.scala │ ├── RerankerUtil.scala │ ├── SignalUtil.scala │ ├── TensorFlowUtil.scala │ ├── TweetImpressionsHelper.scala │ ├── UrtUtil.scala │ ├── earlybird/ │ │ ├── BUILD.bazel │ │ ├── EarlybirdRequestUtil.scala │ │ ├── EarlybirdResponseUtil.scala │ │ └── RelevanceSearchUtil.scala │ └── tweetypie/ │ ├── BUILD.bazel │ ├── RequestFields.scala │ └── content/ │ ├── BUILD.bazel │ ├── FeatureExtractionHelper.scala │ ├── TweetMediaFeaturesExtractor.scala │ └── TweetTextFeaturesExtractor.scala ├── navi/ │ ├── README.md │ ├── dr_transform/ │ │ ├── Cargo.toml │ │ └── src/ │ │ ├── all_config.rs │ │ ├── converter.rs │ │ ├── lib.rs │ │ └── util.rs │ ├── navi/ │ │ ├── Cargo.toml │ │ ├── build.rs │ │ ├── proto/ │ │ │ ├── kfserving/ │ │ │ │ └── grpc_predict_v2.proto │ │ │ ├── tensorflow/ │ │ │ │ └── core/ │ │ │ │ ├── example/ │ │ │ │ │ ├── example.proto │ │ │ │ │ └── feature.proto │ │ │ │ ├── framework/ │ │ │ │ │ ├── allocation_description.proto │ │ │ │ │ ├── api_def.proto │ │ │ │ │ ├── attr_value.proto │ │ │ │ │ ├── cost_graph.proto │ │ │ │ │ ├── dataset_metadata.proto │ │ │ │ │ ├── dataset_options.proto │ │ │ │ │ ├── device_attributes.proto │ │ │ │ │ ├── full_type.proto │ │ │ │ │ ├── function.proto │ │ │ │ │ ├── graph.proto │ │ │ │ │ ├── graph_transfer_info.proto │ │ │ │ │ ├── kernel_def.proto │ │ │ │ │ ├── log_memory.proto │ │ │ │ │ ├── model.proto │ │ │ │ │ ├── node_def.proto │ │ │ │ │ ├── op_def.proto │ │ │ │ │ ├── reader_base.proto │ │ │ │ │ ├── resource_handle.proto │ │ │ │ │ ├── step_stats.proto │ │ │ │ │ ├── summary.proto │ │ │ │ │ ├── tensor.proto │ │ │ │ │ ├── tensor_description.proto │ │ │ │ │ ├── tensor_shape.proto │ │ │ │ │ ├── tensor_slice.proto │ │ │ │ │ ├── types.proto │ │ │ │ │ ├── variable.proto │ │ │ │ │ └── versions.proto │ │ │ │ └── protobuf/ │ │ │ │ ├── autotuning.proto │ │ │ │ ├── bfc_memory_map.proto │ │ │ │ ├── cluster.proto │ │ │ │ ├── composite_tensor_variant.proto │ │ │ │ ├── config.proto │ │ │ │ ├── control_flow.proto │ │ │ │ ├── conv_autotuning.proto │ │ │ │ ├── coordination_config.proto │ │ │ │ ├── coordination_service.proto │ │ │ │ ├── critical_section.proto │ │ │ │ ├── data_service.proto │ │ │ │ ├── debug.proto │ │ │ │ ├── debug_event.proto │ │ │ │ ├── device_filters.proto │ │ │ │ ├── device_properties.proto │ │ │ │ ├── distributed_runtime_payloads.proto │ │ │ │ ├── eager_service.proto │ │ │ │ ├── error_codes.proto │ │ │ │ ├── graph_debug_info.proto │ │ │ │ ├── master.proto │ │ │ │ ├── master_service.proto │ │ │ │ ├── meta_graph.proto │ │ │ │ ├── named_tensor.proto │ │ │ │ ├── queue_runner.proto │ │ │ │ ├── remote_tensor_handle.proto │ │ │ │ ├── replay_log.proto │ │ │ │ ├── rewriter_config.proto │ │ │ │ ├── saved_model.proto │ │ │ │ ├── saved_object_graph.proto │ │ │ │ ├── saver.proto │ │ │ │ ├── service_config.proto │ │ │ │ ├── snapshot.proto │ │ │ │ ├── status.proto │ │ │ │ ├── struct.proto │ │ │ │ ├── tensor_bundle.proto │ │ │ │ ├── tensorflow_server.proto │ │ │ │ ├── trackable_object_graph.proto │ │ │ │ ├── transport_options.proto │ │ │ │ ├── verifier_config.proto │ │ │ │ ├── worker.proto │ │ │ │ └── worker_service.proto │ │ │ └── tensorflow_serving/ │ │ │ ├── apis/ │ │ │ │ ├── classification.proto │ │ │ │ ├── get_model_metadata.proto │ │ │ │ ├── get_model_status.proto │ │ │ │ ├── inference.proto │ │ │ │ ├── input.proto │ │ │ │ ├── logging.proto │ │ │ │ ├── model.proto │ │ │ │ ├── model_management.proto │ │ │ │ ├── model_service.proto │ │ │ │ ├── predict.proto │ │ │ │ ├── prediction_log.proto │ │ │ │ ├── prediction_service.proto │ │ │ │ ├── regression.proto │ │ │ │ ├── session_service.proto │ │ │ │ └── status.proto │ │ │ └── config/ │ │ │ ├── file_system_storage_path_source.proto │ │ │ ├── log_collector_config.proto │ │ │ ├── logging_config.proto │ │ │ └── model_server_config.proto │ │ ├── scripts/ │ │ │ ├── run_onnx.sh │ │ │ └── run_tf2.sh │ │ └── src/ │ │ ├── batch.rs │ │ ├── bin/ │ │ │ ├── navi.rs │ │ │ ├── navi_onnx.rs │ │ │ └── navi_torch.rs │ │ ├── bootstrap.rs │ │ ├── cli_args.rs │ │ ├── cores/ │ │ │ └── validator.rs │ │ ├── lib.rs │ │ ├── metrics.rs │ │ ├── onnx_model.rs │ │ ├── predict_service.rs │ │ ├── tf_model.rs │ │ └── torch_model.rs │ ├── segdense/ │ │ ├── Cargo.toml │ │ └── src/ │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── mapper.rs │ │ ├── segdense_transform_spec_home_recap_2022.rs │ │ └── util.rs │ └── thrift_bpr_adapter/ │ └── thrift/ │ ├── Cargo.toml │ └── src/ │ ├── data.rs │ ├── decoder.rs │ ├── lib.rs │ ├── main.rs │ ├── prediction_service.rs │ └── tensor.rs ├── product-mixer/ │ ├── README.md │ ├── component-library/ │ │ └── src/ │ │ └── main/ │ │ └── scala/ │ │ └── com/ │ │ └── twitter/ │ │ └── product_mixer/ │ │ └── component_library/ │ │ ├── candidate_source/ │ │ │ ├── account_recommendations_mixer/ │ │ │ │ ├── AccountRecommendationsMixerCandidateSource.scala │ │ │ │ └── BUILD │ │ │ ├── ads/ │ │ │ │ ├── AdsProdStratoCandidateSource.scala │ │ │ │ ├── AdsProdThriftCandidateSource.scala │ │ │ │ ├── AdsStagingCandidateSource.scala │ │ │ │ └── BUILD │ │ │ ├── ann/ │ │ │ │ ├── AnnCandidateSource.scala │ │ │ │ ├── AnnIdQuery.scala │ │ │ │ └── BUILD.bazel │ │ │ ├── audiospace/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── CreatedSpacesCandidateSource.scala │ │ │ ├── business_profiles/ │ │ │ │ ├── BUILD │ │ │ │ └── TeamMembersCandidateSource.scala │ │ │ ├── cr_mixer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CrMixerFrsBasedTweetRecommendationsCandidateSource.scala │ │ │ │ └── CrMixerTweetRecommendationsCandidateSource.scala │ │ │ ├── earlybird/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── EarlybirdTweetCandidateSource.scala │ │ │ ├── explore_ranker/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── ExploreRankerCandidateSource.scala │ │ │ ├── flexible_injection_pipeline/ │ │ │ │ ├── BUILD │ │ │ │ └── PromptCandidateSource.scala │ │ │ ├── hermit/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── UsersSimilarToMeCandidateSource.scala │ │ │ ├── interest_discovery/ │ │ │ │ ├── BUILD │ │ │ │ └── RelatedTopicsCandidateSource.scala │ │ │ ├── lists/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── OrganicPopGeoListsCandidateSource.scala │ │ │ ├── people_discovery/ │ │ │ │ ├── BUILD │ │ │ │ └── PeopleDiscoveryCandidateSource.scala │ │ │ ├── recommendations/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── UserFollowRecommendationsCandidateSource.scala │ │ │ ├── social_graph/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── SocialgraphCandidateSource.scala │ │ │ │ └── SocialgraphCursorConstants.scala │ │ │ ├── timeline_ranker/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── TimelineRankerInNetworkCandidateSource.scala │ │ │ │ ├── TimelineRankerRecapCandidateSource.scala │ │ │ │ └── TimelineRankerUtegCandidateSource.scala │ │ │ ├── timeline_scorer/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── TimelineScorerCandidateSource.scala │ │ │ ├── timeline_service/ │ │ │ │ ├── BUILD │ │ │ │ └── TimelineServiceTweetCandidateSource.scala │ │ │ ├── timelines_impression_store/ │ │ │ │ ├── BUILD │ │ │ │ └── TimelinesImpressionStoreCandidateSourceV2.scala │ │ │ ├── topics/ │ │ │ │ ├── BUILD │ │ │ │ └── FollowedTopicsCandidateSource.scala │ │ │ └── tweetconvosvc/ │ │ │ ├── BUILD.bazel │ │ │ ├── ConversationServiceCandidateSource.scala │ │ │ ├── ConversationServiceResponseFeatureTransformer.scala │ │ │ └── DropMaxConversationModuleItemCandidates.scala │ │ ├── decorator/ │ │ │ ├── slice/ │ │ │ │ ├── BUILD │ │ │ │ ├── SliceItemCandidateDecorator.scala │ │ │ │ └── builder/ │ │ │ │ ├── BUILD │ │ │ │ └── CursorCandidateSliceItemBuilder.scala │ │ │ └── urt/ │ │ │ ├── BUILD │ │ │ ├── UrtConversationItemCandidateDecorator.scala │ │ │ ├── UrtItemCandidateDecorator.scala │ │ │ ├── UrtItemInModuleDecorator.scala │ │ │ ├── UrtMultipleModulesDecorator.scala │ │ │ └── builder/ │ │ │ ├── contextual_ref/ │ │ │ │ └── ContextualTweetRefBuilder.scala │ │ │ ├── conversations/ │ │ │ │ └── ConversationModuleMetadataBuilder.scala │ │ │ ├── flexible_injection_pipeline/ │ │ │ │ ├── FlipPromptCandidateUrtItemBuilder.scala │ │ │ │ ├── FlipPromptModuleGrouping.scala │ │ │ │ ├── FlipPromptUrtModuleBuilder.scala │ │ │ │ ├── OnboardingInjectionConversions.scala │ │ │ │ ├── RelevancePromptConversions.scala │ │ │ │ └── TilesCarouselConversions.scala │ │ │ ├── icon/ │ │ │ │ └── HorizonIconBuilder.scala │ │ │ ├── item/ │ │ │ │ ├── ad/ │ │ │ │ │ └── AdsCandidateUrtItemBuilder.scala │ │ │ │ ├── alert/ │ │ │ │ │ ├── DurationParamBuilder.scala │ │ │ │ │ ├── ShowAlertCandidateUrtItemBuilder.scala │ │ │ │ │ ├── StaticShowAlertColorConfigurationBuilder.scala │ │ │ │ │ ├── StaticShowAlertDisplayLocationBuilder.scala │ │ │ │ │ └── StaticShowAlertIconDisplayInfoBuilder.scala │ │ │ │ ├── article/ │ │ │ │ │ └── ArticleCandidateUrtItemBuilder.scala │ │ │ │ ├── audio_space/ │ │ │ │ │ └── AudioSpaceCandidateUrtItemBuilder.scala │ │ │ │ ├── card/ │ │ │ │ │ └── CardCandidateUtrItemBuilder.scala │ │ │ │ ├── commerce/ │ │ │ │ │ ├── CommerceProductCandidateUrtItemBuilder.scala │ │ │ │ │ └── CommerceProductGroupCandidateUrtItemBuilder.scala │ │ │ │ ├── event_summary/ │ │ │ │ │ └── EventCandidateUrtItemBuilder.scala │ │ │ │ ├── generic_summary/ │ │ │ │ │ ├── GenericSummaryActionBuilder.scala │ │ │ │ │ ├── GenericSummaryCandidateUrtItemBuilder.scala │ │ │ │ │ └── GenericSummaryContextBuilder.scala │ │ │ │ ├── icon_label/ │ │ │ │ │ └── IconLabelCandidateUrtItemBuilder.scala │ │ │ │ ├── message/ │ │ │ │ │ ├── CompactPromptCandidateUrtItemStringCenterBuilder.scala │ │ │ │ │ ├── InlinePromptCandidateUrtItemStringCenterBuilder.scala │ │ │ │ │ ├── MessageTextActionBuilder.scala │ │ │ │ │ └── UserFacePileBuilder.scala │ │ │ │ ├── moment/ │ │ │ │ │ └── MomentAnnotationCandidateUrtItemBuilder.scala │ │ │ │ ├── relevance_prompt/ │ │ │ │ │ └── RelevancePromptCandidateUrtItemStringCenterBuilder.scala │ │ │ │ ├── suggestion/ │ │ │ │ │ └── SpellingSuggestionCandidateUrtItemBuilder.scala │ │ │ │ ├── tile/ │ │ │ │ │ └── TileCandidateUrtItemBuilder.scala │ │ │ │ ├── topic/ │ │ │ │ │ ├── ParamTopicDisplayTypeBuilder.scala │ │ │ │ │ ├── ParamTopicFunctionalityTypeBuilder.scala │ │ │ │ │ ├── StaticTopicDisplayTypeBuilder.scala │ │ │ │ │ ├── StaticTopicFunctionalityTypeBuilder.scala │ │ │ │ │ ├── TopicCandidateUrtItemBuilder.scala │ │ │ │ │ └── VerticalGridTopicCandidateUrtItemBuilder.scala │ │ │ │ ├── trend/ │ │ │ │ │ ├── TrendCandidateUrtItemBuilder.scala │ │ │ │ │ ├── TrendMetaDescriptionBuilder.scala │ │ │ │ │ └── TrendPromotedMetadataBuilder.scala │ │ │ │ ├── tweet/ │ │ │ │ │ └── TweetCandidateUrtItemBuilder.scala │ │ │ │ ├── twitter_list/ │ │ │ │ │ └── TwitterListCandidateUrtItemBuilder.scala │ │ │ │ ├── unified_trend_event/ │ │ │ │ │ └── UnifiedTrendEventCandidateUrtItemBuilder.scala │ │ │ │ └── user/ │ │ │ │ └── UserCandidateUrtItemBuilder.scala │ │ │ ├── metadata/ │ │ │ │ ├── ClientEventInfoBuilder.scala │ │ │ │ ├── ConversationTweetClientEventDetailsBuilder.scala │ │ │ │ ├── StaticUrlBuilder.scala │ │ │ │ ├── TopicClientEventDetailsBuilder.scala │ │ │ │ ├── TopicNotInterestedFeedbackActionInfoBuilder.scala │ │ │ │ ├── TopicTweetClientEventDetailsBuilder.scala │ │ │ │ ├── TopicsToFollowModuleMetadataBuilder.scala │ │ │ │ └── WhoToFollowFeedbackActionInfoBuilder.scala │ │ │ ├── operation/ │ │ │ │ └── CursorCandidateUrtOperationBuilder.scala │ │ │ ├── promoted/ │ │ │ │ └── FeaturePromotedMetadataBuilder.scala │ │ │ ├── richtext/ │ │ │ │ ├── RichTextBuilder.scala │ │ │ │ ├── RichTextMarkupUtil.scala │ │ │ │ ├── RichTextReferenceObjectBuilder.scala │ │ │ │ ├── RichTextRtlOptionBuilder.scala │ │ │ │ ├── StaticRichTextBuilder.scala │ │ │ │ └── twitter_text/ │ │ │ │ ├── TwitterTextEntityProcessor.scala │ │ │ │ ├── TwitterTextFormatProcessor.scala │ │ │ │ ├── TwitterTextRenderer.scala │ │ │ │ ├── TwitterTextRendererProcessor.scala │ │ │ │ └── TwitterTextRichTextBuilder.scala │ │ │ ├── social_context/ │ │ │ │ ├── FeatureSocialContextBuilder.scala │ │ │ │ ├── GeneralModuleSocialContextBuilder.scala │ │ │ │ ├── GeneralSocialContextBuilder.scala │ │ │ │ └── WhoToFollowSocialContextBuilder.scala │ │ │ ├── stringcenter/ │ │ │ │ ├── ModuleStr.scala │ │ │ │ └── Str.scala │ │ │ └── timeline_module/ │ │ │ ├── FeatureModuleDisplayTypeBuilder.scala │ │ │ ├── ModuleDynamicShowMoreBehaviorRevealByCountBuilder.scala │ │ │ ├── ModuleFooterBuilder.scala │ │ │ ├── ModuleHeaderBuilder.scala │ │ │ ├── ModuleHeaderDisplayTypeBuilder.scala │ │ │ ├── ModuleIdGeneration.scala │ │ │ ├── ModuleShowMoreBehaviorRevealByCountBuilder.scala │ │ │ ├── ParamGatedModuleFooterBuilder.scala │ │ │ ├── ParamGatedModuleHeaderBuilder.scala │ │ │ ├── ParamWhoToFollowModuleDisplayTypeBuilder.scala │ │ │ ├── StaticModuleDisplayTypeBuilder.scala │ │ │ └── TimelineModuleBuilder.scala │ │ ├── experiments/ │ │ │ └── metrics/ │ │ │ ├── BUILD │ │ │ ├── MetricDefinitions.scala │ │ │ ├── MetricGroup.scala │ │ │ ├── MetricTemplateCLIRunner.scala │ │ │ ├── MetricTemplates.scala │ │ │ └── PlaceholderConfig.scala │ │ ├── feature/ │ │ │ └── featurestorev1/ │ │ │ ├── BUILD │ │ │ ├── FeatureStoreV1QueryUserIdFeature.scala │ │ │ ├── FeatureStoreV1QueryUserIdTweetCandidateAuthorIdFeature.scala │ │ │ ├── FeatureStoreV1QueryUserIdTweetCandidateTweetIdFeature.scala │ │ │ ├── FeatureStoreV1TweetCandidateAuthorIdFeature.scala │ │ │ ├── FeatureStoreV1TweetCandidateTweetIdFeature.scala │ │ │ └── FeatureStoreV1UserCandidateUserIdFeature.scala │ │ ├── feature_hydrator/ │ │ │ ├── BUILD │ │ │ ├── candidate/ │ │ │ │ ├── ads/ │ │ │ │ │ ├── AdvertiserBrandSafetySettingsFeatureHydrator.scala │ │ │ │ │ └── BUILD │ │ │ │ ├── decay/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── DecayCandidateFeatureHydrator.scala │ │ │ │ ├── param_gated/ │ │ │ │ │ ├── BUILD │ │ │ │ │ ├── ParamGatedBulkCandidateFeatureHydrator.scala │ │ │ │ │ ├── ParamGatedCandidateFeatureHydrator.scala │ │ │ │ │ └── featurestorev1/ │ │ │ │ │ ├── BUILD │ │ │ │ │ └── ParamGatedFeatureStoreV1CandidateFeatureHydrator.scala │ │ │ │ ├── qualityfactor_gated/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── QualityFactorGatedCandidateFeatureHydrator.scala │ │ │ │ ├── tweet_is_nsfw/ │ │ │ │ │ ├── BUILD │ │ │ │ │ └── TweetIsNsfwCandidateFeatureHydrator.scala │ │ │ │ ├── tweet_tlx/ │ │ │ │ │ ├── BUILD.bazel │ │ │ │ │ └── TweetTLXScoreCandidateFeatureHydrator.scala │ │ │ │ ├── tweet_tweetypie/ │ │ │ │ │ ├── BUILD │ │ │ │ │ └── TweetTweetypieCandidateFeatureHydrator.scala │ │ │ │ └── tweet_visibility_reason/ │ │ │ │ ├── BUILD │ │ │ │ └── TweetVisibilityReasonBulkCandidateFeatureHydrator.scala │ │ │ └── query/ │ │ │ ├── async/ │ │ │ │ ├── AsyncQueryFeatureHydrator.scala │ │ │ │ └── BUILD │ │ │ ├── cr_ml_ranker/ │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── CrMlRankerCommonQueryFeatureHydrator.scala │ │ │ │ ├── CrMlRankerCommonQueryFeatureHydratorBuilder.scala │ │ │ │ └── RankingConfigBuilder.scala │ │ │ ├── impressed_tweets/ │ │ │ │ ├── BUILD │ │ │ │ └── ImpressedTweetsQueryFeatureHydrator.scala │ │ │ ├── logged_in_only/ │ │ │ │ ├── BUILD │ │ │ │ └── LoggedInOnlyQueryFeatureHydrator.scala │ │ │ ├── param_gated/ │ │ │ │ ├── AsyncParamGatedQueryFeatureHydrator.scala │ │ │ │ ├── BUILD │ │ │ │ ├── ParamGatedQueryFeatureHydrator.scala │ │ │ │ └── featurestorev1/ │ │ │ │ ├── AsyncParamGatedFeatureStoreV1QueryFeatureHydrator.scala │ │ │ │ ├── BUILD │ │ │ │ └── ParamGatedFeatureStoreV1QueryFeatureHydrator.scala │ │ │ └── qualityfactor_gated/ │ │ │ ├── BUILD.bazel │ │ │ └── QualityFactorGatedQueryFeatureHydrator.scala │ │ ├── filter/ │ │ │ ├── AdaptiveLongIntBloomFilterDedupFilter.scala │ │ │ ├── BUILD │ │ │ ├── ExcludedIdsFilter.scala │ │ │ ├── FeatureFilter.scala │ │ │ ├── FeatureValueConditionalFilter.scala │ │ │ ├── HasAuthorIdFeatureFilter.scala │ │ │ ├── ParamGatedFilter.scala │ │ │ ├── PredicateFilter.scala │ │ │ ├── SnowflakeIdAgeFilter.scala │ │ │ ├── TweetAuthorCountryFilter.scala │ │ │ ├── TweetAuthorIsSelfFilter.scala │ │ │ ├── TweetIsNotReplyFilter.scala │ │ │ ├── TweetLanguageFilter.scala │ │ │ ├── TweetVisibilityFilter.scala │ │ │ ├── UrtUnorderedExcludeIdsCursorFilter.scala │ │ │ ├── list_visibility/ │ │ │ │ ├── BUILD.bazel │ │ │ │ └── ListVisibilityFilter.scala │ │ │ └── tweet_impression/ │ │ │ ├── BUILD.bazel │ │ │ └── TweetImpressionFilter.scala │ │ ├── gate/ │ │ │ ├── BUILD │ │ │ ├── DefinedCountryCodeGate.scala │ │ │ ├── FeatureGate.scala │ │ │ ├── FirstPageGate.scala │ │ │ ├── NoCandidatesGate.scala │ │ │ ├── NonEmptyAdsQueryStringGate.scala │ │ │ ├── NonEmptyCandidatesGate.scala │ │ │ ├── QualityFactorGate.scala │ │ │ └── any_candidates_without_feature/ │ │ │ ├── AnyCandidatesWithoutFeatureGate.scala │ │ │ └── BUILD.bazel │ │ ├── model/ │ │ │ ├── candidate/ │ │ │ │ ├── ArticleCandidate.scala │ │ │ │ ├── AudioSpaceCandidate.scala │ │ │ │ ├── BUILD │ │ │ │ ├── CardCandidate.scala │ │ │ │ ├── CommerceItemCandidate.scala │ │ │ │ ├── CursorCandidate.scala │ │ │ │ ├── DMConvoCandidate.scala │ │ │ │ ├── DMEventCandidate.scala │ │ │ │ ├── GenericSummaryCandidate.scala │ │ │ │ ├── LabelCandidate.scala │ │ │ │ ├── MomentAnnotationCandidate.scala │ │ │ │ ├── PromptCandidate.scala │ │ │ │ ├── ShowAlertCandidate.scala │ │ │ │ ├── TopicCandidate.scala │ │ │ │ ├── TweetCandidate.scala │ │ │ │ ├── TwitterListCandidate.scala │ │ │ │ ├── UserCandidate.scala │ │ │ │ ├── ads/ │ │ │ │ │ ├── AdsCandidate.scala │ │ │ │ │ └── BUILD │ │ │ │ ├── hubble/ │ │ │ │ │ ├── AdCreativeCandidate.scala │ │ │ │ │ ├── AdGroupCandidate.scala │ │ │ │ │ ├── AdUnitCandidate.scala │ │ │ │ │ ├── BUILD │ │ │ │ │ ├── CampaignCandidate.scala │ │ │ │ │ └── FundingSourceCandidate.scala │ │ │ │ ├── suggestion/ │ │ │ │ │ ├── BUILD │ │ │ │ │ ├── QuerySuggestionCandidate.scala │ │ │ │ │ └── SpellingSuggestionCandidate.scala │ │ │ │ └── trends_events/ │ │ │ │ ├── BUILD │ │ │ │ └── UnifiedTrendEventCandidate.scala │ │
Showing preview only (1,195K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (12373 symbols across 952 files)
FILE: ann/src/main/java/com/twitter/ann/faiss/NativeUtils.java
class NativeUtils (line 11) | public final class NativeUtils {
method NativeUtils (line 18) | private NativeUtils() {
method unpackLibraryFromJarInternal (line 21) | private static File unpackLibraryFromJarInternal(String path) throws I...
method unpackLibraryFromJar (line 68) | public static void unpackLibraryFromJar(String path) throws IOException {
method loadLibraryFromJar (line 93) | public static void loadLibraryFromJar(String path) throws IOException {
method createTempDirectory (line 113) | private static File createTempDirectory(String prefix) throws IOExcept...
type OSType (line 124) | public enum OSType {
method getOperatingSystemType (line 136) | public static OSType getOperatingSystemType() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableFloat32.java
class AlignedTableFloat32 (line 11) | public class AlignedTableFloat32 {
method AlignedTableFloat32 (line 15) | protected AlignedTableFloat32(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(AlignedTableFloat32 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setTab (line 39) | public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_...
method getTab (line 43) | public SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t getTab() {
method setNumel (line 48) | public void setNumel(long value) {
method getNumel (line 52) | public long getNumel() {
method round_capacity (line 56) | public static long round_capacity(long n) {
method AlignedTableFloat32 (line 60) | public AlignedTableFloat32() {
method AlignedTableFloat32 (line 64) | public AlignedTableFloat32(long n) {
method itemsize (line 68) | public long itemsize() {
method resize (line 72) | public void resize(long n) {
method clear (line 76) | public void clear() {
method size (line 80) | public long size() {
method nbytes (line 84) | public long nbytes() {
method get (line 88) | public SWIGTYPE_p_float get() {
method data (line 93) | public SWIGTYPE_p_float data() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint16.java
class AlignedTableUint16 (line 11) | public class AlignedTableUint16 {
method AlignedTableUint16 (line 15) | protected AlignedTableUint16(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(AlignedTableUint16 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setTab (line 39) | public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_...
method getTab (line 43) | public SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t getTab() {
method setNumel (line 48) | public void setNumel(long value) {
method getNumel (line 52) | public long getNumel() {
method round_capacity (line 56) | public static long round_capacity(long n) {
method AlignedTableUint16 (line 60) | public AlignedTableUint16() {
method AlignedTableUint16 (line 64) | public AlignedTableUint16(long n) {
method itemsize (line 68) | public long itemsize() {
method resize (line 72) | public void resize(long n) {
method clear (line 76) | public void clear() {
method size (line 80) | public long size() {
method nbytes (line 84) | public long nbytes() {
method get (line 88) | public SWIGTYPE_p_uint16_t get() {
method data (line 93) | public SWIGTYPE_p_uint16_t data() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint8.java
class AlignedTableUint8 (line 11) | public class AlignedTableUint8 {
method AlignedTableUint8 (line 15) | protected AlignedTableUint8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(AlignedTableUint8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setTab (line 39) | public void setTab(SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_...
method getTab (line 43) | public SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t ge...
method setNumel (line 48) | public void setNumel(long value) {
method getNumel (line 52) | public long getNumel() {
method round_capacity (line 56) | public static long round_capacity(long n) {
method AlignedTableUint8 (line 60) | public AlignedTableUint8() {
method AlignedTableUint8 (line 64) | public AlignedTableUint8(long n) {
method itemsize (line 68) | public long itemsize() {
method resize (line 72) | public void resize(long n) {
method clear (line 76) | public void clear() {
method size (line 80) | public long size() {
method nbytes (line 84) | public long nbytes() {
method get (line 88) | public SWIGTYPE_p_unsigned_char get() {
method data (line 93) | public SWIGTYPE_p_unsigned_char data() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ArrayInvertedLists.java
class ArrayInvertedLists (line 11) | public class ArrayInvertedLists extends InvertedLists {
method ArrayInvertedLists (line 14) | protected ArrayInvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ArrayInvertedLists obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setCodes (line 39) | public void setCodes(ByteVectorVector value) {
method getCodes (line 43) | public ByteVectorVector getCodes() {
method setIds (line 48) | public void setIds(SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t va...
method getIds (line 52) | public SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t getIds() {
method ArrayInvertedLists (line 57) | public ArrayInvertedLists(long nlist, long code_size) {
method list_size (line 61) | public long list_size(long list_no) {
method get_codes (line 65) | public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
method get_ids (line 70) | public LongVector get_ids(long list_no) {
method add_entries (line 74) | public long add_entries(long list_no, long n_entry, LongVector ids, SW...
method update_entries (line 78) | public void update_entries(long list_no, long offset, long n_entry, Lo...
method resize (line 82) | public void resize(long list_no, long new_size) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/AutoTuneCriterion.java
class AutoTuneCriterion (line 11) | public class AutoTuneCriterion {
method AutoTuneCriterion (line 15) | protected AutoTuneCriterion(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(AutoTuneCriterion obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNq (line 39) | public void setNq(long value) {
method getNq (line 43) | public long getNq() {
method setNnn (line 47) | public void setNnn(long value) {
method getNnn (line 51) | public long getNnn() {
method setGt_nnn (line 55) | public void setGt_nnn(long value) {
method getGt_nnn (line 59) | public long getGt_nnn() {
method setGt_D (line 63) | public void setGt_D(FloatVector value) {
method getGt_D (line 67) | public FloatVector getGt_D() {
method setGt_I (line 72) | public void setGt_I(SWIGTYPE_p_std__vectorT_int64_t_t value) {
method getGt_I (line 76) | public SWIGTYPE_p_std__vectorT_int64_t_t getGt_I() {
method set_groundtruth (line 81) | public void set_groundtruth(int gt_nnn, SWIGTYPE_p_float gt_D_in, Long...
method evaluate (line 85) | public double evaluate(SWIGTYPE_p_float D, LongVector I) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BitstringReader.java
class BitstringReader (line 11) | public class BitstringReader {
method BitstringReader (line 15) | protected BitstringReader(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(BitstringReader obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method setCode_size (line 48) | public void setCode_size(long value) {
method getCode_size (line 52) | public long getCode_size() {
method setI (line 56) | public void setI(long value) {
method getI (line 60) | public long getI() {
method BitstringReader (line 64) | public BitstringReader(SWIGTYPE_p_unsigned_char code, long code_size) {
method read (line 68) | public long read(int nbit) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BitstringWriter.java
class BitstringWriter (line 11) | public class BitstringWriter {
method BitstringWriter (line 15) | protected BitstringWriter(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(BitstringWriter obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method setCode_size (line 48) | public void setCode_size(long value) {
method getCode_size (line 52) | public long getCode_size() {
method setI (line 56) | public void setI(long value) {
method getI (line 60) | public long getI() {
method BitstringWriter (line 64) | public BitstringWriter(SWIGTYPE_p_unsigned_char code, long code_size) {
method write (line 68) | public void write(long x, int nbit) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/BufferList.java
class BufferList (line 11) | public class BufferList {
method BufferList (line 15) | protected BufferList(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(BufferList obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setBuffer_size (line 39) | public void setBuffer_size(long value) {
method getBuffer_size (line 43) | public long getBuffer_size() {
method setBuffers (line 47) | public void setBuffers(SWIGTYPE_p_std__vectorT_faiss__BufferList__Buff...
method getBuffers (line 51) | public SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t getBuffers() {
method setWp (line 56) | public void setWp(long value) {
method getWp (line 60) | public long getWp() {
method BufferList (line 64) | public BufferList(long buffer_size) {
method append_buffer (line 68) | public void append_buffer() {
method add (line 72) | public void add(long id, float dis) {
method copy_range (line 76) | public void copy_range(long ofs, long n, LongVector dest_ids, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ByteVector.java
class ByteVector (line 11) | public class ByteVector {
method ByteVector (line 15) | protected ByteVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ByteVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method ByteVector (line 39) | public ByteVector() {
method push_back (line 43) | public void push_back(short arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_unsigned_char data() {
method size (line 56) | public long size() {
method at (line 60) | public short at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(ByteVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ByteVectorVector.java
class ByteVectorVector (line 11) | public class ByteVectorVector {
method ByteVectorVector (line 15) | protected ByteVectorVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ByteVectorVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method ByteVectorVector (line 39) | public ByteVectorVector() {
method push_back (line 43) | public void push_back(ByteVector arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public ByteVector data() {
method size (line 56) | public long size() {
method at (line 60) | public ByteVector at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(ByteVectorVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/CenteringTransform.java
class CenteringTransform (line 11) | public class CenteringTransform extends VectorTransform {
method CenteringTransform (line 14) | protected CenteringTransform(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(CenteringTransform obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setMean (line 39) | public void setMean(FloatVector value) {
method getMean (line 43) | public FloatVector getMean() {
method CenteringTransform (line 48) | public CenteringTransform(int d) {
method CenteringTransform (line 52) | public CenteringTransform() {
method train (line 56) | public void train(long n, SWIGTYPE_p_float x) {
method apply_noalloc (line 60) | public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float...
method reverse_transform (line 64) | public void reverse_transform(long n, SWIGTYPE_p_float xt, SWIGTYPE_p_...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/CharVector.java
class CharVector (line 11) | public class CharVector {
method CharVector (line 15) | protected CharVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(CharVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method CharVector (line 39) | public CharVector() {
method push_back (line 43) | public void push_back(char arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public String data() {
method size (line 55) | public long size() {
method at (line 59) | public char at(long n) {
method resize (line 63) | public void resize(long n) {
method reserve (line 67) | public void reserve(long n) {
method swap (line 71) | public void swap(CharVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Clustering.java
class Clustering (line 11) | public class Clustering extends ClusteringParameters {
method Clustering (line 14) | protected Clustering(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(Clustering obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setD (line 39) | public void setD(long value) {
method getD (line 43) | public long getD() {
method setK (line 47) | public void setK(long value) {
method getK (line 51) | public long getK() {
method setCentroids (line 55) | public void setCentroids(FloatVector value) {
method getCentroids (line 59) | public FloatVector getCentroids() {
method setIteration_stats (line 64) | public void setIteration_stats(SWIGTYPE_p_std__vectorT_faiss__Clusteri...
method getIteration_stats (line 68) | public SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t getIt...
method Clustering (line 73) | public Clustering(int d, int k) {
method Clustering (line 77) | public Clustering(int d, int k, ClusteringParameters cp) {
method train (line 81) | public void train(long n, SWIGTYPE_p_float x, Index index, SWIGTYPE_p_...
method train (line 85) | public void train(long n, SWIGTYPE_p_float x, Index index) {
method train_encoded (line 89) | public void train_encoded(long nx, SWIGTYPE_p_unsigned_char x_in, Inde...
method train_encoded (line 93) | public void train_encoded(long nx, SWIGTYPE_p_unsigned_char x_in, Inde...
method post_process_centroids (line 97) | public void post_process_centroids() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Clustering1D.java
class Clustering1D (line 11) | public class Clustering1D extends Clustering {
method Clustering1D (line 14) | protected Clustering1D(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(Clustering1D obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method Clustering1D (line 39) | public Clustering1D(int k) {
method Clustering1D (line 43) | public Clustering1D(int k, ClusteringParameters cp) {
method train_exact (line 47) | public void train_exact(long n, SWIGTYPE_p_float x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringIterationStats.java
class ClusteringIterationStats (line 11) | public class ClusteringIterationStats {
method ClusteringIterationStats (line 15) | protected ClusteringIterationStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ClusteringIterationStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setObj (line 39) | public void setObj(float value) {
method getObj (line 43) | public float getObj() {
method setTime (line 47) | public void setTime(double value) {
method getTime (line 51) | public double getTime() {
method setTime_search (line 55) | public void setTime_search(double value) {
method getTime_search (line 59) | public double getTime_search() {
method setImbalance_factor (line 63) | public void setImbalance_factor(double value) {
method getImbalance_factor (line 67) | public double getImbalance_factor() {
method setNsplit (line 71) | public void setNsplit(int value) {
method getNsplit (line 75) | public int getNsplit() {
method ClusteringIterationStats (line 79) | public ClusteringIterationStats() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringParameters.java
class ClusteringParameters (line 11) | public class ClusteringParameters {
method ClusteringParameters (line 15) | protected ClusteringParameters(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ClusteringParameters obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNiter (line 39) | public void setNiter(int value) {
method getNiter (line 43) | public int getNiter() {
method setNredo (line 47) | public void setNredo(int value) {
method getNredo (line 51) | public int getNredo() {
method setVerbose (line 55) | public void setVerbose(boolean value) {
method getVerbose (line 59) | public boolean getVerbose() {
method setSpherical (line 63) | public void setSpherical(boolean value) {
method getSpherical (line 67) | public boolean getSpherical() {
method setInt_centroids (line 71) | public void setInt_centroids(boolean value) {
method getInt_centroids (line 75) | public boolean getInt_centroids() {
method setUpdate_index (line 79) | public void setUpdate_index(boolean value) {
method getUpdate_index (line 83) | public boolean getUpdate_index() {
method setFrozen_centroids (line 87) | public void setFrozen_centroids(boolean value) {
method getFrozen_centroids (line 91) | public boolean getFrozen_centroids() {
method setMin_points_per_centroid (line 95) | public void setMin_points_per_centroid(int value) {
method getMin_points_per_centroid (line 99) | public int getMin_points_per_centroid() {
method setMax_points_per_centroid (line 103) | public void setMax_points_per_centroid(int value) {
method getMax_points_per_centroid (line 107) | public int getMax_points_per_centroid() {
method setSeed (line 111) | public void setSeed(int value) {
method getSeed (line 115) | public int getSeed() {
method setDecode_block_size (line 119) | public void setDecode_block_size(long value) {
method getDecode_block_size (line 123) | public long getDecode_block_size() {
method ClusteringParameters (line 127) | public ClusteringParameters() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/DistanceComputer.java
class DistanceComputer (line 11) | public class DistanceComputer {
method DistanceComputer (line 15) | protected DistanceComputer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(DistanceComputer obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method set_query (line 39) | public void set_query(SWIGTYPE_p_float x) {
method symmetric_dis (line 43) | public float symmetric_dis(long i, long j) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/DoubleVector.java
class DoubleVector (line 11) | public class DoubleVector {
method DoubleVector (line 15) | protected DoubleVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(DoubleVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method DoubleVector (line 39) | public DoubleVector() {
method push_back (line 43) | public void push_back(double arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_double data() {
method size (line 56) | public long size() {
method at (line 60) | public double at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(DoubleVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/FloatVector.java
class FloatVector (line 11) | public class FloatVector {
method FloatVector (line 15) | protected FloatVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(FloatVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method FloatVector (line 39) | public FloatVector() {
method push_back (line 43) | public void push_back(float arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_float data() {
method size (line 56) | public long size() {
method at (line 60) | public float at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(FloatVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/FloatVectorVector.java
class FloatVectorVector (line 11) | public class FloatVectorVector {
method FloatVectorVector (line 15) | protected FloatVectorVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(FloatVectorVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method FloatVectorVector (line 39) | public FloatVectorVector() {
method push_back (line 43) | public void push_back(FloatVector arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public FloatVector data() {
method size (line 56) | public long size() {
method at (line 60) | public FloatVector at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(FloatVectorVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer16.java
class GenHammingComputer16 (line 11) | public class GenHammingComputer16 {
method GenHammingComputer16 (line 15) | protected GenHammingComputer16(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(GenHammingComputer16 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method GenHammingComputer16 (line 55) | public GenHammingComputer16(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 59) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer32.java
class GenHammingComputer32 (line 11) | public class GenHammingComputer32 {
method GenHammingComputer32 (line 15) | protected GenHammingComputer32(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(GenHammingComputer32 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method setA2 (line 55) | public void setA2(long value) {
method getA2 (line 59) | public long getA2() {
method setA3 (line 63) | public void setA3(long value) {
method getA3 (line 67) | public long getA3() {
method GenHammingComputer32 (line 71) | public GenHammingComputer32(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 75) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer8.java
class GenHammingComputer8 (line 11) | public class GenHammingComputer8 {
method GenHammingComputer8 (line 15) | protected GenHammingComputer8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(GenHammingComputer8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method GenHammingComputer8 (line 47) | public GenHammingComputer8(SWIGTYPE_p_unsigned_char a, int code_size) {
method hamming (line 51) | public int hamming(SWIGTYPE_p_unsigned_char b) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputerM8.java
class GenHammingComputerM8 (line 11) | public class GenHammingComputerM8 {
method GenHammingComputerM8 (line 15) | protected GenHammingComputerM8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(GenHammingComputerM8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA (line 39) | public void setA(SWIGTYPE_p_unsigned_long value) {
method getA (line 43) | public SWIGTYPE_p_unsigned_long getA() {
method setN (line 48) | public void setN(int value) {
method getN (line 52) | public int getN() {
method GenHammingComputerM8 (line 56) | public GenHammingComputerM8(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 60) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HNSW.java
class HNSW (line 11) | public class HNSW {
method HNSW (line 15) | protected HNSW(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HNSW obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
class MinimaxHeap (line 39) | static public class MinimaxHeap {
method MinimaxHeap (line 43) | protected MinimaxHeap(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 48) | protected static long getCPtr(MinimaxHeap obj) {
method finalize (line 52) | @SuppressWarnings("deprecation")
method delete (line 57) | public synchronized void delete() {
method setN (line 67) | public void setN(int value) {
method getN (line 71) | public int getN() {
method setK (line 75) | public void setK(int value) {
method getK (line 79) | public int getK() {
method setNvalid (line 83) | public void setNvalid(int value) {
method getNvalid (line 87) | public int getNvalid() {
method setIds (line 91) | public void setIds(IntVector value) {
method getIds (line 95) | public IntVector getIds() {
method setDis (line 100) | public void setDis(FloatVector value) {
method getDis (line 104) | public FloatVector getDis() {
method MinimaxHeap (line 109) | public MinimaxHeap(int n) {
method push (line 113) | public void push(int i, float v) {
method max (line 117) | public float max() {
method size (line 121) | public int size() {
method clear (line 125) | public void clear() {
method pop_min (line 129) | public int pop_min(SWIGTYPE_p_float vmin_out) {
method pop_min (line 133) | public int pop_min() {
method count_below (line 137) | public int count_below(float thresh) {
class NodeDistCloser (line 143) | static public class NodeDistCloser {
method NodeDistCloser (line 147) | protected NodeDistCloser(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 152) | protected static long getCPtr(NodeDistCloser obj) {
method finalize (line 156) | @SuppressWarnings("deprecation")
method delete (line 161) | public synchronized void delete() {
method setD (line 171) | public void setD(float value) {
method getD (line 175) | public float getD() {
method setId (line 179) | public void setId(int value) {
method getId (line 183) | public int getId() {
method NodeDistCloser (line 187) | public NodeDistCloser(float d, int id) {
class NodeDistFarther (line 193) | static public class NodeDistFarther {
method NodeDistFarther (line 197) | protected NodeDistFarther(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 202) | protected static long getCPtr(NodeDistFarther obj) {
method finalize (line 206) | @SuppressWarnings("deprecation")
method delete (line 211) | public synchronized void delete() {
method setD (line 221) | public void setD(float value) {
method getD (line 225) | public float getD() {
method setId (line 229) | public void setId(int value) {
method getId (line 233) | public int getId() {
method NodeDistFarther (line 237) | public NodeDistFarther(float d, int id) {
method setAssign_probas (line 243) | public void setAssign_probas(DoubleVector value) {
method getAssign_probas (line 247) | public DoubleVector getAssign_probas() {
method setCum_nneighbor_per_level (line 252) | public void setCum_nneighbor_per_level(IntVector value) {
method getCum_nneighbor_per_level (line 256) | public IntVector getCum_nneighbor_per_level() {
method setLevels (line 261) | public void setLevels(IntVector value) {
method getLevels (line 265) | public IntVector getLevels() {
method setOffsets (line 270) | public void setOffsets(Uint64Vector value) {
method getOffsets (line 274) | public Uint64Vector getOffsets() {
method setNeighbors (line 279) | public void setNeighbors(IntVector value) {
method getNeighbors (line 283) | public IntVector getNeighbors() {
method setEntry_point (line 288) | public void setEntry_point(int value) {
method getEntry_point (line 292) | public int getEntry_point() {
method setRng (line 296) | public void setRng(SWIGTYPE_p_faiss__RandomGenerator value) {
method getRng (line 300) | public SWIGTYPE_p_faiss__RandomGenerator getRng() {
method setMax_level (line 305) | public void setMax_level(int value) {
method getMax_level (line 309) | public int getMax_level() {
method setEfConstruction (line 313) | public void setEfConstruction(int value) {
method getEfConstruction (line 317) | public int getEfConstruction() {
method setEfSearch (line 321) | public void setEfSearch(int value) {
method getEfSearch (line 325) | public int getEfSearch() {
method setCheck_relative_distance (line 329) | public void setCheck_relative_distance(boolean value) {
method getCheck_relative_distance (line 333) | public boolean getCheck_relative_distance() {
method setUpper_beam (line 337) | public void setUpper_beam(int value) {
method getUpper_beam (line 341) | public int getUpper_beam() {
method setSearch_bounded_queue (line 345) | public void setSearch_bounded_queue(boolean value) {
method getSearch_bounded_queue (line 349) | public boolean getSearch_bounded_queue() {
method set_default_probas (line 353) | public void set_default_probas(int M, float levelMult) {
method set_nb_neighbors (line 357) | public void set_nb_neighbors(int level_no, int n) {
method nb_neighbors (line 361) | public int nb_neighbors(int layer_no) {
method cum_nb_neighbors (line 365) | public int cum_nb_neighbors(int layer_no) {
method neighbor_range (line 369) | public void neighbor_range(long no, int layer_no, SWIGTYPE_p_unsigned_...
method HNSW (line 373) | public HNSW(int M) {
method HNSW (line 377) | public HNSW() {
method random_level (line 381) | public int random_level() {
method fill_with_random_links (line 385) | public void fill_with_random_links(long n) {
method add_links_starting_from (line 389) | public void add_links_starting_from(DistanceComputer ptdis, int pt_id,...
method add_with_locks (line 393) | public void add_with_locks(DistanceComputer ptdis, int pt_level, int p...
method search_from_candidates (line 397) | public int search_from_candidates(DistanceComputer qdis, int k, LongVe...
method search_from_candidates (line 401) | public int search_from_candidates(DistanceComputer qdis, int k, LongVe...
method search_from_candidate_unbounded (line 405) | public SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t search...
method search (line 409) | public HNSWStats search(DistanceComputer qdis, int k, LongVector I, SW...
method reset (line 413) | public void reset() {
method clear_neighbor_tables (line 417) | public void clear_neighbor_tables(int level) {
method print_neighbor_stats (line 421) | public void print_neighbor_stats(int level) {
method prepare_level_tab (line 425) | public int prepare_level_tab(long n, boolean preset_levels) {
method prepare_level_tab (line 429) | public int prepare_level_tab(long n) {
method shrink_neighbor_list (line 433) | public static void shrink_neighbor_list(DistanceComputer qdis, SWIGTYP...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HNSWStats.java
class HNSWStats (line 11) | public class HNSWStats {
method HNSWStats (line 15) | protected HNSWStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HNSWStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setN1 (line 39) | public void setN1(long value) {
method getN1 (line 43) | public long getN1() {
method setN2 (line 47) | public void setN2(long value) {
method getN2 (line 51) | public long getN2() {
method setN3 (line 55) | public void setN3(long value) {
method getN3 (line 59) | public long getN3() {
method setNdis (line 63) | public void setNdis(long value) {
method getNdis (line 67) | public long getNdis() {
method setNreorder (line 71) | public void setNreorder(long value) {
method getNreorder (line 75) | public long getNreorder() {
method HNSWStats (line 79) | public HNSWStats(long n1, long n2, long n3, long ndis, long nreorder) {
method HNSWStats (line 83) | public HNSWStats(long n1, long n2, long n3, long ndis) {
method HNSWStats (line 87) | public HNSWStats(long n1, long n2, long n3) {
method HNSWStats (line 91) | public HNSWStats(long n1, long n2) {
method HNSWStats (line 95) | public HNSWStats(long n1) {
method HNSWStats (line 99) | public HNSWStats() {
method reset (line 103) | public void reset() {
method combine (line 107) | public void combine(HNSWStats other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HStackInvertedLists.java
class HStackInvertedLists (line 11) | public class HStackInvertedLists extends ReadOnlyInvertedLists {
method HStackInvertedLists (line 14) | protected HStackInvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(HStackInvertedLists obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setIls (line 39) | public void setIls(SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_...
method getIls (line 43) | public SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t getIls() {
method HStackInvertedLists (line 48) | public HStackInvertedLists(int nil, SWIGTYPE_p_p_faiss__InvertedLists ...
method list_size (line 52) | public long list_size(long list_no) {
method get_codes (line 56) | public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
method get_ids (line 61) | public LongVector get_ids(long list_no) {
method prefetch_lists (line 65) | public void prefetch_lists(LongVector list_nos, int nlist) {
method release_codes (line 69) | public void release_codes(long list_no, SWIGTYPE_p_unsigned_char codes) {
method release_ids (line 73) | public void release_ids(long list_no, LongVector ids) {
method get_single_id (line 77) | public long get_single_id(long list_no, long offset) {
method get_single_code (line 81) | public SWIGTYPE_p_unsigned_char get_single_code(long list_no, long off...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer16.java
class HammingComputer16 (line 11) | public class HammingComputer16 {
method HammingComputer16 (line 15) | protected HammingComputer16(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer16 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method HammingComputer16 (line 55) | public HammingComputer16() {
method HammingComputer16 (line 59) | public HammingComputer16(SWIGTYPE_p_unsigned_char a8, int code_size) {
method set (line 63) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 67) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer20.java
class HammingComputer20 (line 11) | public class HammingComputer20 {
method HammingComputer20 (line 15) | protected HammingComputer20(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer20 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method setA2 (line 55) | public void setA2(SWIGTYPE_p_uint32_t value) {
method getA2 (line 59) | public SWIGTYPE_p_uint32_t getA2() {
method HammingComputer20 (line 63) | public HammingComputer20() {
method HammingComputer20 (line 67) | public HammingComputer20(SWIGTYPE_p_unsigned_char a8, int code_size) {
method set (line 71) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 75) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer32.java
class HammingComputer32 (line 11) | public class HammingComputer32 {
method HammingComputer32 (line 15) | protected HammingComputer32(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer32 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method setA2 (line 55) | public void setA2(long value) {
method getA2 (line 59) | public long getA2() {
method setA3 (line 63) | public void setA3(long value) {
method getA3 (line 67) | public long getA3() {
method HammingComputer32 (line 71) | public HammingComputer32() {
method HammingComputer32 (line 75) | public HammingComputer32(SWIGTYPE_p_unsigned_char a8, int code_size) {
method set (line 79) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 83) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer4.java
class HammingComputer4 (line 11) | public class HammingComputer4 {
method HammingComputer4 (line 15) | protected HammingComputer4(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer4 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(SWIGTYPE_p_uint32_t value) {
method getA0 (line 43) | public SWIGTYPE_p_uint32_t getA0() {
method HammingComputer4 (line 47) | public HammingComputer4() {
method HammingComputer4 (line 51) | public HammingComputer4(SWIGTYPE_p_unsigned_char a, int code_size) {
method set (line 55) | public void set(SWIGTYPE_p_unsigned_char a, int code_size) {
method hamming (line 59) | public int hamming(SWIGTYPE_p_unsigned_char b) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer64.java
class HammingComputer64 (line 11) | public class HammingComputer64 {
method HammingComputer64 (line 15) | protected HammingComputer64(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer64 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method setA1 (line 47) | public void setA1(long value) {
method getA1 (line 51) | public long getA1() {
method setA2 (line 55) | public void setA2(long value) {
method getA2 (line 59) | public long getA2() {
method setA3 (line 63) | public void setA3(long value) {
method getA3 (line 67) | public long getA3() {
method setA4 (line 71) | public void setA4(long value) {
method getA4 (line 75) | public long getA4() {
method setA5 (line 79) | public void setA5(long value) {
method getA5 (line 83) | public long getA5() {
method setA6 (line 87) | public void setA6(long value) {
method getA6 (line 91) | public long getA6() {
method setA7 (line 95) | public void setA7(long value) {
method getA7 (line 99) | public long getA7() {
method HammingComputer64 (line 103) | public HammingComputer64() {
method HammingComputer64 (line 107) | public HammingComputer64(SWIGTYPE_p_unsigned_char a8, int code_size) {
method set (line 111) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 115) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer8.java
class HammingComputer8 (line 11) | public class HammingComputer8 {
method HammingComputer8 (line 15) | protected HammingComputer8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputer8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA0 (line 39) | public void setA0(long value) {
method getA0 (line 43) | public long getA0() {
method HammingComputer8 (line 47) | public HammingComputer8() {
method HammingComputer8 (line 51) | public HammingComputer8(SWIGTYPE_p_unsigned_char a, int code_size) {
method set (line 55) | public void set(SWIGTYPE_p_unsigned_char a, int code_size) {
method hamming (line 59) | public int hamming(SWIGTYPE_p_unsigned_char b) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerDefault.java
class HammingComputerDefault (line 11) | public class HammingComputerDefault {
method HammingComputerDefault (line 15) | protected HammingComputerDefault(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputerDefault obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA8 (line 39) | public void setA8(SWIGTYPE_p_unsigned_char value) {
method getA8 (line 43) | public SWIGTYPE_p_unsigned_char getA8() {
method setQuotient8 (line 48) | public void setQuotient8(int value) {
method getQuotient8 (line 52) | public int getQuotient8() {
method setRemainder8 (line 56) | public void setRemainder8(int value) {
method getRemainder8 (line 60) | public int getRemainder8() {
method HammingComputerDefault (line 64) | public HammingComputerDefault() {
method HammingComputerDefault (line 68) | public HammingComputerDefault(SWIGTYPE_p_unsigned_char a8, int code_si...
method set (line 72) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 76) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM4.java
class HammingComputerM4 (line 11) | public class HammingComputerM4 {
method HammingComputerM4 (line 15) | protected HammingComputerM4(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputerM4 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA (line 39) | public void setA(SWIGTYPE_p_uint32_t value) {
method getA (line 43) | public SWIGTYPE_p_uint32_t getA() {
method setN (line 48) | public void setN(int value) {
method getN (line 52) | public int getN() {
method HammingComputerM4 (line 56) | public HammingComputerM4() {
method HammingComputerM4 (line 60) | public HammingComputerM4(SWIGTYPE_p_unsigned_char a4, int code_size) {
method set (line 64) | public void set(SWIGTYPE_p_unsigned_char a4, int code_size) {
method hamming (line 68) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM8.java
class HammingComputerM8 (line 11) | public class HammingComputerM8 {
method HammingComputerM8 (line 15) | protected HammingComputerM8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(HammingComputerM8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setA (line 39) | public void setA(SWIGTYPE_p_unsigned_long value) {
method getA (line 43) | public SWIGTYPE_p_unsigned_long getA() {
method setN (line 48) | public void setN(int value) {
method getN (line 52) | public int getN() {
method HammingComputerM8 (line 56) | public HammingComputerM8() {
method HammingComputerM8 (line 60) | public HammingComputerM8(SWIGTYPE_p_unsigned_char a8, int code_size) {
method set (line 64) | public void set(SWIGTYPE_p_unsigned_char a8, int code_size) {
method hamming (line 68) | public int hamming(SWIGTYPE_p_unsigned_char b8) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelector.java
class IDSelector (line 11) | public class IDSelector {
method IDSelector (line 15) | protected IDSelector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IDSelector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method is_member (line 39) | public boolean is_member(long id) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorArray.java
class IDSelectorArray (line 11) | public class IDSelectorArray extends IDSelector {
method IDSelectorArray (line 14) | protected IDSelectorArray(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IDSelectorArray obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setN (line 39) | public void setN(long value) {
method getN (line 43) | public long getN() {
method setIds (line 47) | public void setIds(LongVector value) {
method getIds (line 51) | public LongVector getIds() {
method IDSelectorArray (line 55) | public IDSelectorArray(long n, LongVector ids) {
method is_member (line 59) | public boolean is_member(long id) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorBatch.java
class IDSelectorBatch (line 11) | public class IDSelectorBatch extends IDSelector {
method IDSelectorBatch (line 14) | protected IDSelectorBatch(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IDSelectorBatch obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setNbits (line 39) | public void setNbits(int value) {
method getNbits (line 43) | public int getNbits() {
method setMask (line 47) | public void setMask(long value) {
method getMask (line 51) | public long getMask() {
method IDSelectorBatch (line 55) | public IDSelectorBatch(long n, LongVector indices) {
method is_member (line 59) | public boolean is_member(long id) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorRange.java
class IDSelectorRange (line 11) | public class IDSelectorRange extends IDSelector {
method IDSelectorRange (line 14) | protected IDSelectorRange(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IDSelectorRange obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setImin (line 39) | public void setImin(long value) {
method getImin (line 43) | public long getImin() {
method setImax (line 47) | public void setImax(long value) {
method getImax (line 51) | public long getImax() {
method IDSelectorRange (line 55) | public IDSelectorRange(long imin, long imax) {
method is_member (line 59) | public boolean is_member(long id) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ITQMatrix.java
class ITQMatrix (line 11) | public class ITQMatrix extends LinearTransform {
method ITQMatrix (line 14) | protected ITQMatrix(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ITQMatrix obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setMax_iter (line 39) | public void setMax_iter(int value) {
method getMax_iter (line 43) | public int getMax_iter() {
method setSeed (line 47) | public void setSeed(int value) {
method getSeed (line 51) | public int getSeed() {
method setInit_rotation (line 55) | public void setInit_rotation(DoubleVector value) {
method getInit_rotation (line 59) | public DoubleVector getInit_rotation() {
method ITQMatrix (line 64) | public ITQMatrix(int d) {
method ITQMatrix (line 68) | public ITQMatrix() {
method train (line 72) | public void train(long n, SWIGTYPE_p_float x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ITQTransform.java
class ITQTransform (line 11) | public class ITQTransform extends VectorTransform {
method ITQTransform (line 14) | protected ITQTransform(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ITQTransform obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setMean (line 39) | public void setMean(FloatVector value) {
method getMean (line 43) | public FloatVector getMean() {
method setDo_pca (line 48) | public void setDo_pca(boolean value) {
method getDo_pca (line 52) | public boolean getDo_pca() {
method setItq (line 56) | public void setItq(ITQMatrix value) {
method getItq (line 60) | public ITQMatrix getItq() {
method setMax_train_per_dim (line 65) | public void setMax_train_per_dim(int value) {
method getMax_train_per_dim (line 69) | public int getMax_train_per_dim() {
method setPca_then_itq (line 73) | public void setPca_then_itq(LinearTransform value) {
method getPca_then_itq (line 77) | public LinearTransform getPca_then_itq() {
method ITQTransform (line 82) | public ITQTransform(int d_in, int d_out, boolean do_pca) {
method ITQTransform (line 86) | public ITQTransform(int d_in, int d_out) {
method ITQTransform (line 90) | public ITQTransform(int d_in) {
method ITQTransform (line 94) | public ITQTransform() {
method train (line 98) | public void train(long n, SWIGTYPE_p_float x) {
method apply_noalloc (line 102) | public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IVFPQSearchParameters.java
class IVFPQSearchParameters (line 11) | public class IVFPQSearchParameters extends IVFSearchParameters {
method IVFPQSearchParameters (line 14) | protected IVFPQSearchParameters(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IVFPQSearchParameters obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setScan_table_threshold (line 39) | public void setScan_table_threshold(long value) {
method getScan_table_threshold (line 43) | public long getScan_table_threshold() {
method setPolysemous_ht (line 47) | public void setPolysemous_ht(int value) {
method getPolysemous_ht (line 51) | public int getPolysemous_ht() {
method IVFPQSearchParameters (line 55) | public IVFPQSearchParameters() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IVFSearchParameters.java
class IVFSearchParameters (line 11) | public class IVFSearchParameters {
method IVFSearchParameters (line 15) | protected IVFSearchParameters(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IVFSearchParameters obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNprobe (line 39) | public void setNprobe(long value) {
method getNprobe (line 43) | public long getNprobe() {
method setMax_codes (line 47) | public void setMax_codes(long value) {
method getMax_codes (line 51) | public long getMax_codes() {
method IVFSearchParameters (line 55) | public IVFSearchParameters() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Index.java
class Index (line 11) | public class Index {
method Index (line 15) | protected Index(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(Index obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setD (line 39) | public void setD(int value) {
method getD (line 43) | public int getD() {
method setNtotal (line 47) | public void setNtotal(long value) {
method getNtotal (line 51) | public long getNtotal() {
method setVerbose (line 55) | public void setVerbose(boolean value) {
method getVerbose (line 59) | public boolean getVerbose() {
method setIs_trained (line 63) | public void setIs_trained(boolean value) {
method getIs_trained (line 67) | public boolean getIs_trained() {
method setMetric_type (line 71) | public void setMetric_type(MetricType value) {
method getMetric_type (line 75) | public MetricType getMetric_type() {
method setMetric_arg (line 79) | public void setMetric_arg(float value) {
method getMetric_arg (line 83) | public float getMetric_arg() {
method train (line 87) | public void train(long n, SWIGTYPE_p_float x) {
method add (line 91) | public void add(long n, SWIGTYPE_p_float x) {
method add_with_ids (line 95) | public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
method search (line 99) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method range_search (line 103) | public void range_search(long n, SWIGTYPE_p_float x, float radius, Ran...
method assign (line 107) | public void assign(long n, SWIGTYPE_p_float x, LongVector labels, long...
method assign (line 111) | public void assign(long n, SWIGTYPE_p_float x, LongVector labels) {
method reset (line 115) | public void reset() {
method remove_ids (line 119) | public long remove_ids(IDSelector sel) {
method reconstruct (line 123) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method reconstruct_n (line 127) | public void reconstruct_n(long i0, long ni, SWIGTYPE_p_float recons) {
method search_and_reconstruct (line 131) | public void search_and_reconstruct(long n, SWIGTYPE_p_float x, long k,...
method compute_residual (line 135) | public void compute_residual(SWIGTYPE_p_float x, SWIGTYPE_p_float resi...
method compute_residual_n (line 139) | public void compute_residual_n(long n, SWIGTYPE_p_float xs, SWIGTYPE_p...
method get_distance_computer (line 143) | public DistanceComputer get_distance_computer() {
method sa_code_size (line 148) | public long sa_code_size() {
method sa_encode (line 152) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 156) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
method toIVF (line 160) | public IndexIVF toIVF() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Index2Layer.java
class Index2Layer (line 11) | public class Index2Layer extends IndexFlatCodes {
method Index2Layer (line 14) | protected Index2Layer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(Index2Layer obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setQ1 (line 39) | public void setQ1(Level1Quantizer value) {
method getQ1 (line 43) | public Level1Quantizer getQ1() {
method setPq (line 48) | public void setPq(ProductQuantizer value) {
method getPq (line 52) | public ProductQuantizer getPq() {
method setCode_size_1 (line 57) | public void setCode_size_1(long value) {
method getCode_size_1 (line 61) | public long getCode_size_1() {
method setCode_size_2 (line 65) | public void setCode_size_2(long value) {
method getCode_size_2 (line 69) | public long getCode_size_2() {
method Index2Layer (line 73) | public Index2Layer(Index quantizer, long nlist, int M, int nbit, Metri...
method Index2Layer (line 77) | public Index2Layer(Index quantizer, long nlist, int M, int nbit) {
method Index2Layer (line 81) | public Index2Layer(Index quantizer, long nlist, int M) {
method Index2Layer (line 85) | public Index2Layer() {
method train (line 89) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 93) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method get_distance_computer (line 97) | public DistanceComputer get_distance_computer() {
method transfer_to_IVFPQ (line 102) | public void transfer_to_IVFPQ(IndexIVFPQ other) {
method sa_encode (line 106) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 110) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinary.java
class IndexBinary (line 11) | public class IndexBinary {
method IndexBinary (line 15) | protected IndexBinary(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IndexBinary obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setD (line 39) | public void setD(int value) {
method getD (line 43) | public int getD() {
method setCode_size (line 47) | public void setCode_size(int value) {
method getCode_size (line 51) | public int getCode_size() {
method setNtotal (line 55) | public void setNtotal(long value) {
method getNtotal (line 59) | public long getNtotal() {
method setVerbose (line 63) | public void setVerbose(boolean value) {
method getVerbose (line 67) | public boolean getVerbose() {
method setIs_trained (line 71) | public void setIs_trained(boolean value) {
method getIs_trained (line 75) | public boolean getIs_trained() {
method setMetric_type (line 79) | public void setMetric_type(MetricType value) {
method getMetric_type (line 83) | public MetricType getMetric_type() {
method train (line 87) | public void train(long n, SWIGTYPE_p_unsigned_char x) {
method add (line 91) | public void add(long n, SWIGTYPE_p_unsigned_char x) {
method add_with_ids (line 95) | public void add_with_ids(long n, SWIGTYPE_p_unsigned_char x, LongVecto...
method search (line 99) | public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYP...
method range_search (line 103) | public void range_search(long n, SWIGTYPE_p_unsigned_char x, int radiu...
method assign (line 107) | public void assign(long n, SWIGTYPE_p_unsigned_char x, LongVector labe...
method assign (line 111) | public void assign(long n, SWIGTYPE_p_unsigned_char x, LongVector labe...
method reset (line 115) | public void reset() {
method remove_ids (line 119) | public long remove_ids(IDSelector sel) {
method reconstruct (line 123) | public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
method reconstruct_n (line 127) | public void reconstruct_n(long i0, long ni, SWIGTYPE_p_unsigned_char r...
method search_and_reconstruct (line 131) | public void search_and_reconstruct(long n, SWIGTYPE_p_unsigned_char x,...
method display (line 135) | public void display() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFlat.java
class IndexBinaryFlat (line 11) | public class IndexBinaryFlat extends IndexBinary {
method IndexBinaryFlat (line 14) | protected IndexBinaryFlat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexBinaryFlat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setXb (line 39) | public void setXb(ByteVector value) {
method getXb (line 43) | public ByteVector getXb() {
method setUse_heap (line 48) | public void setUse_heap(boolean value) {
method getUse_heap (line 52) | public boolean getUse_heap() {
method setQuery_batch_size (line 56) | public void setQuery_batch_size(long value) {
method getQuery_batch_size (line 60) | public long getQuery_batch_size() {
method IndexBinaryFlat (line 64) | public IndexBinaryFlat(long d) {
method add (line 68) | public void add(long n, SWIGTYPE_p_unsigned_char x) {
method reset (line 72) | public void reset() {
method search (line 76) | public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYP...
method range_search (line 80) | public void range_search(long n, SWIGTYPE_p_unsigned_char x, int radiu...
method reconstruct (line 84) | public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
method remove_ids (line 88) | public long remove_ids(IDSelector sel) {
method IndexBinaryFlat (line 92) | public IndexBinaryFlat() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFromFloat.java
class IndexBinaryFromFloat (line 11) | public class IndexBinaryFromFloat extends IndexBinary {
method IndexBinaryFromFloat (line 14) | protected IndexBinaryFromFloat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexBinaryFromFloat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setIndex (line 39) | public void setIndex(Index value) {
method getIndex (line 43) | public Index getIndex() {
method setOwn_fields (line 48) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 52) | public boolean getOwn_fields() {
method IndexBinaryFromFloat (line 56) | public IndexBinaryFromFloat() {
method IndexBinaryFromFloat (line 60) | public IndexBinaryFromFloat(Index index) {
method add (line 64) | public void add(long n, SWIGTYPE_p_unsigned_char x) {
method reset (line 68) | public void reset() {
method search (line 72) | public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYP...
method train (line 76) | public void train(long n, SWIGTYPE_p_unsigned_char x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryHNSW.java
class IndexBinaryHNSW (line 11) | public class IndexBinaryHNSW extends IndexBinary {
method IndexBinaryHNSW (line 14) | protected IndexBinaryHNSW(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexBinaryHNSW obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setHnsw (line 39) | public void setHnsw(HNSW value) {
method getHnsw (line 43) | public HNSW getHnsw() {
method setOwn_fields (line 48) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 52) | public boolean getOwn_fields() {
method setStorage (line 56) | public void setStorage(IndexBinary value) {
method getStorage (line 60) | public IndexBinary getStorage() {
method IndexBinaryHNSW (line 65) | public IndexBinaryHNSW() {
method IndexBinaryHNSW (line 69) | public IndexBinaryHNSW(int d, int M) {
method IndexBinaryHNSW (line 73) | public IndexBinaryHNSW(int d) {
method IndexBinaryHNSW (line 77) | public IndexBinaryHNSW(IndexBinary storage, int M) {
method IndexBinaryHNSW (line 81) | public IndexBinaryHNSW(IndexBinary storage) {
method get_distance_computer (line 85) | public DistanceComputer get_distance_computer() {
method add (line 90) | public void add(long n, SWIGTYPE_p_unsigned_char x) {
method train (line 94) | public void train(long n, SWIGTYPE_p_unsigned_char x) {
method search (line 98) | public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYP...
method reconstruct (line 102) | public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
method reset (line 106) | public void reset() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryIVF.java
class IndexBinaryIVF (line 11) | public class IndexBinaryIVF extends IndexBinary {
method IndexBinaryIVF (line 14) | protected IndexBinaryIVF(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexBinaryIVF obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setInvlists (line 39) | public void setInvlists(InvertedLists value) {
method getInvlists (line 43) | public InvertedLists getInvlists() {
method setOwn_invlists (line 48) | public void setOwn_invlists(boolean value) {
method getOwn_invlists (line 52) | public boolean getOwn_invlists() {
method setNprobe (line 56) | public void setNprobe(long value) {
method getNprobe (line 60) | public long getNprobe() {
method setMax_codes (line 64) | public void setMax_codes(long value) {
method getMax_codes (line 68) | public long getMax_codes() {
method setUse_heap (line 72) | public void setUse_heap(boolean value) {
method getUse_heap (line 76) | public boolean getUse_heap() {
method setDirect_map (line 80) | public void setDirect_map(SWIGTYPE_p_DirectMap value) {
method getDirect_map (line 84) | public SWIGTYPE_p_DirectMap getDirect_map() {
method setQuantizer (line 88) | public void setQuantizer(IndexBinary value) {
method getQuantizer (line 92) | public IndexBinary getQuantizer() {
method setNlist (line 97) | public void setNlist(long value) {
method getNlist (line 101) | public long getNlist() {
method setOwn_fields (line 105) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 109) | public boolean getOwn_fields() {
method setCp (line 113) | public void setCp(ClusteringParameters value) {
method getCp (line 117) | public ClusteringParameters getCp() {
method setClustering_index (line 122) | public void setClustering_index(Index value) {
method getClustering_index (line 126) | public Index getClustering_index() {
method IndexBinaryIVF (line 131) | public IndexBinaryIVF(IndexBinary quantizer, long d, long nlist) {
method IndexBinaryIVF (line 135) | public IndexBinaryIVF() {
method reset (line 139) | public void reset() {
method train (line 143) | public void train(long n, SWIGTYPE_p_unsigned_char x) {
method add (line 147) | public void add(long n, SWIGTYPE_p_unsigned_char x) {
method add_with_ids (line 151) | public void add_with_ids(long n, SWIGTYPE_p_unsigned_char x, LongVecto...
method add_core (line 155) | public void add_core(long n, SWIGTYPE_p_unsigned_char x, LongVector xi...
method search_preassigned (line 159) | public void search_preassigned(long n, SWIGTYPE_p_unsigned_char x, lon...
method search_preassigned (line 163) | public void search_preassigned(long n, SWIGTYPE_p_unsigned_char x, lon...
method get_InvertedListScanner (line 167) | public SWIGTYPE_p_faiss__BinaryInvertedListScanner get_InvertedListSca...
method get_InvertedListScanner (line 172) | public SWIGTYPE_p_faiss__BinaryInvertedListScanner get_InvertedListSca...
method search (line 177) | public void search(long n, SWIGTYPE_p_unsigned_char x, long k, SWIGTYP...
method range_search (line 181) | public void range_search(long n, SWIGTYPE_p_unsigned_char x, int radiu...
method range_search_preassigned (line 185) | public void range_search_preassigned(long n, SWIGTYPE_p_unsigned_char ...
method reconstruct (line 189) | public void reconstruct(long key, SWIGTYPE_p_unsigned_char recons) {
method reconstruct_n (line 193) | public void reconstruct_n(long i0, long ni, SWIGTYPE_p_unsigned_char r...
method search_and_reconstruct (line 197) | public void search_and_reconstruct(long n, SWIGTYPE_p_unsigned_char x,...
method reconstruct_from_offset (line 201) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method remove_ids (line 205) | public long remove_ids(IDSelector sel) {
method merge_from (line 209) | public void merge_from(IndexBinaryIVF other, long add_id) {
method get_list_size (line 213) | public long get_list_size(long list_no) {
method make_direct_map (line 217) | public void make_direct_map(boolean new_maintain_direct_map) {
method make_direct_map (line 221) | public void make_direct_map() {
method set_direct_map_type (line 225) | public void set_direct_map_type(SWIGTYPE_p_DirectMap__Type type) {
method replace_invlists (line 229) | public void replace_invlists(InvertedLists il, boolean own) {
method replace_invlists (line 233) | public void replace_invlists(InvertedLists il) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlat.java
class IndexFlat (line 11) | public class IndexFlat extends IndexFlatCodes {
method IndexFlat (line 14) | protected IndexFlat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexFlat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexFlat (line 39) | public IndexFlat(long d, MetricType metric) {
method IndexFlat (line 43) | public IndexFlat(long d) {
method search (line 47) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method range_search (line 51) | public void range_search(long n, SWIGTYPE_p_float x, float radius, Ran...
method reconstruct (line 55) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method compute_distance_subset (line 59) | public void compute_distance_subset(long n, SWIGTYPE_p_float x, long k...
method get_xb (line 63) | public SWIGTYPE_p_float get_xb() {
method IndexFlat (line 68) | public IndexFlat() {
method get_distance_computer (line 72) | public DistanceComputer get_distance_computer() {
method sa_encode (line 77) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 81) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlat1D.java
class IndexFlat1D (line 11) | public class IndexFlat1D extends IndexFlatL2 {
method IndexFlat1D (line 14) | protected IndexFlat1D(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexFlat1D obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setContinuous_update (line 39) | public void setContinuous_update(boolean value) {
method getContinuous_update (line 43) | public boolean getContinuous_update() {
method setPerm (line 47) | public void setPerm(SWIGTYPE_p_std__vectorT_int64_t_t value) {
method getPerm (line 51) | public SWIGTYPE_p_std__vectorT_int64_t_t getPerm() {
method IndexFlat1D (line 56) | public IndexFlat1D(boolean continuous_update) {
method IndexFlat1D (line 60) | public IndexFlat1D() {
method update_permutation (line 64) | public void update_permutation() {
method add (line 68) | public void add(long n, SWIGTYPE_p_float x) {
method reset (line 72) | public void reset() {
method search (line 76) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatCodes.java
class IndexFlatCodes (line 11) | public class IndexFlatCodes extends Index {
method IndexFlatCodes (line 14) | protected IndexFlatCodes(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexFlatCodes obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setCode_size (line 39) | public void setCode_size(long value) {
method getCode_size (line 43) | public long getCode_size() {
method setCodes (line 47) | public void setCodes(ByteVector value) {
method getCodes (line 51) | public ByteVector getCodes() {
method add (line 56) | public void add(long n, SWIGTYPE_p_float x) {
method reset (line 60) | public void reset() {
method reconstruct_n (line 64) | public void reconstruct_n(long i0, long ni, SWIGTYPE_p_float recons) {
method reconstruct (line 68) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method sa_code_size (line 72) | public long sa_code_size() {
method remove_ids (line 76) | public long remove_ids(IDSelector sel) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatIP.java
class IndexFlatIP (line 11) | public class IndexFlatIP extends IndexFlat {
method IndexFlatIP (line 14) | protected IndexFlatIP(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexFlatIP obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexFlatIP (line 39) | public IndexFlatIP(long d) {
method IndexFlatIP (line 43) | public IndexFlatIP() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatL2.java
class IndexFlatL2 (line 11) | public class IndexFlatL2 extends IndexFlat {
method IndexFlatL2 (line 14) | protected IndexFlatL2(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexFlatL2 obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexFlatL2 (line 39) | public IndexFlatL2(long d) {
method IndexFlatL2 (line 43) | public IndexFlatL2() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSW.java
class IndexHNSW (line 11) | public class IndexHNSW extends Index {
method IndexHNSW (line 14) | protected IndexHNSW(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexHNSW obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setHnsw (line 39) | public void setHnsw(HNSW value) {
method getHnsw (line 43) | public HNSW getHnsw() {
method setOwn_fields (line 48) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 52) | public boolean getOwn_fields() {
method setStorage (line 56) | public void setStorage(Index value) {
method getStorage (line 60) | public Index getStorage() {
method setReconstruct_from_neighbors (line 65) | public void setReconstruct_from_neighbors(ReconstructFromNeighbors val...
method getReconstruct_from_neighbors (line 69) | public ReconstructFromNeighbors getReconstruct_from_neighbors() {
method IndexHNSW (line 74) | public IndexHNSW(int d, int M, MetricType metric) {
method IndexHNSW (line 78) | public IndexHNSW(int d, int M) {
method IndexHNSW (line 82) | public IndexHNSW(int d) {
method IndexHNSW (line 86) | public IndexHNSW() {
method IndexHNSW (line 90) | public IndexHNSW(Index storage, int M) {
method IndexHNSW (line 94) | public IndexHNSW(Index storage) {
method add (line 98) | public void add(long n, SWIGTYPE_p_float x) {
method train (line 102) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 106) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method reconstruct (line 110) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method reset (line 114) | public void reset() {
method shrink_level_0_neighbors (line 118) | public void shrink_level_0_neighbors(int size) {
method search_level_0 (line 122) | public void search_level_0(long n, SWIGTYPE_p_float x, long k, SWIGTYP...
method search_level_0 (line 126) | public void search_level_0(long n, SWIGTYPE_p_float x, long k, SWIGTYP...
method search_level_0 (line 130) | public void search_level_0(long n, SWIGTYPE_p_float x, long k, SWIGTYP...
method init_level_0_from_knngraph (line 134) | public void init_level_0_from_knngraph(int k, SWIGTYPE_p_float D, Long...
method init_level_0_from_entry_points (line 138) | public void init_level_0_from_entry_points(int npt, SWIGTYPE_p_int poi...
method reorder_links (line 142) | public void reorder_links() {
method link_singletons (line 146) | public void link_singletons() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSW2Level.java
class IndexHNSW2Level (line 11) | public class IndexHNSW2Level extends IndexHNSW {
method IndexHNSW2Level (line 14) | protected IndexHNSW2Level(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexHNSW2Level obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexHNSW2Level (line 39) | public IndexHNSW2Level() {
method IndexHNSW2Level (line 43) | public IndexHNSW2Level(Index quantizer, long nlist, int m_pq, int M) {
method flip_to_ivf (line 47) | public void flip_to_ivf() {
method search (line 51) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWFlat.java
class IndexHNSWFlat (line 11) | public class IndexHNSWFlat extends IndexHNSW {
method IndexHNSWFlat (line 14) | protected IndexHNSWFlat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexHNSWFlat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexHNSWFlat (line 39) | public IndexHNSWFlat() {
method IndexHNSWFlat (line 43) | public IndexHNSWFlat(int d, int M, MetricType metric) {
method IndexHNSWFlat (line 47) | public IndexHNSWFlat(int d, int M) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWPQ.java
class IndexHNSWPQ (line 11) | public class IndexHNSWPQ extends IndexHNSW {
method IndexHNSWPQ (line 14) | protected IndexHNSWPQ(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexHNSWPQ obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexHNSWPQ (line 39) | public IndexHNSWPQ() {
method IndexHNSWPQ (line 43) | public IndexHNSWPQ(int d, int pq_m, int M) {
method train (line 47) | public void train(long n, SWIGTYPE_p_float x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWSQ.java
class IndexHNSWSQ (line 11) | public class IndexHNSWSQ extends IndexHNSW {
method IndexHNSWSQ (line 14) | protected IndexHNSWSQ(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexHNSWSQ obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexHNSWSQ (line 39) | public IndexHNSWSQ() {
method IndexHNSWSQ (line 43) | public IndexHNSWSQ(int d, SWIGTYPE_p_ScalarQuantizer__QuantizerType qt...
method IndexHNSWSQ (line 47) | public IndexHNSWSQ(int d, SWIGTYPE_p_ScalarQuantizer__QuantizerType qt...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIDMap.java
class IndexIDMap (line 11) | public class IndexIDMap extends Index {
method IndexIDMap (line 14) | protected IndexIDMap(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIDMap obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setIndex (line 39) | public void setIndex(Index value) {
method getIndex (line 43) | public Index getIndex() {
method setOwn_fields (line 48) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 52) | public boolean getOwn_fields() {
method setId_map (line 56) | public void setId_map(SWIGTYPE_p_std__vectorT_int64_t_t value) {
method getId_map (line 60) | public SWIGTYPE_p_std__vectorT_int64_t_t getId_map() {
method IndexIDMap (line 65) | public IndexIDMap(Index index) {
method add_with_ids (line 69) | public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
method add (line 73) | public void add(long n, SWIGTYPE_p_float x) {
method search (line 77) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method train (line 81) | public void train(long n, SWIGTYPE_p_float x) {
method reset (line 85) | public void reset() {
method remove_ids (line 89) | public long remove_ids(IDSelector sel) {
method range_search (line 93) | public void range_search(long n, SWIGTYPE_p_float x, float radius, Ran...
method IndexIDMap (line 97) | public IndexIDMap() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVF.java
class IndexIVF (line 11) | public class IndexIVF extends Index {
method IndexIVF (line 14) | protected IndexIVF(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIVF obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setInvlists (line 39) | public void setInvlists(InvertedLists value) {
method getInvlists (line 43) | public InvertedLists getInvlists() {
method setOwn_invlists (line 48) | public void setOwn_invlists(boolean value) {
method getOwn_invlists (line 52) | public boolean getOwn_invlists() {
method setCode_size (line 56) | public void setCode_size(long value) {
method getCode_size (line 60) | public long getCode_size() {
method setNprobe (line 64) | public void setNprobe(long value) {
method getNprobe (line 68) | public long getNprobe() {
method setMax_codes (line 72) | public void setMax_codes(long value) {
method getMax_codes (line 76) | public long getMax_codes() {
method setParallel_mode (line 80) | public void setParallel_mode(int value) {
method getParallel_mode (line 84) | public int getParallel_mode() {
method getPARALLEL_MODE_NO_HEAP_INIT (line 88) | public int getPARALLEL_MODE_NO_HEAP_INIT() {
method setDirect_map (line 92) | public void setDirect_map(SWIGTYPE_p_DirectMap value) {
method getDirect_map (line 96) | public SWIGTYPE_p_DirectMap getDirect_map() {
method reset (line 100) | public void reset() {
method train (line 104) | public void train(long n, SWIGTYPE_p_float x) {
method add (line 108) | public void add(long n, SWIGTYPE_p_float x) {
method add_with_ids (line 112) | public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
method add_core (line 116) | public void add_core(long n, SWIGTYPE_p_float x, LongVector xids, Long...
method encode_vectors (line 120) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method encode_vectors (line 124) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method add_sa_codes (line 128) | public void add_sa_codes(long n, SWIGTYPE_p_unsigned_char codes, LongV...
method train_residual (line 132) | public void train_residual(long n, SWIGTYPE_p_float x) {
method search_preassigned (line 136) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method search_preassigned (line 140) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method search_preassigned (line 144) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method search (line 148) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method range_search (line 152) | public void range_search(long n, SWIGTYPE_p_float x, float radius, Ran...
method range_search_preassigned (line 156) | public void range_search_preassigned(long nx, SWIGTYPE_p_float x, floa...
method range_search_preassigned (line 160) | public void range_search_preassigned(long nx, SWIGTYPE_p_float x, floa...
method range_search_preassigned (line 164) | public void range_search_preassigned(long nx, SWIGTYPE_p_float x, floa...
method range_search_preassigned (line 168) | public void range_search_preassigned(long nx, SWIGTYPE_p_float x, floa...
method get_InvertedListScanner (line 172) | public SWIGTYPE_p_faiss__InvertedListScanner get_InvertedListScanner(b...
method get_InvertedListScanner (line 177) | public SWIGTYPE_p_faiss__InvertedListScanner get_InvertedListScanner() {
method reconstruct (line 182) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method update_vectors (line 186) | public void update_vectors(int nv, LongVector idx, SWIGTYPE_p_float v) {
method reconstruct_n (line 190) | public void reconstruct_n(long i0, long ni, SWIGTYPE_p_float recons) {
method search_and_reconstruct (line 194) | public void search_and_reconstruct(long n, SWIGTYPE_p_float x, long k,...
method reconstruct_from_offset (line 198) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method remove_ids (line 202) | public long remove_ids(IDSelector sel) {
method check_compatible_for_merge (line 206) | public void check_compatible_for_merge(IndexIVF other) {
method merge_from (line 210) | public void merge_from(IndexIVF other, long add_id) {
method copy_subset_to (line 214) | public void copy_subset_to(IndexIVF other, int subset_type, long a1, l...
method get_list_size (line 218) | public long get_list_size(long list_no) {
method make_direct_map (line 222) | public void make_direct_map(boolean new_maintain_direct_map) {
method make_direct_map (line 226) | public void make_direct_map() {
method set_direct_map_type (line 230) | public void set_direct_map_type(SWIGTYPE_p_DirectMap__Type type) {
method replace_invlists (line 234) | public void replace_invlists(InvertedLists il, boolean own) {
method replace_invlists (line 238) | public void replace_invlists(InvertedLists il) {
method sa_code_size (line 242) | public long sa_code_size() {
method sa_encode (line 246) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFFlat.java
class IndexIVFFlat (line 11) | public class IndexIVFFlat extends IndexIVF {
method IndexIVFFlat (line 14) | protected IndexIVFFlat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIVFFlat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexIVFFlat (line 39) | public IndexIVFFlat(Index quantizer, long d, long nlist_, MetricType a...
method IndexIVFFlat (line 43) | public IndexIVFFlat(Index quantizer, long d, long nlist_) {
method add_core (line 47) | public void add_core(long n, SWIGTYPE_p_float x, LongVector xids, Long...
method encode_vectors (line 51) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method encode_vectors (line 55) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method get_InvertedListScanner (line 59) | public SWIGTYPE_p_faiss__InvertedListScanner get_InvertedListScanner(b...
method reconstruct_from_offset (line 64) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method sa_decode (line 68) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
method IndexIVFFlat (line 72) | public IndexIVFFlat() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFFlatDedup.java
class IndexIVFFlatDedup (line 11) | public class IndexIVFFlatDedup extends IndexIVFFlat {
method IndexIVFFlatDedup (line 14) | protected IndexIVFFlatDedup(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIVFFlatDedup obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setInstances (line 39) | public void setInstances(SWIGTYPE_p_std__unordered_multimapT_int64_t_i...
method getInstances (line 43) | public SWIGTYPE_p_std__unordered_multimapT_int64_t_int64_t_t getInstan...
method IndexIVFFlatDedup (line 47) | public IndexIVFFlatDedup(Index quantizer, long d, long nlist_, MetricT...
method IndexIVFFlatDedup (line 51) | public IndexIVFFlatDedup(Index quantizer, long d, long nlist_) {
method train (line 55) | public void train(long n, SWIGTYPE_p_float x) {
method add_with_ids (line 59) | public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
method search_preassigned (line 63) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method search_preassigned (line 67) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method search_preassigned (line 71) | public void search_preassigned(long n, SWIGTYPE_p_float x, long k, Lon...
method remove_ids (line 75) | public long remove_ids(IDSelector sel) {
method range_search (line 79) | public void range_search(long n, SWIGTYPE_p_float x, float radius, Ran...
method update_vectors (line 83) | public void update_vectors(int nv, LongVector idx, SWIGTYPE_p_float v) {
method reconstruct_from_offset (line 87) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method IndexIVFFlatDedup (line 91) | public IndexIVFFlatDedup() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFPQ.java
class IndexIVFPQ (line 11) | public class IndexIVFPQ extends IndexIVF {
method IndexIVFPQ (line 14) | protected IndexIVFPQ(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIVFPQ obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setBy_residual (line 39) | public void setBy_residual(boolean value) {
method getBy_residual (line 43) | public boolean getBy_residual() {
method setPq (line 47) | public void setPq(ProductQuantizer value) {
method getPq (line 51) | public ProductQuantizer getPq() {
method setDo_polysemous_training (line 56) | public void setDo_polysemous_training(boolean value) {
method getDo_polysemous_training (line 60) | public boolean getDo_polysemous_training() {
method setPolysemous_training (line 64) | public void setPolysemous_training(PolysemousTraining value) {
method getPolysemous_training (line 68) | public PolysemousTraining getPolysemous_training() {
method setScan_table_threshold (line 73) | public void setScan_table_threshold(long value) {
method getScan_table_threshold (line 77) | public long getScan_table_threshold() {
method setPolysemous_ht (line 81) | public void setPolysemous_ht(int value) {
method getPolysemous_ht (line 85) | public int getPolysemous_ht() {
method setUse_precomputed_table (line 89) | public void setUse_precomputed_table(int value) {
method getUse_precomputed_table (line 93) | public int getUse_precomputed_table() {
method setPrecomputed_table (line 97) | public void setPrecomputed_table(SWIGTYPE_p_AlignedTableT_float_t valu...
method getPrecomputed_table (line 101) | public SWIGTYPE_p_AlignedTableT_float_t getPrecomputed_table() {
method IndexIVFPQ (line 105) | public IndexIVFPQ(Index quantizer, long d, long nlist, long M, long nb...
method IndexIVFPQ (line 109) | public IndexIVFPQ(Index quantizer, long d, long nlist, long M, long nb...
method encode_vectors (line 113) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method encode_vectors (line 117) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method sa_decode (line 121) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
method add_core (line 125) | public void add_core(long n, SWIGTYPE_p_float x, LongVector xids, Long...
method add_core_o (line 129) | public void add_core_o(long n, SWIGTYPE_p_float x, LongVector xids, SW...
method add_core_o (line 133) | public void add_core_o(long n, SWIGTYPE_p_float x, LongVector xids, SW...
method train_residual (line 137) | public void train_residual(long n, SWIGTYPE_p_float x) {
method train_residual_o (line 141) | public void train_residual_o(long n, SWIGTYPE_p_float x, SWIGTYPE_p_fl...
method reconstruct_from_offset (line 145) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method find_duplicates (line 149) | public long find_duplicates(LongVector ids, SWIGTYPE_p_unsigned_long l...
method encode (line 153) | public void encode(long key, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_c...
method encode_multiple (line 157) | public void encode_multiple(long n, LongVector keys, SWIGTYPE_p_float ...
method encode_multiple (line 161) | public void encode_multiple(long n, LongVector keys, SWIGTYPE_p_float ...
method decode_multiple (line 165) | public void decode_multiple(long n, LongVector keys, SWIGTYPE_p_unsign...
method get_InvertedListScanner (line 169) | public SWIGTYPE_p_faiss__InvertedListScanner get_InvertedListScanner(b...
method precompute_table (line 174) | public void precompute_table() {
method IndexIVFPQ (line 178) | public IndexIVFPQ() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFPQStats.java
class IndexIVFPQStats (line 11) | public class IndexIVFPQStats {
method IndexIVFPQStats (line 15) | protected IndexIVFPQStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IndexIVFPQStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNrefine (line 39) | public void setNrefine(long value) {
method getNrefine (line 43) | public long getNrefine() {
method setN_hamming_pass (line 47) | public void setN_hamming_pass(long value) {
method getN_hamming_pass (line 51) | public long getN_hamming_pass() {
method setSearch_cycles (line 55) | public void setSearch_cycles(long value) {
method getSearch_cycles (line 59) | public long getSearch_cycles() {
method setRefine_cycles (line 63) | public void setRefine_cycles(long value) {
method getRefine_cycles (line 67) | public long getRefine_cycles() {
method IndexIVFPQStats (line 71) | public IndexIVFPQStats() {
method reset (line 75) | public void reset() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFScalarQuantizer.java
class IndexIVFScalarQuantizer (line 11) | public class IndexIVFScalarQuantizer extends IndexIVF {
method IndexIVFScalarQuantizer (line 14) | protected IndexIVFScalarQuantizer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexIVFScalarQuantizer obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setSq (line 39) | public void setSq(SWIGTYPE_p_ScalarQuantizer value) {
method getSq (line 43) | public SWIGTYPE_p_ScalarQuantizer getSq() {
method setBy_residual (line 47) | public void setBy_residual(boolean value) {
method getBy_residual (line 51) | public boolean getBy_residual() {
method IndexIVFScalarQuantizer (line 55) | public IndexIVFScalarQuantizer(Index quantizer, long d, long nlist, SW...
method IndexIVFScalarQuantizer (line 59) | public IndexIVFScalarQuantizer(Index quantizer, long d, long nlist, SW...
method IndexIVFScalarQuantizer (line 63) | public IndexIVFScalarQuantizer(Index quantizer, long d, long nlist, SW...
method IndexIVFScalarQuantizer (line 67) | public IndexIVFScalarQuantizer() {
method train_residual (line 71) | public void train_residual(long n, SWIGTYPE_p_float x) {
method encode_vectors (line 75) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method encode_vectors (line 79) | public void encode_vectors(long n, SWIGTYPE_p_float x, LongVector list...
method add_core (line 83) | public void add_core(long n, SWIGTYPE_p_float x, LongVector xids, Long...
method get_InvertedListScanner (line 87) | public SWIGTYPE_p_faiss__InvertedListScanner get_InvertedListScanner(b...
method reconstruct_from_offset (line 92) | public void reconstruct_from_offset(long list_no, long offset, SWIGTYP...
method sa_decode (line 96) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFStats.java
class IndexIVFStats (line 11) | public class IndexIVFStats {
method IndexIVFStats (line 15) | protected IndexIVFStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IndexIVFStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNq (line 39) | public void setNq(long value) {
method getNq (line 43) | public long getNq() {
method setNlist (line 47) | public void setNlist(long value) {
method getNlist (line 51) | public long getNlist() {
method setNdis (line 55) | public void setNdis(long value) {
method getNdis (line 59) | public long getNdis() {
method setNheap_updates (line 63) | public void setNheap_updates(long value) {
method getNheap_updates (line 67) | public long getNheap_updates() {
method setQuantization_time (line 71) | public void setQuantization_time(double value) {
method getQuantization_time (line 75) | public double getQuantization_time() {
method setSearch_time (line 79) | public void setSearch_time(double value) {
method getSearch_time (line 83) | public double getSearch_time() {
method IndexIVFStats (line 87) | public IndexIVFStats() {
method reset (line 91) | public void reset() {
method add (line 95) | public void add(IndexIVFStats other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexLSH.java
class IndexLSH (line 11) | public class IndexLSH extends IndexFlatCodes {
method IndexLSH (line 14) | protected IndexLSH(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexLSH obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setNbits (line 39) | public void setNbits(int value) {
method getNbits (line 43) | public int getNbits() {
method setRotate_data (line 47) | public void setRotate_data(boolean value) {
method getRotate_data (line 51) | public boolean getRotate_data() {
method setTrain_thresholds (line 55) | public void setTrain_thresholds(boolean value) {
method getTrain_thresholds (line 59) | public boolean getTrain_thresholds() {
method setRrot (line 63) | public void setRrot(RandomRotationMatrix value) {
method getRrot (line 67) | public RandomRotationMatrix getRrot() {
method setThresholds (line 72) | public void setThresholds(FloatVector value) {
method getThresholds (line 76) | public FloatVector getThresholds() {
method IndexLSH (line 81) | public IndexLSH(long d, int nbits, boolean rotate_data, boolean train_...
method IndexLSH (line 85) | public IndexLSH(long d, int nbits, boolean rotate_data) {
method IndexLSH (line 89) | public IndexLSH(long d, int nbits) {
method apply_preprocess (line 93) | public SWIGTYPE_p_float apply_preprocess(long n, SWIGTYPE_p_float x) {
method train (line 98) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 102) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method transfer_thresholds (line 106) | public void transfer_thresholds(LinearTransform vt) {
method IndexLSH (line 110) | public IndexLSH() {
method sa_encode (line 114) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 118) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexPQ.java
class IndexPQ (line 11) | public class IndexPQ extends IndexFlatCodes {
method IndexPQ (line 14) | protected IndexPQ(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexPQ obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setPq (line 39) | public void setPq(ProductQuantizer value) {
method getPq (line 43) | public ProductQuantizer getPq() {
method IndexPQ (line 48) | public IndexPQ(int d, long M, long nbits, MetricType metric) {
method IndexPQ (line 52) | public IndexPQ(int d, long M, long nbits) {
method IndexPQ (line 56) | public IndexPQ() {
method train (line 60) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 64) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method sa_encode (line 68) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 72) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
method get_distance_computer (line 76) | public DistanceComputer get_distance_computer() {
method setDo_polysemous_training (line 81) | public void setDo_polysemous_training(boolean value) {
method getDo_polysemous_training (line 85) | public boolean getDo_polysemous_training() {
method setPolysemous_training (line 89) | public void setPolysemous_training(PolysemousTraining value) {
method getPolysemous_training (line 93) | public PolysemousTraining getPolysemous_training() {
method setSearch_type (line 98) | public void setSearch_type(IndexPQ.Search_type_t value) {
method getSearch_type (line 102) | public IndexPQ.Search_type_t getSearch_type() {
method setEncode_signs (line 106) | public void setEncode_signs(boolean value) {
method getEncode_signs (line 110) | public boolean getEncode_signs() {
method setPolysemous_ht (line 114) | public void setPolysemous_ht(int value) {
method getPolysemous_ht (line 118) | public int getPolysemous_ht() {
method search_core_polysemous (line 122) | public void search_core_polysemous(long n, SWIGTYPE_p_float x, long k,...
method hamming_distance_histogram (line 126) | public void hamming_distance_histogram(long n, SWIGTYPE_p_float x, lon...
method hamming_distance_table (line 130) | public void hamming_distance_table(long n, SWIGTYPE_p_float x, SWIGTYP...
class Search_type_t (line 134) | public final static class Search_type_t {
method swigValue (line 142) | public final int swigValue() {
method toString (line 146) | public String toString() {
method swigToEnum (line 150) | public static Search_type_t swigToEnum(int swigValue) {
method Search_type_t (line 159) | private Search_type_t(String swigName) {
method Search_type_t (line 164) | private Search_type_t(String swigName, int swigValue) {
method Search_type_t (line 170) | private Search_type_t(String swigName, Search_type_t swigEnum) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexPQStats.java
class IndexPQStats (line 11) | public class IndexPQStats {
method IndexPQStats (line 15) | protected IndexPQStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IndexPQStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNq (line 39) | public void setNq(long value) {
method getNq (line 43) | public long getNq() {
method setNcode (line 47) | public void setNcode(long value) {
method getNcode (line 51) | public long getNcode() {
method setN_hamming_pass (line 55) | public void setN_hamming_pass(long value) {
method getN_hamming_pass (line 59) | public long getN_hamming_pass() {
method IndexPQStats (line 63) | public IndexPQStats() {
method reset (line 67) | public void reset() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexRefine.java
class IndexRefine (line 11) | public class IndexRefine extends Index {
method IndexRefine (line 14) | protected IndexRefine(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexRefine obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setBase_index (line 39) | public void setBase_index(Index value) {
method getBase_index (line 43) | public Index getBase_index() {
method setRefine_index (line 48) | public void setRefine_index(Index value) {
method getRefine_index (line 52) | public Index getRefine_index() {
method setOwn_fields (line 57) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 61) | public boolean getOwn_fields() {
method setOwn_refine_index (line 65) | public void setOwn_refine_index(boolean value) {
method getOwn_refine_index (line 69) | public boolean getOwn_refine_index() {
method setK_factor (line 73) | public void setK_factor(float value) {
method getK_factor (line 77) | public float getK_factor() {
method IndexRefine (line 81) | public IndexRefine(Index base_index, Index refine_index) {
method IndexRefine (line 85) | public IndexRefine() {
method train (line 89) | public void train(long n, SWIGTYPE_p_float x) {
method add (line 93) | public void add(long n, SWIGTYPE_p_float x) {
method reset (line 97) | public void reset() {
method search (line 101) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method reconstruct (line 105) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
method sa_code_size (line 109) | public long sa_code_size() {
method sa_encode (line 113) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 117) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexRefineFlat.java
class IndexRefineFlat (line 11) | public class IndexRefineFlat extends IndexRefine {
method IndexRefineFlat (line 14) | protected IndexRefineFlat(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexRefineFlat obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method IndexRefineFlat (line 39) | public IndexRefineFlat(Index base_index) {
method IndexRefineFlat (line 43) | public IndexRefineFlat(Index base_index, SWIGTYPE_p_float xb) {
method IndexRefineFlat (line 47) | public IndexRefineFlat() {
method search (line 51) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexScalarQuantizer.java
class IndexScalarQuantizer (line 11) | public class IndexScalarQuantizer extends IndexFlatCodes {
method IndexScalarQuantizer (line 14) | protected IndexScalarQuantizer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexScalarQuantizer obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setSq (line 39) | public void setSq(SWIGTYPE_p_ScalarQuantizer value) {
method getSq (line 43) | public SWIGTYPE_p_ScalarQuantizer getSq() {
method IndexScalarQuantizer (line 47) | public IndexScalarQuantizer(int d, SWIGTYPE_p_ScalarQuantizer__Quantiz...
method IndexScalarQuantizer (line 51) | public IndexScalarQuantizer(int d, SWIGTYPE_p_ScalarQuantizer__Quantiz...
method IndexScalarQuantizer (line 55) | public IndexScalarQuantizer() {
method train (line 59) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 63) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method get_distance_computer (line 67) | public DistanceComputer get_distance_computer() {
method sa_encode (line 72) | public void sa_encode(long n, SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_...
method sa_decode (line 76) | public void sa_decode(long n, SWIGTYPE_p_unsigned_char bytes, SWIGTYPE...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexShards.java
class IndexShards (line 11) | public class IndexShards {
method IndexShards (line 15) | protected IndexShards(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IndexShards obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method IndexShards (line 39) | public IndexShards(boolean threaded, boolean successive_ids) {
method IndexShards (line 43) | public IndexShards(boolean threaded) {
method IndexShards (line 47) | public IndexShards() {
method IndexShards (line 51) | public IndexShards(int d, boolean threaded, boolean successive_ids) {
method IndexShards (line 55) | public IndexShards(int d, boolean threaded) {
method IndexShards (line 59) | public IndexShards(int d) {
method add_shard (line 63) | public void add_shard(Index index) {
method remove_shard (line 67) | public void remove_shard(Index index) {
method add (line 71) | public void add(long n, SWIGTYPE_p_float x) {
method add_with_ids (line 75) | public void add_with_ids(long n, SWIGTYPE_p_float x, LongVector xids) {
method search (line 79) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method train (line 83) | public void train(long n, SWIGTYPE_p_float x) {
method setSuccessive_ids (line 87) | public void setSuccessive_ids(boolean value) {
method getSuccessive_ids (line 91) | public boolean getSuccessive_ids() {
method syncWithSubIndexes (line 95) | public void syncWithSubIndexes() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IndexSplitVectors.java
class IndexSplitVectors (line 11) | public class IndexSplitVectors extends Index {
method IndexSplitVectors (line 14) | protected IndexSplitVectors(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IndexSplitVectors obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setOwn_fields (line 39) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 43) | public boolean getOwn_fields() {
method setThreaded (line 47) | public void setThreaded(boolean value) {
method getThreaded (line 51) | public boolean getThreaded() {
method setSub_indexes (line 55) | public void setSub_indexes(SWIGTYPE_p_std__vectorT_faiss__Index_p_t va...
method getSub_indexes (line 59) | public SWIGTYPE_p_std__vectorT_faiss__Index_p_t getSub_indexes() {
method setSum_d (line 64) | public void setSum_d(long value) {
method getSum_d (line 68) | public long getSum_d() {
method add_sub_index (line 72) | public void add_sub_index(Index arg0) {
method sync_with_sub_indexes (line 76) | public void sync_with_sub_indexes() {
method add (line 80) | public void add(long n, SWIGTYPE_p_float x) {
method search (line 84) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method train (line 88) | public void train(long n, SWIGTYPE_p_float x) {
method reset (line 92) | public void reset() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IntVector.java
class IntVector (line 11) | public class IntVector {
method IntVector (line 15) | protected IntVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(IntVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method IntVector (line 39) | public IntVector() {
method push_back (line 43) | public void push_back(int arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_int data() {
method size (line 56) | public long size() {
method at (line 60) | public int at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(IntVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/InterruptCallback.java
class InterruptCallback (line 11) | public class InterruptCallback {
method InterruptCallback (line 15) | protected InterruptCallback(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(InterruptCallback obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method want_interrupt (line 39) | public boolean want_interrupt() {
method clear_instance (line 43) | public static void clear_instance() {
method check (line 47) | public static void check() {
method is_interrupted (line 51) | public static boolean is_interrupted() {
method get_period_hint (line 55) | public static long get_period_hint(long flops) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/IntersectionCriterion.java
class IntersectionCriterion (line 11) | public class IntersectionCriterion extends AutoTuneCriterion {
method IntersectionCriterion (line 14) | protected IntersectionCriterion(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(IntersectionCriterion obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setR (line 39) | public void setR(long value) {
method getR (line 43) | public long getR() {
method IntersectionCriterion (line 47) | public IntersectionCriterion(long nq, long R) {
method evaluate (line 51) | public double evaluate(SWIGTYPE_p_float D, LongVector I) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/InvertedLists.java
class InvertedLists (line 11) | public class InvertedLists {
method InvertedLists (line 15) | protected InvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(InvertedLists obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNlist (line 39) | public void setNlist(long value) {
method getNlist (line 43) | public long getNlist() {
method setCode_size (line 47) | public void setCode_size(long value) {
method getCode_size (line 51) | public long getCode_size() {
method list_size (line 55) | public long list_size(long list_no) {
method get_codes (line 59) | public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
method get_ids (line 64) | public LongVector get_ids(long list_no) {
method release_codes (line 68) | public void release_codes(long list_no, SWIGTYPE_p_unsigned_char codes) {
method release_ids (line 72) | public void release_ids(long list_no, LongVector ids) {
method get_single_id (line 76) | public long get_single_id(long list_no, long offset) {
method get_single_code (line 80) | public SWIGTYPE_p_unsigned_char get_single_code(long list_no, long off...
method prefetch_lists (line 85) | public void prefetch_lists(LongVector list_nos, int nlist) {
method add_entry (line 89) | public long add_entry(long list_no, long theid, SWIGTYPE_p_unsigned_ch...
method add_entries (line 93) | public long add_entries(long list_no, long n_entry, LongVector ids, SW...
method update_entry (line 97) | public void update_entry(long list_no, long offset, long id, SWIGTYPE_...
method update_entries (line 101) | public void update_entries(long list_no, long offset, long n_entry, Lo...
method resize (line 105) | public void resize(long list_no, long new_size) {
method reset (line 109) | public void reset() {
method merge_from (line 113) | public void merge_from(InvertedLists oivf, long add_id) {
method imbalance_factor (line 117) | public double imbalance_factor() {
method print_stats (line 121) | public void print_stats() {
method compute_ntotal (line 125) | public long compute_ntotal() {
class ScopedIds (line 129) | static public class ScopedIds {
method ScopedIds (line 133) | protected ScopedIds(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 138) | protected static long getCPtr(ScopedIds obj) {
method finalize (line 142) | @SuppressWarnings("deprecation")
method delete (line 147) | public synchronized void delete() {
method setIl (line 157) | public void setIl(InvertedLists value) {
method getIl (line 161) | public InvertedLists getIl() {
method setIds (line 166) | public void setIds(LongVector value) {
method getIds (line 170) | public LongVector getIds() {
method setList_no (line 174) | public void setList_no(long value) {
method getList_no (line 178) | public long getList_no() {
method ScopedIds (line 182) | public ScopedIds(InvertedLists il, long list_no) {
method get (line 186) | public LongVector get() {
class ScopedCodes (line 192) | static public class ScopedCodes {
method ScopedCodes (line 196) | protected ScopedCodes(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 201) | protected static long getCPtr(ScopedCodes obj) {
method finalize (line 205) | @SuppressWarnings("deprecation")
method delete (line 210) | public synchronized void delete() {
method setIl (line 220) | public void setIl(InvertedLists value) {
method getIl (line 224) | public InvertedLists getIl() {
method setCodes (line 229) | public void setCodes(SWIGTYPE_p_unsigned_char value) {
method getCodes (line 233) | public SWIGTYPE_p_unsigned_char getCodes() {
method setList_no (line 238) | public void setList_no(long value) {
method getList_no (line 242) | public long getList_no() {
method ScopedCodes (line 246) | public ScopedCodes(InvertedLists il, long list_no) {
method ScopedCodes (line 250) | public ScopedCodes(InvertedLists il, long list_no, long offset) {
method get (line 254) | public SWIGTYPE_p_unsigned_char get() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/InvertedListsPtrVector.java
class InvertedListsPtrVector (line 11) | public class InvertedListsPtrVector {
method InvertedListsPtrVector (line 15) | protected InvertedListsPtrVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(InvertedListsPtrVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method InvertedListsPtrVector (line 39) | public InvertedListsPtrVector() {
method push_back (line 43) | public void push_back(InvertedLists arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_p_faiss__InvertedLists data() {
method size (line 56) | public long size() {
method at (line 60) | public InvertedLists at(long n) {
method resize (line 65) | public void resize(long n) {
method reserve (line 69) | public void reserve(long n) {
method swap (line 73) | public void swap(InvertedListsPtrVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/Level1Quantizer.java
class Level1Quantizer (line 11) | public class Level1Quantizer {
method Level1Quantizer (line 15) | protected Level1Quantizer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(Level1Quantizer obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setQuantizer (line 39) | public void setQuantizer(Index value) {
method getQuantizer (line 43) | public Index getQuantizer() {
method setNlist (line 48) | public void setNlist(long value) {
method getNlist (line 52) | public long getNlist() {
method setQuantizer_trains_alone (line 56) | public void setQuantizer_trains_alone(char value) {
method getQuantizer_trains_alone (line 60) | public char getQuantizer_trains_alone() {
method setOwn_fields (line 64) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 68) | public boolean getOwn_fields() {
method setCp (line 72) | public void setCp(ClusteringParameters value) {
method getCp (line 76) | public ClusteringParameters getCp() {
method setClustering_index (line 81) | public void setClustering_index(Index value) {
method getClustering_index (line 85) | public Index getClustering_index() {
method train_q1 (line 90) | public void train_q1(long n, SWIGTYPE_p_float x, boolean verbose, Metr...
method coarse_code_size (line 94) | public long coarse_code_size() {
method encode_listno (line 98) | public void encode_listno(long list_no, SWIGTYPE_p_unsigned_char code) {
method decode_listno (line 102) | public long decode_listno(SWIGTYPE_p_unsigned_char code) {
method Level1Quantizer (line 106) | public Level1Quantizer(Index quantizer, long nlist) {
method Level1Quantizer (line 110) | public Level1Quantizer() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/LinearTransform.java
class LinearTransform (line 11) | public class LinearTransform extends VectorTransform {
method LinearTransform (line 14) | protected LinearTransform(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(LinearTransform obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setHave_bias (line 39) | public void setHave_bias(boolean value) {
method getHave_bias (line 43) | public boolean getHave_bias() {
method setIs_orthonormal (line 47) | public void setIs_orthonormal(boolean value) {
method getIs_orthonormal (line 51) | public boolean getIs_orthonormal() {
method setA (line 55) | public void setA(FloatVector value) {
method getA (line 59) | public FloatVector getA() {
method setB (line 64) | public void setB(FloatVector value) {
method getB (line 68) | public FloatVector getB() {
method LinearTransform (line 73) | public LinearTransform(int d_in, int d_out, boolean have_bias) {
method LinearTransform (line 77) | public LinearTransform(int d_in, int d_out) {
method LinearTransform (line 81) | public LinearTransform(int d_in) {
method LinearTransform (line 85) | public LinearTransform() {
method apply_noalloc (line 89) | public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float...
method transform_transpose (line 93) | public void transform_transpose(long n, SWIGTYPE_p_float y, SWIGTYPE_p...
method reverse_transform (line 97) | public void reverse_transform(long n, SWIGTYPE_p_float xt, SWIGTYPE_p_...
method set_is_orthonormal (line 101) | public void set_is_orthonormal() {
method setVerbose (line 105) | public void setVerbose(boolean value) {
method getVerbose (line 109) | public boolean getVerbose() {
method print_if_verbose (line 113) | public void print_if_verbose(String name, DoubleVector mat, int n, int...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/LongVector.java
class LongVector (line 11) | public class LongVector {
method LongVector (line 15) | protected LongVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(LongVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method LongVector (line 39) | public LongVector() {
method push_back (line 43) | public void push_back(long arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_long_long data() {
method size (line 56) | public long size() {
method at (line 60) | public long at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(LongVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/LongVectorVector.java
class LongVectorVector (line 11) | public class LongVectorVector {
method LongVectorVector (line 15) | protected LongVectorVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(LongVectorVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method LongVectorVector (line 39) | public LongVectorVector() {
method push_back (line 43) | public void push_back(SWIGTYPE_p_std__vectorT_long_t arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public SWIGTYPE_p_std__vectorT_long_t data() {
method size (line 56) | public long size() {
method at (line 60) | public SWIGTYPE_p_std__vectorT_long_t at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(LongVectorVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/MapLong2Long.java
class MapLong2Long (line 11) | public class MapLong2Long {
method MapLong2Long (line 15) | protected MapLong2Long(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(MapLong2Long obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setMap (line 39) | public void setMap(SWIGTYPE_p_std__unordered_mapT_long_long_t value) {
method getMap (line 43) | public SWIGTYPE_p_std__unordered_mapT_long_long_t getMap() {
method add (line 47) | public void add(long n, SWIGTYPE_p_long keys, SWIGTYPE_p_long vals) {
method search (line 51) | public int search(int key) {
method search_multiple (line 55) | public void search_multiple(long n, SWIGTYPE_p_long keys, SWIGTYPE_p_l...
method MapLong2Long (line 59) | public MapLong2Long() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/MaskedInvertedLists.java
class MaskedInvertedLists (line 11) | public class MaskedInvertedLists extends ReadOnlyInvertedLists {
method MaskedInvertedLists (line 14) | protected MaskedInvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(MaskedInvertedLists obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setIl0 (line 39) | public void setIl0(InvertedLists value) {
method getIl0 (line 43) | public InvertedLists getIl0() {
method setIl1 (line 48) | public void setIl1(InvertedLists value) {
method getIl1 (line 52) | public InvertedLists getIl1() {
method MaskedInvertedLists (line 57) | public MaskedInvertedLists(InvertedLists il0, InvertedLists il1) {
method list_size (line 61) | public long list_size(long list_no) {
method get_codes (line 65) | public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
method get_ids (line 70) | public LongVector get_ids(long list_no) {
method release_codes (line 74) | public void release_codes(long list_no, SWIGTYPE_p_unsigned_char codes) {
method release_ids (line 78) | public void release_ids(long list_no, LongVector ids) {
method get_single_id (line 82) | public long get_single_id(long list_no, long offset) {
method get_single_code (line 86) | public SWIGTYPE_p_unsigned_char get_single_code(long list_no, long off...
method prefetch_lists (line 91) | public void prefetch_lists(LongVector list_nos, int nlist) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/MetricType.java
class MetricType (line 11) | public final class MetricType {
method swigValue (line 21) | public final int swigValue() {
method toString (line 25) | public String toString() {
method swigToEnum (line 29) | public static MetricType swigToEnum(int swigValue) {
method MetricType (line 38) | private MetricType(String swigName) {
method MetricType (line 43) | private MetricType(String swigName, int swigValue) {
method MetricType (line 49) | private MetricType(String swigName, MetricType swigEnum) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/MultiIndexQuantizer.java
class MultiIndexQuantizer (line 11) | public class MultiIndexQuantizer extends Index {
method MultiIndexQuantizer (line 14) | protected MultiIndexQuantizer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(MultiIndexQuantizer obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setPq (line 39) | public void setPq(ProductQuantizer value) {
method getPq (line 43) | public ProductQuantizer getPq() {
method MultiIndexQuantizer (line 48) | public MultiIndexQuantizer(int d, long M, long nbits) {
method train (line 52) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 56) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
method add (line 60) | public void add(long n, SWIGTYPE_p_float x) {
method reset (line 64) | public void reset() {
method MultiIndexQuantizer (line 68) | public MultiIndexQuantizer() {
method reconstruct (line 72) | public void reconstruct(long key, SWIGTYPE_p_float recons) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/MultiIndexQuantizer2.java
class MultiIndexQuantizer2 (line 11) | public class MultiIndexQuantizer2 extends MultiIndexQuantizer {
method MultiIndexQuantizer2 (line 14) | protected MultiIndexQuantizer2(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(MultiIndexQuantizer2 obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setAssign_indexes (line 39) | public void setAssign_indexes(SWIGTYPE_p_std__vectorT_faiss__Index_p_t...
method getAssign_indexes (line 43) | public SWIGTYPE_p_std__vectorT_faiss__Index_p_t getAssign_indexes() {
method setOwn_fields (line 48) | public void setOwn_fields(boolean value) {
method getOwn_fields (line 52) | public boolean getOwn_fields() {
method MultiIndexQuantizer2 (line 56) | public MultiIndexQuantizer2(int d, long M, long nbits, SWIGTYPE_p_p_fa...
method MultiIndexQuantizer2 (line 60) | public MultiIndexQuantizer2(int d, long nbits, Index assign_index_0, I...
method train (line 64) | public void train(long n, SWIGTYPE_p_float x) {
method search (line 68) | public void search(long n, SWIGTYPE_p_float x, long k, SWIGTYPE_p_floa...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/NormalizationTransform.java
class NormalizationTransform (line 11) | public class NormalizationTransform extends VectorTransform {
method NormalizationTransform (line 14) | protected NormalizationTransform(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(NormalizationTransform obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setNorm (line 39) | public void setNorm(float value) {
method getNorm (line 43) | public float getNorm() {
method NormalizationTransform (line 47) | public NormalizationTransform(int d, float norm) {
method NormalizationTransform (line 51) | public NormalizationTransform(int d) {
method NormalizationTransform (line 55) | public NormalizationTransform() {
method apply_noalloc (line 59) | public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float...
method reverse_transform (line 63) | public void reverse_transform(long n, SWIGTYPE_p_float xt, SWIGTYPE_p_...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OPQMatrix.java
class OPQMatrix (line 11) | public class OPQMatrix extends LinearTransform {
method OPQMatrix (line 14) | protected OPQMatrix(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(OPQMatrix obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setM (line 39) | public void setM(int value) {
method getM (line 43) | public int getM() {
method setNiter (line 47) | public void setNiter(int value) {
method getNiter (line 51) | public int getNiter() {
method setNiter_pq (line 55) | public void setNiter_pq(int value) {
method getNiter_pq (line 59) | public int getNiter_pq() {
method setNiter_pq_0 (line 63) | public void setNiter_pq_0(int value) {
method getNiter_pq_0 (line 67) | public int getNiter_pq_0() {
method setMax_train_points (line 71) | public void setMax_train_points(long value) {
method getMax_train_points (line 75) | public long getMax_train_points() {
method setVerbose (line 79) | public void setVerbose(boolean value) {
method getVerbose (line 83) | public boolean getVerbose() {
method setPq (line 87) | public void setPq(ProductQuantizer value) {
method getPq (line 91) | public ProductQuantizer getPq() {
method OPQMatrix (line 96) | public OPQMatrix(int d, int M, int d2) {
method OPQMatrix (line 100) | public OPQMatrix(int d, int M) {
method OPQMatrix (line 104) | public OPQMatrix(int d) {
method OPQMatrix (line 108) | public OPQMatrix() {
method train (line 112) | public void train(long n, SWIGTYPE_p_float x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskInvertedLists.java
class OnDiskInvertedLists (line 11) | public class OnDiskInvertedLists extends InvertedLists {
method OnDiskInvertedLists (line 14) | protected OnDiskInvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(OnDiskInvertedLists obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setLists (line 39) | public void setLists(SWIGTYPE_p_std__vectorT_faiss__OnDiskOneList_t va...
method getLists (line 43) | public SWIGTYPE_p_std__vectorT_faiss__OnDiskOneList_t getLists() {
class Slot (line 48) | static public class Slot {
method Slot (line 52) | protected Slot(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 57) | protected static long getCPtr(Slot obj) {
method finalize (line 61) | @SuppressWarnings("deprecation")
method delete (line 66) | public synchronized void delete() {
method setOffset (line 76) | public void setOffset(long value) {
method getOffset (line 80) | public long getOffset() {
method setCapacity (line 84) | public void setCapacity(long value) {
method getCapacity (line 88) | public long getCapacity() {
method Slot (line 92) | public Slot(long offset, long capacity) {
method Slot (line 96) | public Slot() {
method setSlots (line 102) | public void setSlots(SWIGTYPE_p_std__listT_faiss__OnDiskInvertedLists_...
method getSlots (line 106) | public SWIGTYPE_p_std__listT_faiss__OnDiskInvertedLists__Slot_t getSlo...
method setFilename (line 111) | public void setFilename(String value) {
method getFilename (line 115) | public String getFilename() {
method setTotsize (line 119) | public void setTotsize(long value) {
method getTotsize (line 123) | public long getTotsize() {
method setPtr (line 127) | public void setPtr(SWIGTYPE_p_unsigned_char value) {
method getPtr (line 131) | public SWIGTYPE_p_unsigned_char getPtr() {
method setRead_only (line 136) | public void setRead_only(boolean value) {
method getRead_only (line 140) | public boolean getRead_only() {
method OnDiskInvertedLists (line 144) | public OnDiskInvertedLists(long nlist, long code_size, String filename) {
method list_size (line 148) | public long list_size(long list_no) {
method get_codes (line 152) | public SWIGTYPE_p_unsigned_char get_codes(long list_no) {
method get_ids (line 157) | public LongVector get_ids(long list_no) {
method add_entries (line 161) | public long add_entries(long list_no, long n_entry, LongVector ids, SW...
method update_entries (line 165) | public void update_entries(long list_no, long offset, long n_entry, Lo...
method resize (line 169) | public void resize(long list_no, long new_size) {
method merge_from (line 173) | public long merge_from(SWIGTYPE_p_p_faiss__InvertedLists ils, int n_il...
method merge_from (line 177) | public long merge_from(SWIGTYPE_p_p_faiss__InvertedLists ils, int n_il) {
method merge_from_1 (line 181) | public long merge_from_1(InvertedLists il, boolean verbose) {
method merge_from_1 (line 185) | public long merge_from_1(InvertedLists il) {
method crop_invlists (line 189) | public void crop_invlists(long l0, long l1) {
method prefetch_lists (line 193) | public void prefetch_lists(LongVector list_nos, int nlist) {
method setLocks (line 197) | public void setLocks(SWIGTYPE_p_faiss__LockLevels value) {
method getLocks (line 201) | public SWIGTYPE_p_faiss__LockLevels getLocks() {
method setPf (line 206) | public void setPf(SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefet...
method getPf (line 210) | public SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch getPf() {
method setPrefetch_nthread (line 215) | public void setPrefetch_nthread(int value) {
method getPrefetch_nthread (line 219) | public int getPrefetch_nthread() {
method do_mmap (line 223) | public void do_mmap() {
method update_totsize (line 227) | public void update_totsize(long new_totsize) {
method resize_locked (line 231) | public void resize_locked(long list_no, long new_size) {
method allocate_slot (line 235) | public long allocate_slot(long capacity) {
method free_slot (line 239) | public void free_slot(long offset, long capacity) {
method set_all_lists_sizes (line 243) | public void set_all_lists_sizes(SWIGTYPE_p_unsigned_long sizes) {
method OnDiskInvertedLists (line 247) | public OnDiskInvertedLists() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskInvertedListsIOHook.java
class OnDiskInvertedListsIOHook (line 11) | public class OnDiskInvertedListsIOHook {
method OnDiskInvertedListsIOHook (line 15) | protected OnDiskInvertedListsIOHook(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(OnDiskInvertedListsIOHook obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method OnDiskInvertedListsIOHook (line 39) | public OnDiskInvertedListsIOHook() {
method write (line 43) | public void write(InvertedLists ils, SWIGTYPE_p_IOWriter f) {
method read (line 47) | public InvertedLists read(SWIGTYPE_p_IOReader f, int io_flags) {
method read_ArrayInvertedLists (line 52) | public InvertedLists read_ArrayInvertedLists(SWIGTYPE_p_IOReader f, in...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskOneList.java
class OnDiskOneList (line 11) | public class OnDiskOneList {
method OnDiskOneList (line 15) | protected OnDiskOneList(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(OnDiskOneList obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setSize (line 39) | public void setSize(long value) {
method getSize (line 43) | public long getSize() {
method setCapacity (line 47) | public void setCapacity(long value) {
method getCapacity (line 51) | public long getCapacity() {
method setOffset (line 55) | public void setOffset(long value) {
method getOffset (line 59) | public long getOffset() {
method OnDiskOneList (line 63) | public OnDiskOneList() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OneRecallAtRCriterion.java
class OneRecallAtRCriterion (line 11) | public class OneRecallAtRCriterion extends AutoTuneCriterion {
method OneRecallAtRCriterion (line 14) | protected OneRecallAtRCriterion(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(OneRecallAtRCriterion obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setR (line 39) | public void setR(long value) {
method getR (line 43) | public long getR() {
method OneRecallAtRCriterion (line 47) | public OneRecallAtRCriterion(long nq, long R) {
method evaluate (line 51) | public double evaluate(SWIGTYPE_p_float D, LongVector I) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPoint.java
class OperatingPoint (line 11) | public class OperatingPoint {
method OperatingPoint (line 15) | protected OperatingPoint(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(OperatingPoint obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setPerf (line 39) | public void setPerf(double value) {
method getPerf (line 43) | public double getPerf() {
method setT (line 47) | public void setT(double value) {
method getT (line 51) | public double getT() {
method setKey (line 55) | public void setKey(String value) {
method getKey (line 59) | public String getKey() {
method setCno (line 63) | public void setCno(long value) {
method getCno (line 67) | public long getCno() {
method OperatingPoint (line 71) | public OperatingPoint() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPointVector.java
class OperatingPointVector (line 11) | public class OperatingPointVector {
method OperatingPointVector (line 15) | protected OperatingPointVector(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(OperatingPointVector obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method OperatingPointVector (line 39) | public OperatingPointVector() {
method push_back (line 43) | public void push_back(OperatingPoint arg0) {
method clear (line 47) | public void clear() {
method data (line 51) | public OperatingPoint data() {
method size (line 56) | public long size() {
method at (line 60) | public OperatingPoint at(long n) {
method resize (line 64) | public void resize(long n) {
method reserve (line 68) | public void reserve(long n) {
method swap (line 72) | public void swap(OperatingPointVector other) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPoints.java
class OperatingPoints (line 11) | public class OperatingPoints {
method OperatingPoints (line 15) | protected OperatingPoints(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(OperatingPoints obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setAll_pts (line 39) | public void setAll_pts(OperatingPointVector value) {
method getAll_pts (line 43) | public OperatingPointVector getAll_pts() {
method setOptimal_pts (line 48) | public void setOptimal_pts(OperatingPointVector value) {
method getOptimal_pts (line 52) | public OperatingPointVector getOptimal_pts() {
method OperatingPoints (line 57) | public OperatingPoints() {
method merge_with (line 61) | public int merge_with(OperatingPoints other, String prefix) {
method merge_with (line 65) | public int merge_with(OperatingPoints other) {
method clear (line 69) | public void clear() {
method add (line 73) | public boolean add(double perf, double t, String key, long cno) {
method add (line 77) | public boolean add(double perf, double t, String key) {
method t_for_perf (line 81) | public double t_for_perf(double perf) {
method display (line 85) | public void display(boolean only_optimal) {
method display (line 89) | public void display() {
method all_to_gnuplot (line 93) | public void all_to_gnuplot(String fname) {
method optimal_to_gnuplot (line 97) | public void optimal_to_gnuplot(String fname) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PCAMatrix.java
class PCAMatrix (line 11) | public class PCAMatrix extends LinearTransform {
method PCAMatrix (line 14) | protected PCAMatrix(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(PCAMatrix obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setEigen_power (line 39) | public void setEigen_power(float value) {
method getEigen_power (line 43) | public float getEigen_power() {
method setEpsilon (line 47) | public void setEpsilon(float value) {
method getEpsilon (line 51) | public float getEpsilon() {
method setRandom_rotation (line 55) | public void setRandom_rotation(boolean value) {
method getRandom_rotation (line 59) | public boolean getRandom_rotation() {
method setMax_points_per_d (line 63) | public void setMax_points_per_d(long value) {
method getMax_points_per_d (line 67) | public long getMax_points_per_d() {
method setBalanced_bins (line 71) | public void setBalanced_bins(int value) {
method getBalanced_bins (line 75) | public int getBalanced_bins() {
method setMean (line 79) | public void setMean(FloatVector value) {
method getMean (line 83) | public FloatVector getMean() {
method setEigenvalues (line 88) | public void setEigenvalues(FloatVector value) {
method getEigenvalues (line 92) | public FloatVector getEigenvalues() {
method setPCAMat (line 97) | public void setPCAMat(FloatVector value) {
method getPCAMat (line 101) | public FloatVector getPCAMat() {
method PCAMatrix (line 106) | public PCAMatrix(int d_in, int d_out, float eigen_power, boolean rando...
method PCAMatrix (line 110) | public PCAMatrix(int d_in, int d_out, float eigen_power) {
method PCAMatrix (line 114) | public PCAMatrix(int d_in, int d_out) {
method PCAMatrix (line 118) | public PCAMatrix(int d_in) {
method PCAMatrix (line 122) | public PCAMatrix() {
method train (line 126) | public void train(long n, SWIGTYPE_p_float x) {
method copy_from (line 130) | public void copy_from(PCAMatrix other) {
method prepare_Ab (line 134) | public void prepare_Ab() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoder16.java
class PQDecoder16 (line 11) | public class PQDecoder16 {
method PQDecoder16 (line 15) | protected PQDecoder16(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQDecoder16 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_uint16_t value) {
method getCode (line 43) | public SWIGTYPE_p_uint16_t getCode() {
method PQDecoder16 (line 48) | public PQDecoder16(SWIGTYPE_p_unsigned_char code, int nbits) {
method decode (line 52) | public long decode() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoder8.java
class PQDecoder8 (line 11) | public class PQDecoder8 {
method PQDecoder8 (line 15) | protected PQDecoder8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQDecoder8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method PQDecoder8 (line 48) | public PQDecoder8(SWIGTYPE_p_unsigned_char code, int nbits) {
method decode (line 52) | public long decode() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoderGeneric.java
class PQDecoderGeneric (line 11) | public class PQDecoderGeneric {
method PQDecoderGeneric (line 15) | protected PQDecoderGeneric(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQDecoderGeneric obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method setOffset (line 48) | public void setOffset(short value) {
method getOffset (line 52) | public short getOffset() {
method getNbits (line 56) | public int getNbits() {
method getMask (line 60) | public long getMask() {
method setReg (line 64) | public void setReg(short value) {
method getReg (line 68) | public short getReg() {
method PQDecoderGeneric (line 72) | public PQDecoderGeneric(SWIGTYPE_p_unsigned_char code, int nbits) {
method decode (line 76) | public long decode() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoder16.java
class PQEncoder16 (line 11) | public class PQEncoder16 {
method PQEncoder16 (line 15) | protected PQEncoder16(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQEncoder16 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_uint16_t value) {
method getCode (line 43) | public SWIGTYPE_p_uint16_t getCode() {
method PQEncoder16 (line 48) | public PQEncoder16(SWIGTYPE_p_unsigned_char code, int nbits) {
method encode (line 52) | public void encode(long x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoder8.java
class PQEncoder8 (line 11) | public class PQEncoder8 {
method PQEncoder8 (line 15) | protected PQEncoder8(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQEncoder8 obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method PQEncoder8 (line 48) | public PQEncoder8(SWIGTYPE_p_unsigned_char code, int nbits) {
method encode (line 52) | public void encode(long x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoderGeneric.java
class PQEncoderGeneric (line 11) | public class PQEncoderGeneric {
method PQEncoderGeneric (line 15) | protected PQEncoderGeneric(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PQEncoderGeneric obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setCode (line 39) | public void setCode(SWIGTYPE_p_unsigned_char value) {
method getCode (line 43) | public SWIGTYPE_p_unsigned_char getCode() {
method setOffset (line 48) | public void setOffset(short value) {
method getOffset (line 52) | public short getOffset() {
method getNbits (line 56) | public int getNbits() {
method setReg (line 60) | public void setReg(short value) {
method getReg (line 64) | public short getReg() {
method PQEncoderGeneric (line 68) | public PQEncoderGeneric(SWIGTYPE_p_unsigned_char code, int nbits, shor...
method PQEncoderGeneric (line 72) | public PQEncoderGeneric(SWIGTYPE_p_unsigned_char code, int nbits) {
method encode (line 76) | public void encode(long x) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ParameterRange.java
class ParameterRange (line 11) | public class ParameterRange {
method ParameterRange (line 15) | protected ParameterRange(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ParameterRange obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setName (line 39) | public void setName(String value) {
method getName (line 43) | public String getName() {
method setValues (line 47) | public void setValues(DoubleVector value) {
method getValues (line 51) | public DoubleVector getValues() {
method ParameterRange (line 56) | public ParameterRange() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ParameterSpace.java
class ParameterSpace (line 11) | public class ParameterSpace {
method ParameterSpace (line 15) | protected ParameterSpace(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ParameterSpace obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setParameter_ranges (line 39) | public void setParameter_ranges(SWIGTYPE_p_std__vectorT_faiss__Paramet...
method getParameter_ranges (line 43) | public SWIGTYPE_p_std__vectorT_faiss__ParameterRange_t getParameter_ra...
method setVerbose (line 48) | public void setVerbose(int value) {
method getVerbose (line 52) | public int getVerbose() {
method setN_experiments (line 56) | public void setN_experiments(int value) {
method getN_experiments (line 60) | public int getN_experiments() {
method setBatchsize (line 64) | public void setBatchsize(long value) {
method getBatchsize (line 68) | public long getBatchsize() {
method setThread_over_batches (line 72) | public void setThread_over_batches(boolean value) {
method getThread_over_batches (line 76) | public boolean getThread_over_batches() {
method setMin_test_duration (line 80) | public void setMin_test_duration(double value) {
method getMin_test_duration (line 84) | public double getMin_test_duration() {
method ParameterSpace (line 88) | public ParameterSpace() {
method n_combinations (line 92) | public long n_combinations() {
method combination_ge (line 96) | public boolean combination_ge(long c1, long c2) {
method combination_name (line 100) | public String combination_name(long cno) {
method display (line 104) | public void display() {
method add_range (line 108) | public ParameterRange add_range(String name) {
method initialize (line 112) | public void initialize(Index index) {
method set_index_parameters (line 116) | public void set_index_parameters(Index index, long cno) {
method set_index_parameters (line 120) | public void set_index_parameters(Index index, String param_string) {
method set_index_parameter (line 124) | public void set_index_parameter(Index index, String name, double val) {
method update_bounds (line 128) | public void update_bounds(long cno, OperatingPoint op, SWIGTYPE_p_doub...
method explore (line 132) | public void explore(Index index, long nq, SWIGTYPE_p_float xq, AutoTun...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PartitionStats.java
class PartitionStats (line 11) | public class PartitionStats {
method PartitionStats (line 15) | protected PartitionStats(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PartitionStats obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setBissect_cycles (line 39) | public void setBissect_cycles(long value) {
method getBissect_cycles (line 43) | public long getBissect_cycles() {
method setCompress_cycles (line 47) | public void setCompress_cycles(long value) {
method getCompress_cycles (line 51) | public long getCompress_cycles() {
method PartitionStats (line 55) | public PartitionStats() {
method reset (line 59) | public void reset() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PermutationObjective.java
class PermutationObjective (line 11) | public class PermutationObjective {
method PermutationObjective (line 15) | protected PermutationObjective(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(PermutationObjective obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setN (line 39) | public void setN(int value) {
method getN (line 43) | public int getN() {
method compute_cost (line 47) | public double compute_cost(SWIGTYPE_p_int perm) {
method cost_update (line 51) | public double cost_update(SWIGTYPE_p_int perm, int iw, int jw) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/PolysemousTraining.java
class PolysemousTraining (line 11) | public class PolysemousTraining extends SimulatedAnnealingParameters {
method PolysemousTraining (line 14) | protected PolysemousTraining(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(PolysemousTraining obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setOptimization_type (line 39) | public void setOptimization_type(PolysemousTraining.Optimization_type_...
method getOptimization_type (line 43) | public PolysemousTraining.Optimization_type_t getOptimization_type() {
method setNtrain_permutation (line 47) | public void setNtrain_permutation(int value) {
method getNtrain_permutation (line 51) | public int getNtrain_permutation() {
method setDis_weight_factor (line 55) | public void setDis_weight_factor(double value) {
method getDis_weight_factor (line 59) | public double getDis_weight_factor() {
method setMax_memory (line 63) | public void setMax_memory(long value) {
method getMax_memory (line 67) | public long getMax_memory() {
method setLog_pattern (line 71) | public void setLog_pattern(String value) {
method getLog_pattern (line 75) | public String getLog_pattern() {
method PolysemousTraining (line 79) | public PolysemousTraining() {
method optimize_pq_for_hamming (line 83) | public void optimize_pq_for_hamming(ProductQuantizer pq, long n, SWIGT...
method optimize_ranking (line 87) | public void optimize_ranking(ProductQuantizer pq, long n, SWIGTYPE_p_f...
method optimize_reproduce_distances (line 91) | public void optimize_reproduce_distances(ProductQuantizer pq) {
method memory_usage_per_thread (line 95) | public long memory_usage_per_thread(ProductQuantizer pq) {
class Optimization_type_t (line 99) | public final static class Optimization_type_t {
method swigValue (line 104) | public final int swigValue() {
method toString (line 108) | public String toString() {
method swigToEnum (line 112) | public static Optimization_type_t swigToEnum(int swigValue) {
method Optimization_type_t (line 121) | private Optimization_type_t(String swigName) {
method Optimization_type_t (line 126) | private Optimization_type_t(String swigName, int swigValue) {
method Optimization_type_t (line 132) | private Optimization_type_t(String swigName, Optimization_type_t swi...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ProductQuantizer.java
class ProductQuantizer (line 11) | public class ProductQuantizer {
method ProductQuantizer (line 15) | protected ProductQuantizer(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ProductQuantizer obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setD (line 39) | public void setD(long value) {
method getD (line 43) | public long getD() {
method setM (line 47) | public void setM(long value) {
method getM (line 51) | public long getM() {
method setNbits (line 55) | public void setNbits(long value) {
method getNbits (line 59) | public long getNbits() {
method setDsub (line 63) | public void setDsub(long value) {
method getDsub (line 67) | public long getDsub() {
method setCode_size (line 71) | public void setCode_size(long value) {
method getCode_size (line 75) | public long getCode_size() {
method setKsub (line 79) | public void setKsub(long value) {
method getKsub (line 83) | public long getKsub() {
method setVerbose (line 87) | public void setVerbose(boolean value) {
method getVerbose (line 91) | public boolean getVerbose() {
method setTrain_type (line 95) | public void setTrain_type(ProductQuantizer.train_type_t value) {
method getTrain_type (line 99) | public ProductQuantizer.train_type_t getTrain_type() {
method setCp (line 103) | public void setCp(ClusteringParameters value) {
method getCp (line 107) | public ClusteringParameters getCp() {
method setAssign_index (line 112) | public void setAssign_index(Index value) {
method getAssign_index (line 116) | public Index getAssign_index() {
method setCentroids (line 121) | public void setCentroids(FloatVector value) {
method getCentroids (line 125) | public FloatVector getCentroids() {
method get_centroids (line 130) | public SWIGTYPE_p_float get_centroids(long m, long i) {
method train (line 135) | public void train(int n, SWIGTYPE_p_float x) {
method ProductQuantizer (line 139) | public ProductQuantizer(long d, long M, long nbits) {
method ProductQuantizer (line 143) | public ProductQuantizer() {
method set_derived_values (line 147) | public void set_derived_values() {
method set_params (line 151) | public void set_params(SWIGTYPE_p_float centroids, int m) {
method compute_code (line 155) | public void compute_code(SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_char ...
method compute_codes (line 159) | public void compute_codes(SWIGTYPE_p_float x, SWIGTYPE_p_unsigned_char...
method compute_codes_with_assign_index (line 163) | public void compute_codes_with_assign_index(SWIGTYPE_p_float x, SWIGTY...
method decode (line 167) | public void decode(SWIGTYPE_p_unsigned_char code, SWIGTYPE_p_float x) {
method decode (line 171) | public void decode(SWIGTYPE_p_unsigned_char code, SWIGTYPE_p_float x, ...
method compute_code_from_distance_table (line 175) | public void compute_code_from_distance_table(SWIGTYPE_p_float tab, SWI...
method compute_distance_table (line 179) | public void compute_distance_table(SWIGTYPE_p_float x, SWIGTYPE_p_floa...
method compute_inner_prod_table (line 183) | public void compute_inner_prod_table(SWIGTYPE_p_float x, SWIGTYPE_p_fl...
method compute_distance_tables (line 187) | public void compute_distance_tables(long nx, SWIGTYPE_p_float x, SWIGT...
method compute_inner_prod_tables (line 191) | public void compute_inner_prod_tables(long nx, SWIGTYPE_p_float x, SWI...
method search (line 195) | public void search(SWIGTYPE_p_float x, long nx, SWIGTYPE_p_unsigned_ch...
method search (line 199) | public void search(SWIGTYPE_p_float x, long nx, SWIGTYPE_p_unsigned_ch...
method search_ip (line 203) | public void search_ip(SWIGTYPE_p_float x, long nx, SWIGTYPE_p_unsigned...
method search_ip (line 207) | public void search_ip(SWIGTYPE_p_float x, long nx, SWIGTYPE_p_unsigned...
method setSdc_table (line 211) | public void setSdc_table(FloatVector value) {
method getSdc_table (line 215) | public FloatVector getSdc_table() {
method compute_sdc_table (line 220) | public void compute_sdc_table() {
method search_sdc (line 224) | public void search_sdc(SWIGTYPE_p_unsigned_char qcodes, long nq, SWIGT...
method search_sdc (line 228) | public void search_sdc(SWIGTYPE_p_unsigned_char qcodes, long nq, SWIGT...
class train_type_t (line 232) | public final static class train_type_t {
method swigValue (line 239) | public final int swigValue() {
method toString (line 243) | public String toString() {
method swigToEnum (line 247) | public static train_type_t swigToEnum(int swigValue) {
method train_type_t (line 256) | private train_type_t(String swigName) {
method train_type_t (line 261) | private train_type_t(String swigName, int swigValue) {
method train_type_t (line 267) | private train_type_t(String swigName, train_type_t swigEnum) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimClustering.java
class ProgressiveDimClustering (line 11) | public class ProgressiveDimClustering extends ProgressiveDimClusteringPa...
method ProgressiveDimClustering (line 14) | protected ProgressiveDimClustering(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ProgressiveDimClustering obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setD (line 39) | public void setD(long value) {
method getD (line 43) | public long getD() {
method setK (line 47) | public void setK(long value) {
method getK (line 51) | public long getK() {
method setCentroids (line 55) | public void setCentroids(FloatVector value) {
method getCentroids (line 59) | public FloatVector getCentroids() {
method setIteration_stats (line 64) | public void setIteration_stats(SWIGTYPE_p_std__vectorT_faiss__Clusteri...
method getIteration_stats (line 68) | public SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t getIt...
method ProgressiveDimClustering (line 73) | public ProgressiveDimClustering(int d, int k) {
method ProgressiveDimClustering (line 77) | public ProgressiveDimClustering(int d, int k, ProgressiveDimClustering...
method train (line 81) | public void train(long n, SWIGTYPE_p_float x, ProgressiveDimIndexFacto...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimClusteringParameters.java
class ProgressiveDimClusteringParameters (line 11) | public class ProgressiveDimClusteringParameters extends ClusteringParame...
method ProgressiveDimClusteringParameters (line 14) | protected ProgressiveDimClusteringParameters(long cPtr, boolean cMemor...
method getCPtr (line 19) | protected static long getCPtr(ProgressiveDimClusteringParameters obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setProgressive_dim_steps (line 39) | public void setProgressive_dim_steps(int value) {
method getProgressive_dim_steps (line 43) | public int getProgressive_dim_steps() {
method setApply_pca (line 47) | public void setApply_pca(boolean value) {
method getApply_pca (line 51) | public boolean getApply_pca() {
method ProgressiveDimClusteringParameters (line 55) | public ProgressiveDimClusteringParameters() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimIndexFactory.java
class ProgressiveDimIndexFactory (line 11) | public class ProgressiveDimIndexFactory {
method ProgressiveDimIndexFactory (line 15) | protected ProgressiveDimIndexFactory(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ProgressiveDimIndexFactory obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method ProgressiveDimIndexFactory (line 39) | public ProgressiveDimIndexFactory() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/RandomRotationMatrix.java
class RandomRotationMatrix (line 11) | public class RandomRotationMatrix extends LinearTransform {
method RandomRotationMatrix (line 14) | protected RandomRotationMatrix(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(RandomRotationMatrix obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method RandomRotationMatrix (line 39) | public RandomRotationMatrix(int d_in, int d_out) {
method init (line 43) | public void init(int seed) {
method train (line 47) | public void train(long n, SWIGTYPE_p_float x) {
method RandomRotationMatrix (line 51) | public RandomRotationMatrix() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/RangeQueryResult.java
class RangeQueryResult (line 11) | public class RangeQueryResult {
method RangeQueryResult (line 15) | protected RangeQueryResult(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(RangeQueryResult obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setQno (line 39) | public void setQno(long value) {
method getQno (line 43) | public long getQno() {
method setNres (line 47) | public void setNres(long value) {
method getNres (line 51) | public long getNres() {
method setPres (line 55) | public void setPres(RangeSearchPartialResult value) {
method getPres (line 59) | public RangeSearchPartialResult getPres() {
method add (line 64) | public void add(float dis, long id) {
method RangeQueryResult (line 68) | public RangeQueryResult() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/RangeSearchPartialResult.java
class RangeSearchPartialResult (line 11) | public class RangeSearchPartialResult extends BufferList {
method RangeSearchPartialResult (line 14) | protected RangeSearchPartialResult(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(RangeSearchPartialResult obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setRes (line 39) | public void setRes(RangeSearchResult value) {
method getRes (line 43) | public RangeSearchResult getRes() {
method setQueries (line 48) | public void setQueries(SWIGTYPE_p_std__vectorT_faiss__RangeQueryResult...
method getQueries (line 52) | public SWIGTYPE_p_std__vectorT_faiss__RangeQueryResult_t getQueries() {
method new_result (line 57) | public RangeQueryResult new_result(long qno) {
method set_lims (line 61) | public void set_lims() {
method copy_result (line 65) | public void copy_result(boolean incremental) {
method copy_result (line 69) | public void copy_result() {
method merge (line 73) | public static void merge(SWIGTYPE_p_std__vectorT_faiss__RangeSearchPar...
method merge (line 77) | public static void merge(SWIGTYPE_p_std__vectorT_faiss__RangeSearchPar...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/RangeSearchResult.java
class RangeSearchResult (line 11) | public class RangeSearchResult {
method RangeSearchResult (line 15) | protected RangeSearchResult(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(RangeSearchResult obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method setNq (line 39) | public void setNq(long value) {
method getNq (line 43) | public long getNq() {
method setLims (line 47) | public void setLims(SWIGTYPE_p_unsigned_long value) {
method getLims (line 51) | public SWIGTYPE_p_unsigned_long getLims() {
method setLabels (line 56) | public void setLabels(LongVector value) {
method getLabels (line 60) | public LongVector getLabels() {
method setDistances (line 64) | public void setDistances(SWIGTYPE_p_float value) {
method getDistances (line 68) | public SWIGTYPE_p_float getDistances() {
method setBuffer_size (line 73) | public void setBuffer_size(long value) {
method getBuffer_size (line 77) | public long getBuffer_size() {
method do_allocation (line 81) | public void do_allocation() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ReadOnlyInvertedLists.java
class ReadOnlyInvertedLists (line 11) | public class ReadOnlyInvertedLists extends InvertedLists {
method ReadOnlyInvertedLists (line 14) | protected ReadOnlyInvertedLists(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ReadOnlyInvertedLists obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method add_entries (line 39) | public long add_entries(long list_no, long n_entry, LongVector ids, SW...
method update_entries (line 43) | public void update_entries(long list_no, long offset, long n_entry, Lo...
method resize (line 47) | public void resize(long list_no, long new_size) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ReconstructFromNeighbors.java
class ReconstructFromNeighbors (line 11) | public class ReconstructFromNeighbors {
method ReconstructFromNeighbors (line 15) | protected ReconstructFromNeighbors(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 20) | protected static long getCPtr(ReconstructFromNeighbors obj) {
method finalize (line 24) | @SuppressWarnings("deprecation")
method delete (line 29) | public synchronized void delete() {
method getIndex (line 39) | public IndexHNSW getIndex() {
method setM (line 43) | public void setM(long value) {
method getM (line 47) | public long getM() {
method setK (line 51) | public void setK(long value) {
method getK (line 55) | public long getK() {
method setNsq (line 59) | public void setNsq(long value) {
method getNsq (line 63) | public long getNsq() {
method setCode_size (line 67) | public void setCode_size(long value) {
method getCode_size (line 71) | public long getCode_size() {
method setK_reorder (line 75) | public void setK_reorder(int value) {
method getK_reorder (line 79) | public int getK_reorder() {
method setCodebook (line 83) | public void setCodebook(FloatVector value) {
method getCodebook (line 87) | public FloatVector getCodebook() {
method setCodes (line 92) | public void setCodes(ByteVector value) {
method getCodes (line 96) | public ByteVector getCodes() {
method setNtotal (line 101) | public void setNtotal(long value) {
method getNtotal (line 105) | public long getNtotal() {
method setD (line 109) | public void setD(long value) {
method getD (line 113) | public long getD() {
method setDsub (line 117) | public void setDsub(long value) {
method getDsub (line 121) | public long getDsub() {
method ReconstructFromNeighbors (line 125) | public ReconstructFromNeighbors(IndexHNSW index, long k, long nsq) {
method ReconstructFromNeighbors (line 129) | public ReconstructFromNeighbors(IndexHNSW index, long k) {
method ReconstructFromNeighbors (line 133) | public ReconstructFromNeighbors(IndexHNSW index) {
method add_codes (line 137) | public void add_codes(long n, SWIGTYPE_p_float x) {
method compute_distances (line 141) | public long compute_distances(long n, LongVector shortlist, SWIGTYPE_p...
method estimate_code (line 145) | public void estimate_code(SWIGTYPE_p_float x, int i, SWIGTYPE_p_unsign...
method reconstruct (line 149) | public void reconstruct(int i, SWIGTYPE_p_float x, SWIGTYPE_p_float tm...
method reconstruct_n (line 153) | public void reconstruct_n(int n0, int ni, SWIGTYPE_p_float x) {
method get_neighbor_table (line 157) | public void get_neighbor_table(int i, SWIGTYPE_p_float out) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/RemapDimensionsTransform.java
class RemapDimensionsTransform (line 11) | public class RemapDimensionsTransform extends VectorTransform {
method RemapDimensionsTransform (line 14) | protected RemapDimensionsTransform(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(RemapDimensionsTransform obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setMap (line 39) | public void setMap(IntVector value) {
method getMap (line 43) | public IntVector getMap() {
method RemapDimensionsTransform (line 48) | public RemapDimensionsTransform(int d_in, int d_out, SWIGTYPE_p_int ma...
method RemapDimensionsTransform (line 52) | public RemapDimensionsTransform(int d_in, int d_out, boolean uniform) {
method RemapDimensionsTransform (line 56) | public RemapDimensionsTransform(int d_in, int d_out) {
method apply_noalloc (line 60) | public void apply_noalloc(long n, SWIGTYPE_p_float x, SWIGTYPE_p_float...
method reverse_transform (line 64) | public void reverse_transform(long n, SWIGTYPE_p_float xt, SWIGTYPE_p_...
method RemapDimensionsTransform (line 68) | public RemapDimensionsTransform() {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/ReproduceDistancesObjective.java
class ReproduceDistancesObjective (line 11) | public class ReproduceDistancesObjective extends PermutationObjective {
method ReproduceDistancesObjective (line 14) | protected ReproduceDistancesObjective(long cPtr, boolean cMemoryOwn) {
method getCPtr (line 19) | protected static long getCPtr(ReproduceDistancesObjective obj) {
method finalize (line 23) | @SuppressWarnings("deprecation")
method delete (line 28) | public synchronized void delete() {
method setDis_weight_factor (line 39) | public void setDis_weight_factor(double value) {
method getDis_weight_factor (line 43) | public double getDis_weight_factor() {
method sqr (line 47) | public static double sqr(double x) {
method dis_weight (line 51) | public double dis_weight(double x) {
method setSource_dis (line 55) | public void setSource_dis(DoubleVector value) {
method getSource_dis (line 59) | public DoubleVector getSource_dis() {
method setTarget_dis (line 64) | public void setTarget_dis(SWIGTYPE_p_double value) {
method getTarget_dis (line 68) | public SWIGTYPE_p_double getTarget_dis() {
method setWeights (line 73) | public void setWeights(DoubleVector value) {
method getWeights (line 77) | public DoubleVector getWeights() {
method get_source_dis (line 82) | public double get_source_dis(int i, int j) {
method compute_cost (line 86) | public double compute_cost(SWIGTYPE_p_int perm) {
method cost_update (line 90) | public double cost_update(SWIGTYPE_p_int perm, int iw, int jw) {
method ReproduceDistancesObjective (line 94) | public ReproduceDistancesObjective(int n, SWIGTYPE_p_double source_dis...
method compute_mean_stdev (line 98) | public static void compute_mean_stdev(SWIGTYPE_p_double tab, long n2, ...
method set_affine_target_dis (line 102) | public void set_affine_target_dis(SWIGTYPE_p_double source_dis_in) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_AlignedTableT_float_32_t.java
class SWIGTYPE_p_AlignedTableT_float_32_t (line 11) | public class SWIGTYPE_p_AlignedTableT_float_32_t {
method SWIGTYPE_p_AlignedTableT_float_32_t (line 14) | protected SWIGTYPE_p_AlignedTableT_float_32_t(long cPtr, @SuppressWarn...
method SWIGTYPE_p_AlignedTableT_float_32_t (line 18) | protected SWIGTYPE_p_AlignedTableT_float_32_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_AlignedTableT_float_32_t obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_AlignedTableT_float_t.java
class SWIGTYPE_p_AlignedTableT_float_t (line 11) | public class SWIGTYPE_p_AlignedTableT_float_t {
method SWIGTYPE_p_AlignedTableT_float_t (line 14) | protected SWIGTYPE_p_AlignedTableT_float_t(long cPtr, @SuppressWarning...
method SWIGTYPE_p_AlignedTableT_float_t (line 18) | protected SWIGTYPE_p_AlignedTableT_float_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_AlignedTableT_float_t obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_DirectMap.java
class SWIGTYPE_p_DirectMap (line 11) | public class SWIGTYPE_p_DirectMap {
method SWIGTYPE_p_DirectMap (line 14) | protected SWIGTYPE_p_DirectMap(long cPtr, @SuppressWarnings("unused") ...
method SWIGTYPE_p_DirectMap (line 18) | protected SWIGTYPE_p_DirectMap() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_DirectMap obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_DirectMap__Type.java
class SWIGTYPE_p_DirectMap__Type (line 11) | public class SWIGTYPE_p_DirectMap__Type {
method SWIGTYPE_p_DirectMap__Type (line 14) | protected SWIGTYPE_p_DirectMap__Type(long cPtr, @SuppressWarnings("unu...
method SWIGTYPE_p_DirectMap__Type (line 18) | protected SWIGTYPE_p_DirectMap__Type() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_DirectMap__Type obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_FILE.java
class SWIGTYPE_p_FILE (line 11) | public class SWIGTYPE_p_FILE {
method SWIGTYPE_p_FILE (line 14) | protected SWIGTYPE_p_FILE(long cPtr, @SuppressWarnings("unused") boole...
method SWIGTYPE_p_FILE (line 18) | protected SWIGTYPE_p_FILE() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_FILE obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_IOReader.java
class SWIGTYPE_p_IOReader (line 11) | public class SWIGTYPE_p_IOReader {
method SWIGTYPE_p_IOReader (line 14) | protected SWIGTYPE_p_IOReader(long cPtr, @SuppressWarnings("unused") b...
method SWIGTYPE_p_IOReader (line 18) | protected SWIGTYPE_p_IOReader() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_IOReader obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_IOWriter.java
class SWIGTYPE_p_IOWriter (line 11) | public class SWIGTYPE_p_IOWriter {
method SWIGTYPE_p_IOWriter (line 14) | protected SWIGTYPE_p_IOWriter(long cPtr, @SuppressWarnings("unused") b...
method SWIGTYPE_p_IOWriter (line 18) | protected SWIGTYPE_p_IOWriter() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_IOWriter obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_ScalarQuantizer.java
class SWIGTYPE_p_ScalarQuantizer (line 11) | public class SWIGTYPE_p_ScalarQuantizer {
method SWIGTYPE_p_ScalarQuantizer (line 14) | protected SWIGTYPE_p_ScalarQuantizer(long cPtr, @SuppressWarnings("unu...
method SWIGTYPE_p_ScalarQuantizer (line 18) | protected SWIGTYPE_p_ScalarQuantizer() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_ScalarQuantizer obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_ScalarQuantizer__QuantizerType.java
class SWIGTYPE_p_ScalarQuantizer__QuantizerType (line 11) | public class SWIGTYPE_p_ScalarQuantizer__QuantizerType {
method SWIGTYPE_p_ScalarQuantizer__QuantizerType (line 14) | protected SWIGTYPE_p_ScalarQuantizer__QuantizerType(long cPtr, @Suppre...
method SWIGTYPE_p_ScalarQuantizer__QuantizerType (line 18) | protected SWIGTYPE_p_ScalarQuantizer__QuantizerType() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_ScalarQuantizer__QuantizerTyp...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_double.java
class SWIGTYPE_p_double (line 11) | public class SWIGTYPE_p_double {
method SWIGTYPE_p_double (line 14) | protected SWIGTYPE_p_double(long cPtr, @SuppressWarnings("unused") boo...
method SWIGTYPE_p_double (line 18) | protected SWIGTYPE_p_double() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_double obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t.java
class SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t (line 11) | public class SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t {
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t (line 14) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t(long cP...
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t (line 18) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__AlignedTableTightAlloc...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t.java
class SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t (line 11) | public class SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t {
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t (line 14) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t(long...
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t (line 18) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__AlignedTableTightAlloc...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t.java
class SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t (line 11) | public class SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t {
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t (line 14) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t...
method SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t (line 18) | protected SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t...
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__AlignedTableTightAlloc...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__BinaryInvertedListScanner.java
class SWIGTYPE_p_faiss__BinaryInvertedListScanner (line 11) | public class SWIGTYPE_p_faiss__BinaryInvertedListScanner {
method SWIGTYPE_p_faiss__BinaryInvertedListScanner (line 14) | protected SWIGTYPE_p_faiss__BinaryInvertedListScanner(long cPtr, @Supp...
method SWIGTYPE_p_faiss__BinaryInvertedListScanner (line 18) | protected SWIGTYPE_p_faiss__BinaryInvertedListScanner() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__BinaryInvertedListScan...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t.java
class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t (line 11) | public class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t {
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t (line 14) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t(...
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t (line 18) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__HeapArrayT_faiss__CMax...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t.java
class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t (line 11) | public class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t {
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t (line 14) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t(lo...
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t (line 18) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__HeapArrayT_faiss__CMax...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t.java
class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t (line 11) | public class SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t {
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t (line 14) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t(...
method SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t (line 18) | protected SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__HeapArrayT_faiss__CMin...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__IOReader.java
class SWIGTYPE_p_faiss__IOReader (line 11) | public class SWIGTYPE_p_faiss__IOReader {
method SWIGTYPE_p_faiss__IOReader (line 14) | protected SWIGTYPE_p_faiss__IOReader(long cPtr, @SuppressWarnings("unu...
method SWIGTYPE_p_faiss__IOReader (line 18) | protected SWIGTYPE_p_faiss__IOReader() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__IOReader obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__IOWriter.java
class SWIGTYPE_p_faiss__IOWriter (line 11) | public class SWIGTYPE_p_faiss__IOWriter {
method SWIGTYPE_p_faiss__IOWriter (line 14) | protected SWIGTYPE_p_faiss__IOWriter(long cPtr, @SuppressWarnings("unu...
method SWIGTYPE_p_faiss__IOWriter (line 18) | protected SWIGTYPE_p_faiss__IOWriter() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__IOWriter obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__InvertedListScanner.java
class SWIGTYPE_p_faiss__InvertedListScanner (line 11) | public class SWIGTYPE_p_faiss__InvertedListScanner {
method SWIGTYPE_p_faiss__InvertedListScanner (line 14) | protected SWIGTYPE_p_faiss__InvertedListScanner(long cPtr, @SuppressWa...
method SWIGTYPE_p_faiss__InvertedListScanner (line 18) | protected SWIGTYPE_p_faiss__InvertedListScanner() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__InvertedListScanner ob...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__LockLevels.java
class SWIGTYPE_p_faiss__LockLevels (line 11) | public class SWIGTYPE_p_faiss__LockLevels {
method SWIGTYPE_p_faiss__LockLevels (line 14) | protected SWIGTYPE_p_faiss__LockLevels(long cPtr, @SuppressWarnings("u...
method SWIGTYPE_p_faiss__LockLevels (line 18) | protected SWIGTYPE_p_faiss__LockLevels() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__LockLevels obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch.java
class SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch (line 11) | public class SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch {
method SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch (line 14) | protected SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch(long ...
method SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch (line 18) | protected SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__OnDiskInvertedLists__O...
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__RandomGenerator.java
class SWIGTYPE_p_faiss__RandomGenerator (line 11) | public class SWIGTYPE_p_faiss__RandomGenerator {
method SWIGTYPE_p_faiss__RandomGenerator (line 14) | protected SWIGTYPE_p_faiss__RandomGenerator(long cPtr, @SuppressWarnin...
method SWIGTYPE_p_faiss__RandomGenerator (line 18) | protected SWIGTYPE_p_faiss__RandomGenerator() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_faiss__RandomGenerator obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_float.java
class SWIGTYPE_p_float (line 11) | public class SWIGTYPE_p_float {
method SWIGTYPE_p_float (line 14) | protected SWIGTYPE_p_float(long cPtr, @SuppressWarnings("unused") bool...
method SWIGTYPE_p_float (line 18) | protected SWIGTYPE_p_float() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_float obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_int.java
class SWIGTYPE_p_int (line 11) | public class SWIGTYPE_p_int {
method SWIGTYPE_p_int (line 14) | protected SWIGTYPE_p_int(long cPtr, @SuppressWarnings("unused") boolea...
method SWIGTYPE_p_int (line 18) | protected SWIGTYPE_p_int() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_int obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_long.java
class SWIGTYPE_p_long (line 11) | public class SWIGTYPE_p_long {
method SWIGTYPE_p_long (line 14) | protected SWIGTYPE_p_long(long cPtr, @SuppressWarnings("unused") boole...
method SWIGTYPE_p_long (line 18) | protected SWIGTYPE_p_long() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_long obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_long_long.java
class SWIGTYPE_p_long_long (line 11) | public class SWIGTYPE_p_long_long {
method SWIGTYPE_p_long_long (line 14) | protected SWIGTYPE_p_long_long(long cPtr, @SuppressWarnings("unused") ...
method SWIGTYPE_p_long_long (line 18) | protected SWIGTYPE_p_long_long() {
method getCPtr (line 22) | protected static long getCPtr(SWIGTYPE_p_long_long obj) {
FILE: ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_omp_lock_t.java
class SWIGTYPE_p_omp_lock_t (line 11) | public class SWIGTYPE_p_omp_lock_t {
method SWIGTYPE_p_omp_lock_t (line 14) | protected SWIGTYPE_p_omp_lock_t(long cPtr, @SuppressWarnings("unused")...
method SWIGTYPE_p_omp_lock_t (line 18) | protected SWIGTYPE_p_omp_lock_t() {
method getCPtr (line 22) | protected static
Copy disabled (too large)
Download .json
Condensed preview — 7651 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (16,837K chars).
[
{
"path": ".gitignore",
"chars": 11,
"preview": ".DS_Store\n\n"
},
{
"path": "COPYING",
"chars": 34523,
"preview": " GNU AFFERO GENERAL PUBLIC LICENSE\n Version 3, 19 November 2007\n\n Copyright (C)"
},
{
"path": "README.md",
"chars": 7311,
"preview": "# X's Recommendation Algorithm\n\nX's Recommendation Algorithm is a set of services and jobs that are responsible for serv"
},
{
"path": "RETREIVAL_SIGNALS.md",
"chars": 5657,
"preview": "# Signals for Candidate Sources\n\n## Overview\n\nThe candidate sourcing stage within the Twitter Recommendation algorithm s"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/BUILD",
"chars": 333,
"preview": "target(\n name = \"faiss\",\n dependencies = [\n \"ann/src/main/java/com/twitter/ann/faiss/swig:swig-artifactory\""
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/NativeUtils.java",
"chars": 5360,
"preview": "package com.twitter.ann.faiss;\n\nimport java.io.File;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\ni"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableFloat32.java",
"chars": 2917,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint16.java",
"chars": 2921,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/AlignedTableUint8.java",
"chars": 2941,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ArrayInvertedLists.java",
"chars": 3241,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/AutoTuneCriterion.java",
"chars": 2837,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/BUILD",
"chars": 707,
"preview": "java_library(\n name = \"swig-local\",\n sources = [\"*.java\"],\n compiler_option_sets = [\"fatal_warnings\"],\n plat"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/BitstringReader.java",
"chars": 2091,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/BitstringWriter.java",
"chars": 2097,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/BufferList.java",
"chars": 2446,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ByteVector.java",
"chars": 1946,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ByteVectorVector.java",
"chars": 2072,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/CenteringTransform.java",
"chars": 2194,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/CharVector.java",
"chars": 1846,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Clustering.java",
"chars": 3684,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Clustering1D.java",
"chars": 1457,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringIterationStats.java",
"chars": 2375,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ClusteringParameters.java",
"chars": 3883,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/DistanceComputer.java",
"chars": 1308,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/DoubleVector.java",
"chars": 1966,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/FloatVector.java",
"chars": 1946,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/FloatVectorVector.java",
"chars": 2094,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer16.java",
"chars": 1815,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer32.java",
"chars": 2227,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputer8.java",
"chars": 1596,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/GenHammingComputerM8.java",
"chars": 1959,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HNSW.java",
"chars": 14643,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HNSWStats.java",
"chars": 2858,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HStackInvertedLists.java",
"chars": 3266,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer16.java",
"chars": 2062,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer20.java",
"chars": 2352,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer32.java",
"chars": 2462,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer4.java",
"chars": 1934,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer64.java",
"chars": 3262,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputer8.java",
"chars": 1844,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerDefault.java",
"chars": 2552,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM4.java",
"chars": 2186,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/HammingComputerM8.java",
"chars": 2206,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IDSelector.java",
"chars": 1122,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorArray.java",
"chars": 1808,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorBatch.java",
"chars": 1759,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IDSelectorRange.java",
"chars": 1703,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ITQMatrix.java",
"chars": 2088,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ITQTransform.java",
"chars": 3271,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IVFPQSearchParameters.java",
"chars": 1736,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IVFSearchParameters.java",
"chars": 1595,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Index.java",
"chars": 5979,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Index2Layer.java",
"chars": 4010,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinary.java",
"chars": 5004,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFlat.java",
"chars": 3182,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryFromFloat.java",
"chars": 2612,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryHNSW.java",
"chars": 3625,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexBinaryIVF.java",
"chars": 10238,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlat.java",
"chars": 3173,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlat1D.java",
"chars": 2516,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatCodes.java",
"chars": 2415,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatIP.java",
"chars": 1227,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexFlatL2.java",
"chars": 1227,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSW.java",
"chars": 5909,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSW2Level.java",
"chars": 1741,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWFlat.java",
"chars": 1399,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWPQ.java",
"chars": 1391,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexHNSWSQ.java",
"chars": 1591,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIDMap.java",
"chars": 3386,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVF.java",
"chars": 12508,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFFlat.java",
"chars": 3225,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFFlatDedup.java",
"chars": 4963,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFPQ.java",
"chars": 8190,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFPQStats.java",
"chars": 2144,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFScalarQuantizer.java",
"chars": 4757,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexIVFStats.java",
"chars": 2645,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexLSH.java",
"chars": 4125,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexPQ.java",
"chars": 6959,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexPQStats.java",
"chars": 1813,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexRefine.java",
"chars": 3991,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexRefineFlat.java",
"chars": 1802,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexScalarQuantizer.java",
"chars": 3116,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexShards.java",
"chars": 3130,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IndexSplitVectors.java",
"chars": 3133,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IntVector.java",
"chars": 1906,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/InterruptCallback.java",
"chars": 1564,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/IntersectionCriterion.java",
"chars": 1636,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/InvertedLists.java",
"chars": 8864,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/InvertedListsPtrVector.java",
"chars": 2270,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Level1Quantizer.java",
"chars": 3701,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/LinearTransform.java",
"chars": 3809,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/LongVector.java",
"chars": 1936,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/LongVectorVector.java",
"chars": 2186,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/MapLong2Long.java",
"chars": 1989,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/MaskedInvertedLists.java",
"chars": 3437,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/MetricType.java",
"chars": 2457,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/MultiIndexQuantizer.java",
"chars": 2506,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/MultiIndexQuantizer2.java",
"chars": 2751,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/NormalizationTransform.java",
"chars": 2125,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OPQMatrix.java",
"chars": 3114,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskInvertedLists.java",
"chars": 9125,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskInvertedListsIOHook.java",
"chars": 2029,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OnDiskOneList.java",
"chars": 1731,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OneRecallAtRCriterion.java",
"chars": 1636,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPoint.java",
"chars": 1911,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPointVector.java",
"chars": 2160,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/OperatingPoints.java",
"chars": 3211,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PCAMatrix.java",
"chars": 4098,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoder16.java",
"chars": 1672,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoder8.java",
"chars": 1682,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQDecoderGeneric.java",
"chars": 2282,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoder16.java",
"chars": 1602,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoder8.java",
"chars": 1613,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PQEncoderGeneric.java",
"chars": 2397,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ParameterRange.java",
"chars": 1642,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ParameterSpace.java",
"chars": 4746,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PartitionStats.java",
"chars": 1685,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PermutationObjective.java",
"chars": 1599,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/PolysemousTraining.java",
"chars": 5248,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ProductQuantizer.java",
"chars": 12051,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimClustering.java",
"chars": 3050,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimClusteringParameters.java",
"chars": 1874,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ProgressiveDimIndexFactory.java",
"chars": 1185,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/RandomRotationMatrix.java",
"chars": 1587,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/RangeQueryResult.java",
"chars": 2007,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/RangeSearchPartialResult.java",
"chars": 3016,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/RangeSearchResult.java",
"chars": 2585,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ReadOnlyInvertedLists.java",
"chars": 1837,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ReconstructFromNeighbors.java",
"chars": 5488,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/RemapDimensionsTransform.java",
"chars": 2497,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/ReproduceDistancesObjective.java",
"chars": 4079,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_AlignedTableT_float_32_t.java",
"chars": 827,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_AlignedTableT_float_t.java",
"chars": 815,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_DirectMap.java",
"chars": 767,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_DirectMap__Type.java",
"chars": 791,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_FILE.java",
"chars": 747,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_IOReader.java",
"chars": 763,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_IOWriter.java",
"chars": 763,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_ScalarQuantizer.java",
"chars": 791,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_ScalarQuantizer__QuantizerType.java",
"chars": 851,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_double.java",
"chars": 755,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_float_32_t.java",
"chars": 895,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_uint16_t_32_t.java",
"chars": 907,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__AlignedTableTightAllocT_unsigned_char_32_t.java",
"chars": 927,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__BinaryInvertedListScanner.java",
"chars": 859,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_float_int64_t_t_t.java",
"chars": 923,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMaxT_int_int64_t_t_t.java",
"chars": 915,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__HeapArrayT_faiss__CMinT_float_int64_t_t_t.java",
"chars": 923,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__IOReader.java",
"chars": 791,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__IOWriter.java",
"chars": 791,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__InvertedListScanner.java",
"chars": 835,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__LockLevels.java",
"chars": 799,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__OnDiskInvertedLists__OngoingPrefetch.java",
"chars": 903,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_faiss__RandomGenerator.java",
"chars": 819,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_float.java",
"chars": 751,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_int.java",
"chars": 743,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_long.java",
"chars": 747,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_long_long.java",
"chars": 767,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_omp_lock_t.java",
"chars": 771,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_p_faiss__Index.java",
"chars": 787,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_p_faiss__InvertedLists.java",
"chars": 819,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_p_faiss__VectorTransform.java",
"chars": 827,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__listT_faiss__OnDiskInvertedLists__Slot_t.java",
"chars": 911,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__pairT_float_int_t.java",
"chars": 819,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__priority_queueT_faiss__HNSW__NodeDistFarther_t.java",
"chars": 935,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__priority_queueT_std__pairT_float_int_t_t.java",
"chars": 911,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__unordered_mapT_long_long_t.java",
"chars": 855,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__unordered_multimapT_int64_t_int64_t_t.java",
"chars": 899,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__BufferList__Buffer_t.java",
"chars": 891,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__ClusteringIterationStats_t.java",
"chars": 915,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__HNSW__NodeDistFarther_t.java",
"chars": 903,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__Index_p_t.java",
"chars": 847,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__InvertedLists_const_p_t.java",
"chars": 903,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__OnDiskOneList_t.java",
"chars": 871,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__ParameterRange_t.java",
"chars": 875,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__RangeQueryResult_t.java",
"chars": 883,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_faiss__RangeSearchPartialResult_p_t.java",
"chars": 923,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_int64_t_t.java",
"chars": 819,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_long_t.java",
"chars": 807,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_omp_lock_t_t.java",
"chars": 831,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_std__vectorT_int64_t_t_t.java",
"chars": 879,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_long_t_t.java",
"chars": 903,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_uint16_t.java",
"chars": 763,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_uint32_t.java",
"chars": 763,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_unsigned_char.java",
"chars": 783,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_unsigned_long.java",
"chars": 783,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SWIGTYPE_p_void.java",
"chars": 747,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SimulatedAnnealingOptimizer.java",
"chars": 3350,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SimulatedAnnealingParameters.java",
"chars": 3245,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SliceInvertedLists.java",
"chars": 3462,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/SlidingIndexWindow.java",
"chars": 2915,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/StopWordsInvertedLists.java",
"chars": 3361,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/Uint64Vector.java",
"chars": 1976,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/VStackInvertedLists.java",
"chars": 3672,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/VectorTransform.java",
"chars": 2480,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/VectorTransformVector.java",
"chars": 2266,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/VisitedTable.java",
"chars": 1900,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/doubleArray.java",
"chars": 1735,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/floatArray.java",
"chars": 1717,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
},
{
"path": "ann/src/main/java/com/twitter/ann/faiss/swig/float_maxheap_array_t.java",
"chars": 4983,
"preview": "/* ----------------------------------------------------------------------------\n * This file was automatically generated"
}
]
// ... and 7451 more files (download for full content)
About this extraction
This page contains the full source code of the twitter/the-algorithm GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 7651 files (26.3 MB), approximately 4.5M tokens, and a symbol index with 12373 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.