LotSizingDataModel.Checker 2.0.1
Reusable validation engine for structural, mathematical and objective consistency checks.
Loading...
Searching...
No Matches
SolutionVerificationBatchItemResult.cs
Go to the documentation of this file.
3
5
6/// <summary>
7/// Contains the execution and checker result for one batch candidate.
8/// </summary>
10{
11 /// <summary>
12 /// Gets the zero-based position of the candidate in the original input.
13 /// </summary>
14 public int Index
15 {
16 get;
17 init;
18 }
19
20 /// <summary>
21 /// Gets the stable caller-defined candidate identifier.
22 /// </summary>
23 public string CandidateKey
24 {
25 get;
26 init;
27 } = string.Empty;
28
29 /// <summary>
30 /// Gets the optional human-readable candidate name.
31 /// </summary>
32 public string? CandidateName
33 {
34 get;
35 init;
36 }
37
38 /// <summary>
39 /// Gets the candidate representation kind.
40 /// </summary>
42 {
43 get;
44 init;
45 }
46
47 /// <summary>
48 /// Gets whether verification execution completed without an unexpected
49 /// per-candidate exception.
50 /// </summary>
52 {
53 get;
54 init;
55 }
56
57 /// <summary>
58 /// Gets the complete verification result when execution succeeded.
59 /// </summary>
61 {
62 get;
63 init;
64 }
65
66 /// <summary>
67 /// Gets the detached compact checker summary when execution succeeded.
68 /// </summary>
70 {
71 get;
72 init;
73 }
74
75 /// <summary>
76 /// Gets the fully qualified exception type when execution failed.
77 /// </summary>
78 public string? FailureExceptionType
79 {
80 get;
81 init;
82 }
83
84 /// <summary>
85 /// Gets the exception message when execution failed.
86 /// </summary>
87 public string? FailureMessage
88 {
89 get;
90 init;
91 }
92
93 /// <summary>
94 /// Gets whether the candidate passed every requested independent check.
95 /// </summary>
96 public bool IsValid =>
98 Summary?.IsValid == true;
99}
Contains the execution and checker result for one batch candidate.
string? FailureExceptionType
Gets the fully qualified exception type when execution failed.
SolutionCheckSummary? Summary
Gets the detached compact checker summary when execution succeeded.
LotSizingSolutionVerificationResult? VerificationResult
Gets the complete verification result when execution succeeded.
int Index
Gets the zero-based position of the candidate in the original input.
bool IsValid
Gets whether the candidate passed every requested independent check.
SolutionVerificationBatchCandidateKind Kind
Gets the candidate representation kind.
string CandidateKey
Gets the stable caller-defined candidate identifier.
bool ExecutionSucceeded
Gets whether verification execution completed without an unexpected per-candidate exception.
Contains both the independent checker result and information about the application of that result to ...
Provides a compact machine-oriented summary of one solution check.
SolutionVerificationBatchCandidateKind
Identifies the domain object represented by a batch-verification candidate.