public void BuildIndex(Template probe, ProbeIndex index) { index.Template = probe; index.Edges = ParameterSet.ClonePrototype(EdgeTablePrototype); index.Edges.Reset(probe); index.EdgeHash = new EdgeHash(probe, EdgeLookup); }
MinutiaMatcher DequeueMatcher() { MinutiaMatcher matcher = null; lock (Matchers) if (Matchers.Count > 0) { matcher = Matchers.Dequeue(); } if (matcher == null) { matcher = ParameterSet.ClonePrototype(MinutiaMatcher); } return(matcher); }
public void SelectProbe(ProbeIndex probe) { Probe = probe; Pairing.SelectProbe(probe.Template); CandidateEdges = ParameterSet.ClonePrototype(EdgeTablePrototype); }