Added hash based optimization

This commit is contained in:
2025-06-11 13:23:02 +02:00
parent 371a16511a
commit e6211a185b
3 changed files with 75 additions and 32 deletions

View File

@@ -14,11 +14,13 @@ public class Datapoint
public string name;
public Probmethods.probMethodDelegate probMethod;
public List<(string, float[])> embeddings;
public string hash;
public Datapoint(string name, Probmethods.probMethodDelegate probMethod, List<(string, float[])> embeddings)
public Datapoint(string name, Probmethods.probMethodDelegate probMethod, string hash, List<(string, float[])> embeddings)
{
this.name = name;
this.probMethod = probMethod;
this.hash = hash;
this.embeddings = embeddings;
}