LotSizingDataModel.Instance 2.0.1
Lot-sizing instance representation, descriptors and problem characterization.
Loading...
Searching...
No Matches
UniversalSemanticConditionAssessment.cs
Go to the documentation of this file.
2
3/// <summary>
4/// One explicit actual assessment of a generic semantic condition.
5/// </summary>
7{
11 {
12 if (!Enum.IsDefined(condition))
13 {
14 throw new ArgumentOutOfRangeException(
15 nameof(condition),
16 condition,
17 "Unknown universal semantic condition.");
18 }
19
20 if (!Enum.IsDefined(state))
21 {
22 throw new ArgumentOutOfRangeException(
23 nameof(state),
24 state,
25 "Unknown universal condition state.");
26 }
27
28 Condition = condition;
29 State = state;
30 }
31
32 public UniversalSemanticCondition Condition { get; }
33 public UniversalConditionState State { get; }
34}
UniversalSemanticCondition
Generic derived semantic conditions that may be required by a universal problem specification.
record UniversalSemanticConditionAssessment
One explicit actual assessment of a generic semantic condition.
UniversalConditionState
Three-valued state of a derived semantic condition.