18 registry.EnsureValid();
23 private static void AddWolseyMappings(
27 "Wolsey 2002 mapping consolidated by validated LotSizingDataModel historical milestones through alpha.32.";
29 AddExact(registry,
"WOLSEY-CAP-U",
"CAP=U",
30 new[] {
"Uncap:P" }, source);
32 AddExact(registry,
"WOLSEY-CAP-CC",
"CAP=CC",
33 new[] {
"Cap:P",
"TP:CapP=C" }, source);
35 AddExact(registry,
"WOLSEY-CAP-C",
"CAP=C",
36 new[] {
"Cap:P",
"Cap:Var" }, source);
38 AddExact(registry,
"WOLSEY-VAR-B",
"VAR=B",
39 new[] {
"BL" }, source);
41 AddExact(registry,
"WOLSEY-VAR-SC",
"VAR=SC",
42 new[] {
"SU" }, source);
44 AddExact(registry,
"WOLSEY-VAR-ST",
"VAR=ST",
45 new[] {
"SUT" }, source);
47 AddExact(registry,
"WOLSEY-VAR-ST-C",
"VAR=ST(C)",
48 new[] {
"SUT",
"TP:SUT=C" }, source);
50 AddExact(registry,
"WOLSEY-VAR-LB",
"VAR=LB",
51 new[] {
"MinLot" }, source);
53 AddExact(registry,
"WOLSEY-VAR-SS",
"VAR=SS",
54 new[] {
"SS" }, source);
56 AddExact(registry,
"WOLSEY-PROB-WW",
"PROB=WW",
57 new[] {
"Cost:NS" }, source);
59 AddExact(registry,
"WOLSEY-VAR-SL",
"VAR=SL",
60 new[] {
"SalesOption" }, source);
62 AddExact(registry,
"WOLSEY-SQT",
"SQT",
63 new[] {
"SDCT" }, source);
65 AddExact(registry,
"WOLSEY-SQC",
"SQC",
66 new[] {
"SDCC" }, source);
68 AddExact(registry,
"WOLSEY-SET",
"SET",
69 new[] {
"SetupTime" }, source);
71 AddConservative(registry,
"WOLSEY-SB1",
"SB1",
72 new[] {
"Scheduling:SB1" }, source);
74 AddConservative(registry,
"WOLSEY-SB2",
"SB2",
75 new[] {
"Scheduling:SB2" }, source);
77 AddConservative(registry,
"WOLSEY-BB",
"BB",
78 new[] {
"Scheduling:BB" }, source);
85 "Machine label retained from the source only; no automatic generic semantics are inferred.");
92 "Machine label retained from the source only; no automatic generic semantics are inferred.");
95 private static void AddExact(
96 HistoricalClassificationMappingRegistry registry,
98 string historicalToken,
99 IEnumerable<string> universalTokens,
103 new HistoricalMappingRule(
110 sourceReference: source));
113 private static void AddConservative(
114 HistoricalClassificationMappingRegistry registry,
116 string historicalToken,
117 IEnumerable<string> universalTokens,
121 new HistoricalMappingRule(
127 allowsInverse:
false,
128 sourceReference: source,
130 "Conservative projection; inverse detection is intentionally disabled."));
133 private static void AddSourceOnly(
134 HistoricalClassificationMappingRegistry registry,
136 string historicalToken,
141 new HistoricalMappingRule(
145 Array.Empty<
string>(),
147 allowsInverse:
false,
148 sourceReference: source,