LotSizingDataModel.Instance 2.0.1
Lot-sizing instance representation, descriptors and problem characterization.
Loading...
Searching...
No Matches
BenchmarkKnownResultAuditRecord.cs
Go to the documentation of this file.
2
4
6{
8 string resultId,
9 KnownResultVerificationStatus verificationStatus,
10 bool hasObjectiveValue,
11 bool hasSourceEvidence,
12 bool isReferenceEligible,
13 IReadOnlyList<string> diagnostics)
14 {
15 ResultId =
16 resultId?.Trim() ??
17 string.Empty;
18
20 verificationStatus;
21
23 hasObjectiveValue;
24
26 hasSourceEvidence;
27
29 isReferenceEligible;
30
32 diagnostics?.ToArray() ??
33 throw new ArgumentNullException(
34 nameof(diagnostics));
35
36 if (ResultId.Length == 0)
37 {
38 throw new InvalidOperationException(
39 "A benchmark known-result audit requires a result identifier.");
40 }
41 }
42
43 public string ResultId
44 {
45 get;
46 }
47
52
54 {
55 get;
56 }
57
59 {
60 get;
61 }
62
64 {
65 get;
66 }
67
68 public IReadOnlyList<string> Diagnostics
69 {
70 get;
71 }
72}
BenchmarkKnownResultAuditRecord(string resultId, KnownResultVerificationStatus verificationStatus, bool hasObjectiveValue, bool hasSourceEvidence, bool isReferenceEligible, IReadOnlyList< string > diagnostics)
KnownResultVerificationStatus
Indicates the level of verification associated with a known result for a lot-sizing problem instance.