Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
        MinutiaMatcher DequeueMatcher()
        {
            MinutiaMatcher matcher = null;

            lock (Matchers)
                if (Matchers.Count > 0)
                {
                    matcher = Matchers.Dequeue();
                }
            if (matcher == null)
            {
                matcher = ParameterSet.ClonePrototype(MinutiaMatcher);
            }
            return(matcher);
        }
Exemplo n.º 3
0
 public void SelectProbe(ProbeIndex probe)
 {
     Probe = probe;
     Pairing.SelectProbe(probe.Template);
     CandidateEdges = ParameterSet.ClonePrototype(EdgeTablePrototype);
 }