LotSizingDataModel.Checker 2.0.1
Reusable validation engine for structural, mathematical and objective consistency checks.
Loading...
Searching...
No Matches
SolutionCheckBatchSummary.cs
Go to the documentation of this file.
2
3/// <summary>
4/// Contains aggregated metrics for a collection of checked solutions.
5/// </summary>
6public sealed class SolutionCheckBatchSummary
7{
8 /// <summary>
9 /// Gets or sets the number of candidates represented by the summary.
10 /// </summary>
11 public int CandidateCount
12 {
13 get;
14 set;
15 }
16
17 /// <summary>
18 /// Gets or sets the number of candidates that passed all requested checks.
19 /// </summary>
21 {
22 get;
23 set;
24 }
25
26 /// <summary>
27 /// Gets or sets the number of candidates that did not pass all requested
28 /// checks.
29 /// </summary>
31 {
32 get;
33 set;
34 }
35
36 /// <summary>
37 /// Gets or sets the total number of informational diagnostics.
38 /// </summary>
40 {
41 get;
42 set;
43 }
44
45 /// <summary>
46 /// Gets or sets the total number of warnings.
47 /// </summary>
48 public int WarningCount
49 {
50 get;
51 set;
52 }
53
54 /// <summary>
55 /// Gets or sets the total number of errors.
56 /// </summary>
57 public int ErrorCount
58 {
59 get;
60 set;
61 }
62
63 /// <summary>
64 /// Gets or sets the number of candidates with at least one violated
65 /// mathematical constraint.
66 /// </summary>
68 {
69 get;
70 set;
71 }
72
73 /// <summary>
74 /// Gets or sets the number of candidates for which objective checking
75 /// completed and detected an inconsistency.
76 /// </summary>
78 {
79 get;
80 set;
81 }
82
83 /// <summary>
84 /// Gets or sets the largest constraint violation observed in the batch.
85 /// </summary>
87 {
88 get;
89 set;
90 }
91
92 /// <summary>
93 /// Gets or sets issue counts aggregated by category.
94 /// </summary>
95 public List<SolutionCheckIssueCount> IssueCountsByKind
96 {
97 get;
98 set;
99 } = new();
100
101 /// <summary>
102 /// Gets or sets the per-candidate summaries in insertion order.
103 /// </summary>
104 public List<SolutionCheckBatchItemSummary> Items
105 {
106 get;
107 set;
108 } = new();
109}
Contains aggregated metrics for a collection of checked solutions.
int CandidateWithObjectiveMismatchCount
Gets or sets the number of candidates for which objective checking completed and detected an inconsis...
int ValidCandidateCount
Gets or sets the number of candidates that passed all requested checks.
int InvalidCandidateCount
Gets or sets the number of candidates that did not pass all requested checks.
List< SolutionCheckBatchItemSummary > Items
Gets or sets the per-candidate summaries in insertion order.
List< SolutionCheckIssueCount > IssueCountsByKind
Gets or sets issue counts aggregated by category.
double MaximumConstraintViolation
Gets or sets the largest constraint violation observed in the batch.
int CandidateWithConstraintViolationCount
Gets or sets the number of candidates with at least one violated mathematical constraint.
int InformationCount
Gets or sets the total number of informational diagnostics.
int CandidateCount
Gets or sets the number of candidates represented by the summary.