public object Clone() { MinutiaPairing clone = new MinutiaPairing(); clone.ProbeIndex = (PairInfo[])ProbeIndex.Clone(); clone.CandidateIndex = (PairInfo[])CandidateIndex.Clone(); clone.PairList = (PairInfo[])PairList.CloneItems(); clone.PairCount = PairCount; return(clone); }
public void SkipPaired(MinutiaPairing pairing) { while (Queue.Count > 0 && (pairing.IsProbePaired(Queue.Peek().Neighbor.Probe) || pairing.IsCandidatePaired(Queue.Peek().Neighbor.Candidate))) { EdgePair edge = Queue.Dequeue(); if (pairing.IsProbePaired(edge.Neighbor.Probe) && pairing.GetByProbe(edge.Neighbor.Probe).Pair.Candidate == edge.Neighbor.Candidate) { pairing.AddSupportByProbe(edge.Reference.Probe); pairing.AddSupportByProbe(edge.Neighbor.Probe); } } }