Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/VecSim/vec_sim_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,12 @@ typedef struct {
double epsilon; // Epsilon parameter for HNSW graph accuracy/latency for range search.
} HNSWRuntimeParams;

typedef struct {
size_t efRuntime; // EF parameter for HNSW graph accuracy/latency for search.
double epsilon; // Epsilon parameter for HNSW graph accuracy/latency for range search.
VecSimBool shouldRerank; // Whether to enable reranking for disk-based HNSW (True/False/Unset).
} HNSWDiskRuntimeParams;

typedef struct {
size_t windowSize; // Search window size for Vamana graph accuracy/latency tune.
size_t bufferCapacity; // Search buffer capacity for Vamana graph accuracy/latency tune.
Expand Down Expand Up @@ -313,6 +319,7 @@ typedef enum {
typedef struct {
union {
HNSWRuntimeParams hnswRuntimeParams;
HNSWDiskRuntimeParams hnswDiskRuntimeParams;
SVSRuntimeParams svsRuntimeParams;
};
size_t batchSize;
Expand Down
Loading