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)); } } } }
public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult, Core.Database.BiometricID biometricID) { this.status = decisionMakerResult.Status; this.matchingScore = decisionMakerResult.MatchingScore; this.biometricID = biometricID; }
public BiometricSystemResult(Core.BiometricSystem.IDecisionMakerResult decisionMakerResult) { this.status = decisionMakerResult.Status; this.matchingScore = decisionMakerResult.MatchingScore; }
public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore, Core.BiometricSystem.ResultStatus status) { this.matchingScore = matchingScore; this.status = status; }
public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore ) { this.matchingScore = matchingScore; }
public DecisionMakerResult(Core.Comparator.MatchingScore matchingScore) { this.matchingScore = matchingScore; }