Any list, vector, etc of floats wrapped in
Struct representing a generic array -
This provides a HNSW implementation for any distance function.
Treats each bit contained in this struct as its own dimension and distance is computed as hamming distance.
Contains all the state used when searching the HNSW
This is the primary trait used by the HNSW. This is also implemented for
Implement this trait when your features have a floating point distance between them. You will take no performance
penalty for doing so. Please ensure your distance satisfies the conditions on
A 256-bit vector with 2
A 512-bit vector with 4