LotSizingDataModel.Checker 2.0.1
Reusable validation engine for structural, mathematical and objective consistency checks.
Loading...
Searching...
No Matches
SolutionCheckReportOptions.cs
Go to the documentation of this file.
2
3/// <summary>
4/// Configures human-readable checker reports.
5/// </summary>
6public sealed class SolutionCheckReportOptions
7{
8 /// <summary>
9 /// Gets or sets whether stage status details are included.
10 /// </summary>
12 {
13 get;
14 set;
15 } = true;
16
17 /// <summary>
18 /// Gets or sets whether mathematical feasibility metrics are included.
19 /// </summary>
21 {
22 get;
23 set;
24 } = true;
25
26 /// <summary>
27 /// Gets or sets whether objective-comparison metrics are included.
28 /// </summary>
30 {
31 get;
32 set;
33 } = true;
34
35 /// <summary>
36 /// Gets or sets whether informational diagnostics are included.
37 /// </summary>
39 {
40 get;
41 set;
42 } = true;
43
44 /// <summary>
45 /// Gets or sets whether warning diagnostics are included.
46 /// </summary>
48 {
49 get;
50 set;
51 } = true;
52
53 /// <summary>
54 /// Gets or sets whether error diagnostics are included.
55 /// </summary>
57 {
58 get;
59 set;
60 } = true;
61
62 /// <summary>
63 /// Gets or sets the maximum number of detailed issues written per
64 /// candidate. Zero means no limit.
65 /// </summary>
67 {
68 get;
69 set;
70 } = 100;
71
72 /// <summary>
73 /// Gets or sets whether detailed issues are sorted by decreasing
74 /// severity before formatting.
75 /// </summary>
77 {
78 get;
79 set;
80 } = true;
81
82 /// <summary>
83 /// Validates the report options.
84 /// </summary>
85 public void EnsureValid()
86 {
88 {
89 throw new ArgumentOutOfRangeException(
92 "The maximum number of detailed issues cannot be negative.");
93 }
94 }
95}
bool SortIssuesBySeverity
Gets or sets whether detailed issues are sorted by decreasing severity before formatting.
bool IncludeWarningIssues
Gets or sets whether warning diagnostics are included.
int MaximumDetailedIssues
Gets or sets the maximum number of detailed issues written per candidate. Zero means no limit.
bool IncludeInformationIssues
Gets or sets whether informational diagnostics are included.
bool IncludeErrorIssues
Gets or sets whether error diagnostics are included.
bool IncludeObjectiveMetrics
Gets or sets whether objective-comparison metrics are included.
bool IncludeFeasibilityMetrics
Gets or sets whether mathematical feasibility metrics are included.
bool IncludeStageDetails
Gets or sets whether stage status details are included.