Beispiel #1
0
 public Core.BiometricSystem.IDecisionMakerResult makeDecision(Core.Comparator.MatchingScore matchingScore)
 {
     if (settings == null || !matchingScore.IsValid)
     {
         return(new DecisionMakerResult(matchingScore));
     }
     else
     {
         if (settings.AcceptValuesAboveThresh)
         {
             if (matchingScore.Score > settings.Thresh)
             {
                 return(new DecisionMakerResult(matchingScore, Core.BiometricSystem.ResultStatus.ACCEPTED));
             }
             else
             {
                 return(new DecisionMakerResult(matchingScore, Core.BiometricSystem.ResultStatus.REJECTED));
             }
         }
         else
         {
             if (matchingScore.Score > settings.Thresh)
             {
                 return(new DecisionMakerResult(matchingScore, Core.BiometricSystem.ResultStatus.REJECTED));
             }
             else
             {
                 return(new DecisionMakerResult(matchingScore, Core.BiometricSystem.ResultStatus.ACCEPTED));
             }
         }
     }
 }
Beispiel #2
0
 public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult, Core.Database.BiometricID biometricID)
 {
     this.status        = decisionMakerResult.Status;
     this.matchingScore = decisionMakerResult.MatchingScore;
     this.biometricID   = biometricID;
 }
Beispiel #3
0
 public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult)
 {
     this.status        = decisionMakerResult.Status;
     this.matchingScore = decisionMakerResult.MatchingScore;
 }
Beispiel #4
0
 public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult, Core.Database.BiometricID biometricID)
 {
     this.status = decisionMakerResult.Status;
     this.matchingScore = decisionMakerResult.MatchingScore;
     this.biometricID = biometricID;
 }
Beispiel #5
0
 public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult)
 {
     this.status = decisionMakerResult.Status;
     this.matchingScore = decisionMakerResult.MatchingScore;
 }
Beispiel #6
0
 public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore, Core.BiometricSystem.ResultStatus status)
 {
     this.matchingScore = matchingScore;
     this.status = status;
 }
Beispiel #7
0
 public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore )
 {
     this.matchingScore = matchingScore;
 }
Beispiel #8
0
 public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore, Core.BiometricSystem.ResultStatus status)
 {
     this.matchingScore = matchingScore;
     this.status        = status;
 }
Beispiel #9
0
 public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore)
 {
     this.matchingScore = matchingScore;
 }