Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Lrat.pb.cs
Go to the documentation of this file.
1// <auto-generated>
2// Generated by the protocol buffer compiler. DO NOT EDIT!
3// source: ortools/sat/lrat.proto
4// </auto-generated>
5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
13
15 public static partial class LratReflection {
16
17 #region Descriptor
19 public static pbr::FileDescriptor Descriptor {
20 get { return descriptor; }
21 }
22 private static pbr::FileDescriptor descriptor;
23
24 static LratReflection() {
25 byte[] descriptorData = global::System.Convert.FromBase64String(
26 string.Concat(
27 "ChZvcnRvb2xzL3NhdC9scmF0LnByb3RvEhdvcGVyYXRpb25zX3Jlc2VhcmNo",
28 "LnNhdCI9ChJMcmF0SW1wb3J0ZWRDbGF1c2USEQoJY2xhdXNlX2lkGAEgASgD",
29 "EhQKCGxpdGVyYWxzGAIgAygFQgIQASLkAQoSTHJhdEluZmVycmVkQ2xhdXNl",
30 "EhEKCWNsYXVzZV9pZBgBIAEoAxIUCghsaXRlcmFscxgCIAMoBUICEAESFAoI",
31 "dW5pdF9pZHMYAyADKANCAhABEkYKCXJhdF9pbmZvcxgEIAMoCzIzLm9wZXJh",
32 "dGlvbnNfcmVzZWFyY2guc2F0LkxyYXRJbmZlcnJlZENsYXVzZS5SYXRJbmZv",
33 "EhAKCGV4cG9ydGVkGAUgASgIGjUKB1JhdEluZm8SFAoMcmVzb2x2YW50X2lk",
34 "GAEgASgDEhQKCHVuaXRfaWRzGAIgAygDQgIQASI9ChJMcmF0RXhwb3J0ZWRD",
35 "bGF1c2USEQoJY2xhdXNlX2lkGAEgASgDEhQKCGxpdGVyYWxzGAIgAygFQgIQ",
36 "ASIsChJMcmF0RGVsZXRlZENsYXVzZXMSFgoKY2xhdXNlX2lkcxgBIAMoA0IC",
37 "EAEitwIKDUxyYXRQcm9vZlN0ZXASRgoPaW1wb3J0ZWRfY2xhdXNlGAEgASgL",
38 "Misub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTHJhdEltcG9ydGVkQ2xhdXNl",
39 "SAASRgoPaW5mZXJyZWRfY2xhdXNlGAIgASgLMisub3BlcmF0aW9uc19yZXNl",
40 "YXJjaC5zYXQuTHJhdEluZmVycmVkQ2xhdXNlSAASRgoPZXhwb3J0ZWRfY2xh",
41 "dXNlGAMgASgLMisub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTHJhdEV4cG9y",
42 "dGVkQ2xhdXNlSAASRgoPZGVsZXRlZF9jbGF1c2VzGAQgASgLMisub3BlcmF0",
43 "aW9uc19yZXNlYXJjaC5zYXQuTHJhdERlbGV0ZWRDbGF1c2VzSABCBgoEc3Rl",
44 "cA=="));
45 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
46 new pbr::FileDescriptor[] { },
47 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
48 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratImportedClause), global::OperationsResearch.Sat.LratImportedClause.Parser, new[]{ "ClauseId", "Literals" }, null, null, null, null),
49 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratInferredClause), global::OperationsResearch.Sat.LratInferredClause.Parser, new[]{ "ClauseId", "Literals", "UnitIds", "RatInfos", "Exported" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo), global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo.Parser, new[]{ "ResolvantId", "UnitIds" }, null, null, null, null)}),
50 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratExportedClause), global::OperationsResearch.Sat.LratExportedClause.Parser, new[]{ "ClauseId", "Literals" }, null, null, null, null),
51 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratDeletedClauses), global::OperationsResearch.Sat.LratDeletedClauses.Parser, new[]{ "ClauseIds" }, null, null, null, null),
52 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.Sat.LratProofStep), global::OperationsResearch.Sat.LratProofStep.Parser, new[]{ "ImportedClause", "InferredClause", "ExportedClause", "DeletedClauses" }, new[]{ "Step" }, null, null, null)
53 }));
54 }
55 #endregion
56
57 }
58 #region Messages
62 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
63 public sealed partial class LratImportedClause : pb::IMessage<LratImportedClause>
64 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
65 , pb::IBufferMessage
66 #endif
67 {
68 private static readonly pb::MessageParser<LratImportedClause> _parser = new pb::MessageParser<LratImportedClause>(() => new LratImportedClause());
69 private pb::UnknownFieldSet _unknownFields;
70 private int _hasBits0;
71 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
72 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
73 public static pb::MessageParser<LratImportedClause> Parser { get { return _parser; } }
74
75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
76 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
77 public static pbr::MessageDescriptor Descriptor {
78 get { return global::OperationsResearch.Sat.LratReflection.Descriptor.MessageTypes[0]; }
79 }
80
81 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
83 pbr::MessageDescriptor pb::IMessage.Descriptor {
84 get { return Descriptor; }
85 }
86
87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
90 OnConstruction();
91 }
92
93 partial void OnConstruction();
94
95 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
96 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
97 public LratImportedClause(LratImportedClause other) : this() {
98 _hasBits0 = other._hasBits0;
99 clauseId_ = other.clauseId_;
100 literals_ = other.literals_.Clone();
101 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
102 }
103
104 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
105 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
107 return new LratImportedClause(this);
108 }
109
111 public const int ClauseIdFieldNumber = 1;
112 private readonly static long ClauseIdDefaultValue = 0L;
113
114 private long clauseId_;
115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
116 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
117 public long ClauseId {
118 get { if ((_hasBits0 & 1) != 0) { return clauseId_; } else { return ClauseIdDefaultValue; } }
119 set {
120 _hasBits0 |= 1;
121 clauseId_ = value;
122 }
123 }
124
125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
126 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
127 public bool HasClauseId {
128 get { return (_hasBits0 & 1) != 0; }
129 }
130
131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
132 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
133 public void ClearClauseId() {
134 _hasBits0 &= ~1;
135 }
136
138 public const int LiteralsFieldNumber = 2;
139 private static readonly pb::FieldCodec<int> _repeated_literals_codec
140 = pb::FieldCodec.ForInt32(18);
141 private readonly pbc::RepeatedField<int> literals_ = new pbc::RepeatedField<int>();
142 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
143 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
144 public pbc::RepeatedField<int> Literals {
145 get { return literals_; }
146 }
147
148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
149 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
150 public override bool Equals(object other) {
151 return Equals(other as LratImportedClause);
152 }
153
154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
155 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
156 public bool Equals(LratImportedClause other) {
157 if (ReferenceEquals(other, null)) {
158 return false;
159 }
160 if (ReferenceEquals(other, this)) {
161 return true;
162 }
163 if (ClauseId != other.ClauseId) return false;
164 if(!literals_.Equals(other.literals_)) return false;
165 return Equals(_unknownFields, other._unknownFields);
166 }
167
168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
169 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
170 public override int GetHashCode() {
171 int hash = 1;
172 if (HasClauseId) hash ^= ClauseId.GetHashCode();
173 hash ^= literals_.GetHashCode();
174 if (_unknownFields != null) {
175 hash ^= _unknownFields.GetHashCode();
176 }
177 return hash;
178 }
179
180 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
181 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
182 public override string ToString() {
183 return pb::JsonFormatter.ToDiagnosticString(this);
184 }
185
186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
187 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
188 public void WriteTo(pb::CodedOutputStream output) {
189 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
190 output.WriteRawMessage(this);
191 #else
192 if (HasClauseId) {
193 output.WriteRawTag(8);
194 output.WriteInt64(ClauseId);
195 }
196 literals_.WriteTo(output, _repeated_literals_codec);
197 if (_unknownFields != null) {
198 _unknownFields.WriteTo(output);
199 }
200 #endif
201 }
202
203 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
205 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
206 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
207 if (HasClauseId) {
208 output.WriteRawTag(8);
209 output.WriteInt64(ClauseId);
210 }
211 literals_.WriteTo(ref output, _repeated_literals_codec);
212 if (_unknownFields != null) {
213 _unknownFields.WriteTo(ref output);
214 }
215 }
216 #endif
217
218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
219 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
220 public int CalculateSize() {
221 int size = 0;
222 if (HasClauseId) {
223 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ClauseId);
224 }
225 size += literals_.CalculateSize(_repeated_literals_codec);
226 if (_unknownFields != null) {
227 size += _unknownFields.CalculateSize();
228 }
229 return size;
230 }
231
232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
233 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
234 public void MergeFrom(LratImportedClause other) {
235 if (other == null) {
236 return;
237 }
238 if (other.HasClauseId) {
239 ClauseId = other.ClauseId;
240 }
241 literals_.Add(other.literals_);
242 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
243 }
244
245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
246 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
247 public void MergeFrom(pb::CodedInputStream input) {
248 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
249 input.ReadRawMessage(this);
250 #else
251 uint tag;
252 while ((tag = input.ReadTag()) != 0) {
253 if ((tag & 7) == 4) {
254 // Abort on any end group tag.
255 return;
256 }
257 switch(tag) {
258 default:
259 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
260 break;
261 case 8: {
262 ClauseId = input.ReadInt64();
263 break;
264 }
265 case 18:
266 case 16: {
267 literals_.AddEntriesFrom(input, _repeated_literals_codec);
268 break;
269 }
270 }
271 }
272 #endif
273 }
274
275 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
277 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
278 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
279 uint tag;
280 while ((tag = input.ReadTag()) != 0) {
281 if ((tag & 7) == 4) {
282 // Abort on any end group tag.
283 return;
284 }
285 switch(tag) {
286 default:
287 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
288 break;
289 case 8: {
290 ClauseId = input.ReadInt64();
291 break;
292 }
293 case 18:
294 case 16: {
295 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
296 break;
297 }
298 }
299 }
300 }
301 #endif
302
303 }
304
308 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
309 public sealed partial class LratInferredClause : pb::IMessage<LratInferredClause>
310 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
311 , pb::IBufferMessage
312 #endif
313 {
314 private static readonly pb::MessageParser<LratInferredClause> _parser = new pb::MessageParser<LratInferredClause>(() => new LratInferredClause());
315 private pb::UnknownFieldSet _unknownFields;
316 private int _hasBits0;
317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
318 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
319 public static pb::MessageParser<LratInferredClause> Parser { get { return _parser; } }
320
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
322 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
323 public static pbr::MessageDescriptor Descriptor {
324 get { return global::OperationsResearch.Sat.LratReflection.Descriptor.MessageTypes[1]; }
325 }
326
327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
328 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
329 pbr::MessageDescriptor pb::IMessage.Descriptor {
330 get { return Descriptor; }
331 }
332
333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
334 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
336 OnConstruction();
337 }
338
339 partial void OnConstruction();
340
341 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
342 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
343 public LratInferredClause(LratInferredClause other) : this() {
344 _hasBits0 = other._hasBits0;
345 clauseId_ = other.clauseId_;
346 literals_ = other.literals_.Clone();
347 unitIds_ = other.unitIds_.Clone();
348 ratInfos_ = other.ratInfos_.Clone();
349 exported_ = other.exported_;
350 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
351 }
352
353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
354 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
356 return new LratInferredClause(this);
357 }
358
360 public const int ClauseIdFieldNumber = 1;
361 private readonly static long ClauseIdDefaultValue = 0L;
362
363 private long clauseId_;
364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
366 public long ClauseId {
367 get { if ((_hasBits0 & 1) != 0) { return clauseId_; } else { return ClauseIdDefaultValue; } }
368 set {
369 _hasBits0 |= 1;
370 clauseId_ = value;
371 }
372 }
373
374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
375 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
376 public bool HasClauseId {
377 get { return (_hasBits0 & 1) != 0; }
378 }
379
380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
381 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
382 public void ClearClauseId() {
383 _hasBits0 &= ~1;
384 }
385
387 public const int LiteralsFieldNumber = 2;
388 private static readonly pb::FieldCodec<int> _repeated_literals_codec
389 = pb::FieldCodec.ForInt32(18);
390 private readonly pbc::RepeatedField<int> literals_ = new pbc::RepeatedField<int>();
394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
395 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
396 public pbc::RepeatedField<int> Literals {
397 get { return literals_; }
398 }
399
401 public const int UnitIdsFieldNumber = 3;
402 private static readonly pb::FieldCodec<long> _repeated_unitIds_codec
403 = pb::FieldCodec.ForInt64(26);
404 private readonly pbc::RepeatedField<long> unitIds_ = new pbc::RepeatedField<long>();
410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
412 public pbc::RepeatedField<long> UnitIds {
413 get { return unitIds_; }
414 }
415
417 public const int RatInfosFieldNumber = 4;
418 private static readonly pb::FieldCodec<global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo> _repeated_ratInfos_codec
419 = pb::FieldCodec.ForMessage(34, global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo.Parser);
420 private readonly pbc::RepeatedField<global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo> ratInfos_ = new pbc::RepeatedField<global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo>();
421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
422 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
423 public pbc::RepeatedField<global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo> RatInfos {
424 get { return ratInfos_; }
425 }
426
428 public const int ExportedFieldNumber = 5;
429 private readonly static bool ExportedDefaultValue = false;
430
431 private bool exported_;
437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
438 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
439 public bool Exported {
440 get { if ((_hasBits0 & 2) != 0) { return exported_; } else { return ExportedDefaultValue; } }
441 set {
442 _hasBits0 |= 2;
443 exported_ = value;
444 }
445 }
446
447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
448 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
449 public bool HasExported {
450 get { return (_hasBits0 & 2) != 0; }
451 }
452
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
455 public void ClearExported() {
456 _hasBits0 &= ~2;
457 }
458
459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
460 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
461 public override bool Equals(object other) {
462 return Equals(other as LratInferredClause);
463 }
464
465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
466 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
467 public bool Equals(LratInferredClause other) {
468 if (ReferenceEquals(other, null)) {
469 return false;
470 }
471 if (ReferenceEquals(other, this)) {
472 return true;
473 }
474 if (ClauseId != other.ClauseId) return false;
475 if(!literals_.Equals(other.literals_)) return false;
476 if(!unitIds_.Equals(other.unitIds_)) return false;
477 if(!ratInfos_.Equals(other.ratInfos_)) return false;
478 if (Exported != other.Exported) return false;
479 return Equals(_unknownFields, other._unknownFields);
480 }
481
482 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
483 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
484 public override int GetHashCode() {
485 int hash = 1;
486 if (HasClauseId) hash ^= ClauseId.GetHashCode();
487 hash ^= literals_.GetHashCode();
488 hash ^= unitIds_.GetHashCode();
489 hash ^= ratInfos_.GetHashCode();
490 if (HasExported) hash ^= Exported.GetHashCode();
491 if (_unknownFields != null) {
492 hash ^= _unknownFields.GetHashCode();
493 }
494 return hash;
495 }
496
497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
498 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
499 public override string ToString() {
500 return pb::JsonFormatter.ToDiagnosticString(this);
501 }
502
503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
504 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
505 public void WriteTo(pb::CodedOutputStream output) {
506 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
507 output.WriteRawMessage(this);
508 #else
509 if (HasClauseId) {
510 output.WriteRawTag(8);
511 output.WriteInt64(ClauseId);
512 }
513 literals_.WriteTo(output, _repeated_literals_codec);
514 unitIds_.WriteTo(output, _repeated_unitIds_codec);
515 ratInfos_.WriteTo(output, _repeated_ratInfos_codec);
516 if (HasExported) {
517 output.WriteRawTag(40);
518 output.WriteBool(Exported);
519 }
520 if (_unknownFields != null) {
521 _unknownFields.WriteTo(output);
522 }
523 #endif
524 }
525
526 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
528 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
529 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
530 if (HasClauseId) {
531 output.WriteRawTag(8);
532 output.WriteInt64(ClauseId);
533 }
534 literals_.WriteTo(ref output, _repeated_literals_codec);
535 unitIds_.WriteTo(ref output, _repeated_unitIds_codec);
536 ratInfos_.WriteTo(ref output, _repeated_ratInfos_codec);
537 if (HasExported) {
538 output.WriteRawTag(40);
539 output.WriteBool(Exported);
540 }
541 if (_unknownFields != null) {
542 _unknownFields.WriteTo(ref output);
543 }
544 }
545 #endif
546
547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
548 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
549 public int CalculateSize() {
550 int size = 0;
551 if (HasClauseId) {
552 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ClauseId);
553 }
554 size += literals_.CalculateSize(_repeated_literals_codec);
555 size += unitIds_.CalculateSize(_repeated_unitIds_codec);
556 size += ratInfos_.CalculateSize(_repeated_ratInfos_codec);
557 if (HasExported) {
558 size += 1 + 1;
559 }
560 if (_unknownFields != null) {
561 size += _unknownFields.CalculateSize();
562 }
563 return size;
564 }
565
566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
567 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
568 public void MergeFrom(LratInferredClause other) {
569 if (other == null) {
570 return;
571 }
572 if (other.HasClauseId) {
573 ClauseId = other.ClauseId;
574 }
575 literals_.Add(other.literals_);
576 unitIds_.Add(other.unitIds_);
577 ratInfos_.Add(other.ratInfos_);
578 if (other.HasExported) {
579 Exported = other.Exported;
580 }
581 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
582 }
583
584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
585 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
586 public void MergeFrom(pb::CodedInputStream input) {
587 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
588 input.ReadRawMessage(this);
589 #else
590 uint tag;
591 while ((tag = input.ReadTag()) != 0) {
592 if ((tag & 7) == 4) {
593 // Abort on any end group tag.
594 return;
595 }
596 switch(tag) {
597 default:
598 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
599 break;
600 case 8: {
601 ClauseId = input.ReadInt64();
602 break;
603 }
604 case 18:
605 case 16: {
606 literals_.AddEntriesFrom(input, _repeated_literals_codec);
607 break;
608 }
609 case 26:
610 case 24: {
611 unitIds_.AddEntriesFrom(input, _repeated_unitIds_codec);
612 break;
613 }
614 case 34: {
615 ratInfos_.AddEntriesFrom(input, _repeated_ratInfos_codec);
616 break;
617 }
618 case 40: {
619 Exported = input.ReadBool();
620 break;
621 }
622 }
623 }
624 #endif
625 }
626
627 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
629 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
630 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
631 uint tag;
632 while ((tag = input.ReadTag()) != 0) {
633 if ((tag & 7) == 4) {
634 // Abort on any end group tag.
635 return;
636 }
637 switch(tag) {
638 default:
639 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
640 break;
641 case 8: {
642 ClauseId = input.ReadInt64();
643 break;
644 }
645 case 18:
646 case 16: {
647 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
648 break;
649 }
650 case 26:
651 case 24: {
652 unitIds_.AddEntriesFrom(ref input, _repeated_unitIds_codec);
653 break;
654 }
655 case 34: {
656 ratInfos_.AddEntriesFrom(ref input, _repeated_ratInfos_codec);
657 break;
658 }
659 case 40: {
660 Exported = input.ReadBool();
661 break;
662 }
663 }
664 }
665 }
666 #endif
667
668 #region Nested types
670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
671 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
672 public static partial class Types {
684 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
685 public sealed partial class RatInfo : pb::IMessage<RatInfo>
686 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
687 , pb::IBufferMessage
688 #endif
689 {
690 private static readonly pb::MessageParser<RatInfo> _parser = new pb::MessageParser<RatInfo>(() => new RatInfo());
691 private pb::UnknownFieldSet _unknownFields;
692 private int _hasBits0;
693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
694 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
695 public static pb::MessageParser<RatInfo> Parser { get { return _parser; } }
696
697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
698 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
699 public static pbr::MessageDescriptor Descriptor {
700 get { return global::OperationsResearch.Sat.LratInferredClause.Descriptor.NestedTypes[0]; }
701 }
702
703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
704 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
705 pbr::MessageDescriptor pb::IMessage.Descriptor {
706 get { return Descriptor; }
707 }
708
709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
710 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
711 public RatInfo() {
712 OnConstruction();
713 }
714
715 partial void OnConstruction();
716
717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
718 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
719 public RatInfo(RatInfo other) : this() {
720 _hasBits0 = other._hasBits0;
721 resolvantId_ = other.resolvantId_;
722 unitIds_ = other.unitIds_.Clone();
723 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
724 }
725
726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
727 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
728 public RatInfo Clone() {
729 return new RatInfo(this);
730 }
731
733 public const int ResolvantIdFieldNumber = 1;
734 private readonly static long ResolvantIdDefaultValue = 0L;
735
736 private long resolvantId_;
737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
738 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
739 public long ResolvantId {
740 get { if ((_hasBits0 & 1) != 0) { return resolvantId_; } else { return ResolvantIdDefaultValue; } }
741 set {
742 _hasBits0 |= 1;
743 resolvantId_ = value;
744 }
745 }
746
747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
748 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
749 public bool HasResolvantId {
750 get { return (_hasBits0 & 1) != 0; }
751 }
752
753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
754 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
755 public void ClearResolvantId() {
756 _hasBits0 &= ~1;
757 }
758
760 public const int UnitIdsFieldNumber = 2;
761 private static readonly pb::FieldCodec<long> _repeated_unitIds_codec
762 = pb::FieldCodec.ForInt64(18);
763 private readonly pbc::RepeatedField<long> unitIds_ = new pbc::RepeatedField<long>();
764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
765 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
766 public pbc::RepeatedField<long> UnitIds {
767 get { return unitIds_; }
768 }
769
770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
771 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
772 public override bool Equals(object other) {
773 return Equals(other as RatInfo);
774 }
775
776 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
777 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
778 public bool Equals(RatInfo other) {
779 if (ReferenceEquals(other, null)) {
780 return false;
781 }
782 if (ReferenceEquals(other, this)) {
783 return true;
784 }
785 if (ResolvantId != other.ResolvantId) return false;
786 if(!unitIds_.Equals(other.unitIds_)) return false;
787 return Equals(_unknownFields, other._unknownFields);
788 }
789
790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
791 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
792 public override int GetHashCode() {
793 int hash = 1;
794 if (HasResolvantId) hash ^= ResolvantId.GetHashCode();
795 hash ^= unitIds_.GetHashCode();
796 if (_unknownFields != null) {
797 hash ^= _unknownFields.GetHashCode();
798 }
799 return hash;
800 }
801
802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
803 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
804 public override string ToString() {
805 return pb::JsonFormatter.ToDiagnosticString(this);
806 }
807
808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
809 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
810 public void WriteTo(pb::CodedOutputStream output) {
811 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
812 output.WriteRawMessage(this);
813 #else
814 if (HasResolvantId) {
815 output.WriteRawTag(8);
816 output.WriteInt64(ResolvantId);
817 }
818 unitIds_.WriteTo(output, _repeated_unitIds_codec);
819 if (_unknownFields != null) {
820 _unknownFields.WriteTo(output);
821 }
822 #endif
823 }
824
825 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
827 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
828 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
829 if (HasResolvantId) {
830 output.WriteRawTag(8);
831 output.WriteInt64(ResolvantId);
832 }
833 unitIds_.WriteTo(ref output, _repeated_unitIds_codec);
834 if (_unknownFields != null) {
835 _unknownFields.WriteTo(ref output);
836 }
837 }
838 #endif
839
840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
841 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
842 public int CalculateSize() {
843 int size = 0;
844 if (HasResolvantId) {
845 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ResolvantId);
846 }
847 size += unitIds_.CalculateSize(_repeated_unitIds_codec);
848 if (_unknownFields != null) {
849 size += _unknownFields.CalculateSize();
850 }
851 return size;
852 }
853
854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
855 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
856 public void MergeFrom(RatInfo other) {
857 if (other == null) {
858 return;
859 }
860 if (other.HasResolvantId) {
861 ResolvantId = other.ResolvantId;
862 }
863 unitIds_.Add(other.unitIds_);
864 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
865 }
866
867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
868 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
869 public void MergeFrom(pb::CodedInputStream input) {
870 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
871 input.ReadRawMessage(this);
872 #else
873 uint tag;
874 while ((tag = input.ReadTag()) != 0) {
875 if ((tag & 7) == 4) {
876 // Abort on any end group tag.
877 return;
878 }
879 switch(tag) {
880 default:
881 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
882 break;
883 case 8: {
884 ResolvantId = input.ReadInt64();
885 break;
886 }
887 case 18:
888 case 16: {
889 unitIds_.AddEntriesFrom(input, _repeated_unitIds_codec);
890 break;
891 }
892 }
893 }
894 #endif
895 }
896
897 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
899 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
900 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
901 uint tag;
902 while ((tag = input.ReadTag()) != 0) {
903 if ((tag & 7) == 4) {
904 // Abort on any end group tag.
905 return;
906 }
907 switch(tag) {
908 default:
909 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
910 break;
911 case 8: {
912 ResolvantId = input.ReadInt64();
913 break;
914 }
915 case 18:
916 case 16: {
917 unitIds_.AddEntriesFrom(ref input, _repeated_unitIds_codec);
918 break;
919 }
920 }
921 }
922 }
923 #endif
924
925 }
926
927 }
928 #endregion
929
930 }
931
936 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
937 public sealed partial class LratExportedClause : pb::IMessage<LratExportedClause>
938 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
939 , pb::IBufferMessage
940 #endif
941 {
942 private static readonly pb::MessageParser<LratExportedClause> _parser = new pb::MessageParser<LratExportedClause>(() => new LratExportedClause());
943 private pb::UnknownFieldSet _unknownFields;
944 private int _hasBits0;
945 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
946 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
947 public static pb::MessageParser<LratExportedClause> Parser { get { return _parser; } }
948
949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
950 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
951 public static pbr::MessageDescriptor Descriptor {
952 get { return global::OperationsResearch.Sat.LratReflection.Descriptor.MessageTypes[2]; }
953 }
954
955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
956 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
957 pbr::MessageDescriptor pb::IMessage.Descriptor {
958 get { return Descriptor; }
959 }
960
961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
962 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
964 OnConstruction();
965 }
966
967 partial void OnConstruction();
968
969 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
970 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
971 public LratExportedClause(LratExportedClause other) : this() {
972 _hasBits0 = other._hasBits0;
973 clauseId_ = other.clauseId_;
974 literals_ = other.literals_.Clone();
975 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
976 }
977
978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
979 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
981 return new LratExportedClause(this);
982 }
983
985 public const int ClauseIdFieldNumber = 1;
986 private readonly static long ClauseIdDefaultValue = 0L;
987
988 private long clauseId_;
989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
990 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
991 public long ClauseId {
992 get { if ((_hasBits0 & 1) != 0) { return clauseId_; } else { return ClauseIdDefaultValue; } }
993 set {
994 _hasBits0 |= 1;
995 clauseId_ = value;
996 }
997 }
998
999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1000 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1001 public bool HasClauseId {
1002 get { return (_hasBits0 & 1) != 0; }
1003 }
1004
1005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1006 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1007 public void ClearClauseId() {
1008 _hasBits0 &= ~1;
1009 }
1010
1012 public const int LiteralsFieldNumber = 2;
1013 private static readonly pb::FieldCodec<int> _repeated_literals_codec
1014 = pb::FieldCodec.ForInt32(18);
1015 private readonly pbc::RepeatedField<int> literals_ = new pbc::RepeatedField<int>();
1016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1017 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1018 public pbc::RepeatedField<int> Literals {
1019 get { return literals_; }
1020 }
1021
1022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1023 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1024 public override bool Equals(object other) {
1025 return Equals(other as LratExportedClause);
1026 }
1027
1028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1029 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1030 public bool Equals(LratExportedClause other) {
1031 if (ReferenceEquals(other, null)) {
1032 return false;
1033 }
1034 if (ReferenceEquals(other, this)) {
1035 return true;
1036 }
1037 if (ClauseId != other.ClauseId) return false;
1038 if(!literals_.Equals(other.literals_)) return false;
1039 return Equals(_unknownFields, other._unknownFields);
1040 }
1041
1042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1043 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1044 public override int GetHashCode() {
1045 int hash = 1;
1046 if (HasClauseId) hash ^= ClauseId.GetHashCode();
1047 hash ^= literals_.GetHashCode();
1048 if (_unknownFields != null) {
1049 hash ^= _unknownFields.GetHashCode();
1050 }
1051 return hash;
1052 }
1053
1054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1055 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1056 public override string ToString() {
1057 return pb::JsonFormatter.ToDiagnosticString(this);
1058 }
1059
1060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1061 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1062 public void WriteTo(pb::CodedOutputStream output) {
1063 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1064 output.WriteRawMessage(this);
1065 #else
1066 if (HasClauseId) {
1067 output.WriteRawTag(8);
1068 output.WriteInt64(ClauseId);
1069 }
1070 literals_.WriteTo(output, _repeated_literals_codec);
1071 if (_unknownFields != null) {
1072 _unknownFields.WriteTo(output);
1073 }
1074 #endif
1075 }
1076
1077 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1079 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1080 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1081 if (HasClauseId) {
1082 output.WriteRawTag(8);
1083 output.WriteInt64(ClauseId);
1084 }
1085 literals_.WriteTo(ref output, _repeated_literals_codec);
1086 if (_unknownFields != null) {
1087 _unknownFields.WriteTo(ref output);
1088 }
1089 }
1090 #endif
1091
1092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1093 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1094 public int CalculateSize() {
1095 int size = 0;
1096 if (HasClauseId) {
1097 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ClauseId);
1098 }
1099 size += literals_.CalculateSize(_repeated_literals_codec);
1100 if (_unknownFields != null) {
1101 size += _unknownFields.CalculateSize();
1102 }
1103 return size;
1104 }
1105
1106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1107 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1108 public void MergeFrom(LratExportedClause other) {
1109 if (other == null) {
1110 return;
1111 }
1112 if (other.HasClauseId) {
1113 ClauseId = other.ClauseId;
1114 }
1115 literals_.Add(other.literals_);
1116 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1117 }
1118
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1120 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1121 public void MergeFrom(pb::CodedInputStream input) {
1122 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1123 input.ReadRawMessage(this);
1124 #else
1125 uint tag;
1126 while ((tag = input.ReadTag()) != 0) {
1127 if ((tag & 7) == 4) {
1128 // Abort on any end group tag.
1129 return;
1130 }
1131 switch(tag) {
1132 default:
1133 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1134 break;
1135 case 8: {
1136 ClauseId = input.ReadInt64();
1137 break;
1138 }
1139 case 18:
1140 case 16: {
1141 literals_.AddEntriesFrom(input, _repeated_literals_codec);
1142 break;
1143 }
1144 }
1145 }
1146 #endif
1147 }
1148
1149 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1151 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1152 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1153 uint tag;
1154 while ((tag = input.ReadTag()) != 0) {
1155 if ((tag & 7) == 4) {
1156 // Abort on any end group tag.
1157 return;
1158 }
1159 switch(tag) {
1160 default:
1161 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1162 break;
1163 case 8: {
1164 ClauseId = input.ReadInt64();
1165 break;
1166 }
1167 case 18:
1168 case 16: {
1169 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
1170 break;
1171 }
1172 }
1173 }
1174 }
1175 #endif
1176
1177 }
1178
1182 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
1183 public sealed partial class LratDeletedClauses : pb::IMessage<LratDeletedClauses>
1184 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1185 , pb::IBufferMessage
1186 #endif
1187 {
1188 private static readonly pb::MessageParser<LratDeletedClauses> _parser = new pb::MessageParser<LratDeletedClauses>(() => new LratDeletedClauses());
1189 private pb::UnknownFieldSet _unknownFields;
1190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1191 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1192 public static pb::MessageParser<LratDeletedClauses> Parser { get { return _parser; } }
1193
1194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1195 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1196 public static pbr::MessageDescriptor Descriptor {
1197 get { return global::OperationsResearch.Sat.LratReflection.Descriptor.MessageTypes[3]; }
1198 }
1199
1200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1201 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1202 pbr::MessageDescriptor pb::IMessage.Descriptor {
1203 get { return Descriptor; }
1204 }
1205
1206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1207 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1209 OnConstruction();
1210 }
1211
1212 partial void OnConstruction();
1213
1214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1215 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1217 clauseIds_ = other.clauseIds_.Clone();
1218 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1219 }
1220
1221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1222 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1224 return new LratDeletedClauses(this);
1225 }
1226
1228 public const int ClauseIdsFieldNumber = 1;
1229 private static readonly pb::FieldCodec<long> _repeated_clauseIds_codec
1230 = pb::FieldCodec.ForInt64(10);
1231 private readonly pbc::RepeatedField<long> clauseIds_ = new pbc::RepeatedField<long>();
1236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1237 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1238 public pbc::RepeatedField<long> ClauseIds {
1239 get { return clauseIds_; }
1240 }
1241
1242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1243 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1244 public override bool Equals(object other) {
1245 return Equals(other as LratDeletedClauses);
1246 }
1247
1248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1249 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1250 public bool Equals(LratDeletedClauses other) {
1251 if (ReferenceEquals(other, null)) {
1252 return false;
1253 }
1254 if (ReferenceEquals(other, this)) {
1255 return true;
1256 }
1257 if(!clauseIds_.Equals(other.clauseIds_)) return false;
1258 return Equals(_unknownFields, other._unknownFields);
1259 }
1260
1261 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1262 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1263 public override int GetHashCode() {
1264 int hash = 1;
1265 hash ^= clauseIds_.GetHashCode();
1266 if (_unknownFields != null) {
1267 hash ^= _unknownFields.GetHashCode();
1268 }
1269 return hash;
1270 }
1271
1272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1273 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1274 public override string ToString() {
1275 return pb::JsonFormatter.ToDiagnosticString(this);
1276 }
1277
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1279 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1280 public void WriteTo(pb::CodedOutputStream output) {
1281 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1282 output.WriteRawMessage(this);
1283 #else
1284 clauseIds_.WriteTo(output, _repeated_clauseIds_codec);
1285 if (_unknownFields != null) {
1286 _unknownFields.WriteTo(output);
1287 }
1288 #endif
1289 }
1290
1291 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1292 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1293 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1294 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1295 clauseIds_.WriteTo(ref output, _repeated_clauseIds_codec);
1296 if (_unknownFields != null) {
1297 _unknownFields.WriteTo(ref output);
1298 }
1299 }
1300 #endif
1301
1302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1303 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1304 public int CalculateSize() {
1305 int size = 0;
1306 size += clauseIds_.CalculateSize(_repeated_clauseIds_codec);
1307 if (_unknownFields != null) {
1308 size += _unknownFields.CalculateSize();
1309 }
1310 return size;
1311 }
1312
1313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1314 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1315 public void MergeFrom(LratDeletedClauses other) {
1316 if (other == null) {
1317 return;
1318 }
1319 clauseIds_.Add(other.clauseIds_);
1320 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1321 }
1322
1323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1324 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1325 public void MergeFrom(pb::CodedInputStream input) {
1326 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1327 input.ReadRawMessage(this);
1328 #else
1329 uint tag;
1330 while ((tag = input.ReadTag()) != 0) {
1331 if ((tag & 7) == 4) {
1332 // Abort on any end group tag.
1333 return;
1334 }
1335 switch(tag) {
1336 default:
1337 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1338 break;
1339 case 10:
1340 case 8: {
1341 clauseIds_.AddEntriesFrom(input, _repeated_clauseIds_codec);
1342 break;
1343 }
1344 }
1345 }
1346 #endif
1347 }
1348
1349 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1351 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1352 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1353 uint tag;
1354 while ((tag = input.ReadTag()) != 0) {
1355 if ((tag & 7) == 4) {
1356 // Abort on any end group tag.
1357 return;
1358 }
1359 switch(tag) {
1360 default:
1361 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1362 break;
1363 case 10:
1364 case 8: {
1365 clauseIds_.AddEntriesFrom(ref input, _repeated_clauseIds_codec);
1366 break;
1367 }
1368 }
1369 }
1370 }
1371 #endif
1372
1373 }
1374
1383 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
1384 public sealed partial class LratProofStep : pb::IMessage<LratProofStep>
1385 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1386 , pb::IBufferMessage
1387 #endif
1388 {
1389 private static readonly pb::MessageParser<LratProofStep> _parser = new pb::MessageParser<LratProofStep>(() => new LratProofStep());
1390 private pb::UnknownFieldSet _unknownFields;
1391 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1392 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1393 public static pb::MessageParser<LratProofStep> Parser { get { return _parser; } }
1394
1395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1396 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1397 public static pbr::MessageDescriptor Descriptor {
1398 get { return global::OperationsResearch.Sat.LratReflection.Descriptor.MessageTypes[4]; }
1399 }
1400
1401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1402 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1403 pbr::MessageDescriptor pb::IMessage.Descriptor {
1404 get { return Descriptor; }
1405 }
1406
1407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1408 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1409 public LratProofStep() {
1410 OnConstruction();
1411 }
1412
1413 partial void OnConstruction();
1414
1415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1416 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1417 public LratProofStep(LratProofStep other) : this() {
1418 switch (other.StepCase) {
1419 case StepOneofCase.ImportedClause:
1420 ImportedClause = other.ImportedClause.Clone();
1421 break;
1422 case StepOneofCase.InferredClause:
1423 InferredClause = other.InferredClause.Clone();
1424 break;
1425 case StepOneofCase.ExportedClause:
1426 ExportedClause = other.ExportedClause.Clone();
1427 break;
1428 case StepOneofCase.DeletedClauses:
1429 DeletedClauses = other.DeletedClauses.Clone();
1430 break;
1431 }
1432
1433 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1434 }
1435
1436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1437 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1439 return new LratProofStep(this);
1440 }
1441
1443 public const int ImportedClauseFieldNumber = 1;
1444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1445 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1446 public global::OperationsResearch.Sat.LratImportedClause ImportedClause {
1447 get { return stepCase_ == StepOneofCase.ImportedClause ? (global::OperationsResearch.Sat.LratImportedClause) step_ : null; }
1448 set {
1449 step_ = value;
1450 stepCase_ = value == null ? StepOneofCase.None : StepOneofCase.ImportedClause;
1451 }
1452 }
1453
1455 public const int InferredClauseFieldNumber = 2;
1456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1457 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1458 public global::OperationsResearch.Sat.LratInferredClause InferredClause {
1459 get { return stepCase_ == StepOneofCase.InferredClause ? (global::OperationsResearch.Sat.LratInferredClause) step_ : null; }
1460 set {
1461 step_ = value;
1462 stepCase_ = value == null ? StepOneofCase.None : StepOneofCase.InferredClause;
1463 }
1464 }
1465
1467 public const int ExportedClauseFieldNumber = 3;
1468 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1469 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1470 public global::OperationsResearch.Sat.LratExportedClause ExportedClause {
1471 get { return stepCase_ == StepOneofCase.ExportedClause ? (global::OperationsResearch.Sat.LratExportedClause) step_ : null; }
1472 set {
1473 step_ = value;
1474 stepCase_ = value == null ? StepOneofCase.None : StepOneofCase.ExportedClause;
1475 }
1476 }
1477
1479 public const int DeletedClausesFieldNumber = 4;
1480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1481 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1482 public global::OperationsResearch.Sat.LratDeletedClauses DeletedClauses {
1483 get { return stepCase_ == StepOneofCase.DeletedClauses ? (global::OperationsResearch.Sat.LratDeletedClauses) step_ : null; }
1484 set {
1485 step_ = value;
1486 stepCase_ = value == null ? StepOneofCase.None : StepOneofCase.DeletedClauses;
1487 }
1488 }
1489
1490 private object step_;
1499 private StepOneofCase stepCase_ = StepOneofCase.None;
1500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1501 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1503 get { return stepCase_; }
1504 }
1505
1506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1507 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1508 public void ClearStep() {
1509 stepCase_ = StepOneofCase.None;
1510 step_ = null;
1511 }
1512
1513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1514 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1515 public override bool Equals(object other) {
1516 return Equals(other as LratProofStep);
1517 }
1518
1519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1520 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1521 public bool Equals(LratProofStep other) {
1522 if (ReferenceEquals(other, null)) {
1523 return false;
1524 }
1525 if (ReferenceEquals(other, this)) {
1526 return true;
1527 }
1528 if (!object.Equals(ImportedClause, other.ImportedClause)) return false;
1529 if (!object.Equals(InferredClause, other.InferredClause)) return false;
1530 if (!object.Equals(ExportedClause, other.ExportedClause)) return false;
1531 if (!object.Equals(DeletedClauses, other.DeletedClauses)) return false;
1532 if (StepCase != other.StepCase) return false;
1533 return Equals(_unknownFields, other._unknownFields);
1534 }
1535
1536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1537 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1538 public override int GetHashCode() {
1539 int hash = 1;
1540 if (stepCase_ == StepOneofCase.ImportedClause) hash ^= ImportedClause.GetHashCode();
1541 if (stepCase_ == StepOneofCase.InferredClause) hash ^= InferredClause.GetHashCode();
1542 if (stepCase_ == StepOneofCase.ExportedClause) hash ^= ExportedClause.GetHashCode();
1543 if (stepCase_ == StepOneofCase.DeletedClauses) hash ^= DeletedClauses.GetHashCode();
1544 hash ^= (int) stepCase_;
1545 if (_unknownFields != null) {
1546 hash ^= _unknownFields.GetHashCode();
1547 }
1548 return hash;
1549 }
1550
1551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1552 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1553 public override string ToString() {
1554 return pb::JsonFormatter.ToDiagnosticString(this);
1555 }
1556
1557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1558 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1559 public void WriteTo(pb::CodedOutputStream output) {
1560 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1561 output.WriteRawMessage(this);
1562 #else
1563 if (stepCase_ == StepOneofCase.ImportedClause) {
1564 output.WriteRawTag(10);
1565 output.WriteMessage(ImportedClause);
1566 }
1567 if (stepCase_ == StepOneofCase.InferredClause) {
1568 output.WriteRawTag(18);
1569 output.WriteMessage(InferredClause);
1570 }
1571 if (stepCase_ == StepOneofCase.ExportedClause) {
1572 output.WriteRawTag(26);
1573 output.WriteMessage(ExportedClause);
1574 }
1575 if (stepCase_ == StepOneofCase.DeletedClauses) {
1576 output.WriteRawTag(34);
1577 output.WriteMessage(DeletedClauses);
1578 }
1579 if (_unknownFields != null) {
1580 _unknownFields.WriteTo(output);
1581 }
1582 #endif
1583 }
1584
1585 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1587 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1588 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1589 if (stepCase_ == StepOneofCase.ImportedClause) {
1590 output.WriteRawTag(10);
1591 output.WriteMessage(ImportedClause);
1592 }
1593 if (stepCase_ == StepOneofCase.InferredClause) {
1594 output.WriteRawTag(18);
1595 output.WriteMessage(InferredClause);
1596 }
1597 if (stepCase_ == StepOneofCase.ExportedClause) {
1598 output.WriteRawTag(26);
1599 output.WriteMessage(ExportedClause);
1600 }
1601 if (stepCase_ == StepOneofCase.DeletedClauses) {
1602 output.WriteRawTag(34);
1603 output.WriteMessage(DeletedClauses);
1604 }
1605 if (_unknownFields != null) {
1606 _unknownFields.WriteTo(ref output);
1607 }
1608 }
1609 #endif
1610
1611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1612 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1613 public int CalculateSize() {
1614 int size = 0;
1615 if (stepCase_ == StepOneofCase.ImportedClause) {
1616 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ImportedClause);
1617 }
1618 if (stepCase_ == StepOneofCase.InferredClause) {
1619 size += 1 + pb::CodedOutputStream.ComputeMessageSize(InferredClause);
1620 }
1621 if (stepCase_ == StepOneofCase.ExportedClause) {
1622 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExportedClause);
1623 }
1624 if (stepCase_ == StepOneofCase.DeletedClauses) {
1625 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeletedClauses);
1626 }
1627 if (_unknownFields != null) {
1628 size += _unknownFields.CalculateSize();
1629 }
1630 return size;
1631 }
1632
1633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1634 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1635 public void MergeFrom(LratProofStep other) {
1636 if (other == null) {
1637 return;
1638 }
1639 switch (other.StepCase) {
1640 case StepOneofCase.ImportedClause:
1641 if (ImportedClause == null) {
1642 ImportedClause = new global::OperationsResearch.Sat.LratImportedClause();
1643 }
1644 ImportedClause.MergeFrom(other.ImportedClause);
1645 break;
1646 case StepOneofCase.InferredClause:
1647 if (InferredClause == null) {
1648 InferredClause = new global::OperationsResearch.Sat.LratInferredClause();
1649 }
1650 InferredClause.MergeFrom(other.InferredClause);
1651 break;
1652 case StepOneofCase.ExportedClause:
1653 if (ExportedClause == null) {
1654 ExportedClause = new global::OperationsResearch.Sat.LratExportedClause();
1655 }
1656 ExportedClause.MergeFrom(other.ExportedClause);
1657 break;
1658 case StepOneofCase.DeletedClauses:
1659 if (DeletedClauses == null) {
1660 DeletedClauses = new global::OperationsResearch.Sat.LratDeletedClauses();
1661 }
1662 DeletedClauses.MergeFrom(other.DeletedClauses);
1663 break;
1664 }
1665
1666 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1667 }
1668
1669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1670 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1671 public void MergeFrom(pb::CodedInputStream input) {
1672 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1673 input.ReadRawMessage(this);
1674 #else
1675 uint tag;
1676 while ((tag = input.ReadTag()) != 0) {
1677 if ((tag & 7) == 4) {
1678 // Abort on any end group tag.
1679 return;
1680 }
1681 switch(tag) {
1682 default:
1683 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1684 break;
1685 case 10: {
1686 global::OperationsResearch.Sat.LratImportedClause subBuilder = new global::OperationsResearch.Sat.LratImportedClause();
1687 if (stepCase_ == StepOneofCase.ImportedClause) {
1688 subBuilder.MergeFrom(ImportedClause);
1689 }
1690 input.ReadMessage(subBuilder);
1691 ImportedClause = subBuilder;
1692 break;
1693 }
1694 case 18: {
1695 global::OperationsResearch.Sat.LratInferredClause subBuilder = new global::OperationsResearch.Sat.LratInferredClause();
1696 if (stepCase_ == StepOneofCase.InferredClause) {
1697 subBuilder.MergeFrom(InferredClause);
1698 }
1699 input.ReadMessage(subBuilder);
1700 InferredClause = subBuilder;
1701 break;
1702 }
1703 case 26: {
1704 global::OperationsResearch.Sat.LratExportedClause subBuilder = new global::OperationsResearch.Sat.LratExportedClause();
1705 if (stepCase_ == StepOneofCase.ExportedClause) {
1706 subBuilder.MergeFrom(ExportedClause);
1707 }
1708 input.ReadMessage(subBuilder);
1709 ExportedClause = subBuilder;
1710 break;
1711 }
1712 case 34: {
1713 global::OperationsResearch.Sat.LratDeletedClauses subBuilder = new global::OperationsResearch.Sat.LratDeletedClauses();
1714 if (stepCase_ == StepOneofCase.DeletedClauses) {
1715 subBuilder.MergeFrom(DeletedClauses);
1716 }
1717 input.ReadMessage(subBuilder);
1718 DeletedClauses = subBuilder;
1719 break;
1720 }
1721 }
1722 }
1723 #endif
1724 }
1725
1726 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1728 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1729 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1730 uint tag;
1731 while ((tag = input.ReadTag()) != 0) {
1732 if ((tag & 7) == 4) {
1733 // Abort on any end group tag.
1734 return;
1735 }
1736 switch(tag) {
1737 default:
1738 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1739 break;
1740 case 10: {
1741 global::OperationsResearch.Sat.LratImportedClause subBuilder = new global::OperationsResearch.Sat.LratImportedClause();
1742 if (stepCase_ == StepOneofCase.ImportedClause) {
1743 subBuilder.MergeFrom(ImportedClause);
1744 }
1745 input.ReadMessage(subBuilder);
1746 ImportedClause = subBuilder;
1747 break;
1748 }
1749 case 18: {
1750 global::OperationsResearch.Sat.LratInferredClause subBuilder = new global::OperationsResearch.Sat.LratInferredClause();
1751 if (stepCase_ == StepOneofCase.InferredClause) {
1752 subBuilder.MergeFrom(InferredClause);
1753 }
1754 input.ReadMessage(subBuilder);
1755 InferredClause = subBuilder;
1756 break;
1757 }
1758 case 26: {
1759 global::OperationsResearch.Sat.LratExportedClause subBuilder = new global::OperationsResearch.Sat.LratExportedClause();
1760 if (stepCase_ == StepOneofCase.ExportedClause) {
1761 subBuilder.MergeFrom(ExportedClause);
1762 }
1763 input.ReadMessage(subBuilder);
1764 ExportedClause = subBuilder;
1765 break;
1766 }
1767 case 34: {
1768 global::OperationsResearch.Sat.LratDeletedClauses subBuilder = new global::OperationsResearch.Sat.LratDeletedClauses();
1769 if (stepCase_ == StepOneofCase.DeletedClauses) {
1770 subBuilder.MergeFrom(DeletedClauses);
1771 }
1772 input.ReadMessage(subBuilder);
1773 DeletedClauses = subBuilder;
1774 break;
1775 }
1776 }
1777 }
1778 }
1779 #endif
1780
1781 }
1782
1783 #endregion
1784
1785}
1786
1787#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
A list of clauses to delete.
Definition Lrat.pb.cs:1187
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:1325
void MergeFrom(LratDeletedClauses other)
Definition Lrat.pb.cs:1315
pbc::RepeatedField< long > ClauseIds
IDs of the imported or inferred clauses to delete. A deleted clause can no longer be used to infer cl...
Definition Lrat.pb.cs:1238
bool Equals(LratDeletedClauses other)
Definition Lrat.pb.cs:1250
const int ClauseIdsFieldNumber
Field number for the "clause_ids" field.
Definition Lrat.pb.cs:1228
override bool Equals(object other)
Definition Lrat.pb.cs:1244
LratDeletedClauses(LratDeletedClauses other)
Definition Lrat.pb.cs:1216
static pbr::MessageDescriptor Descriptor
Definition Lrat.pb.cs:1196
static pb::MessageParser< LratDeletedClauses > Parser
Definition Lrat.pb.cs:1192
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:1280
A clause to export, so that it can be imported from any worker. This is not needed for unary and bina...
Definition Lrat.pb.cs:941
void ClearClauseId()
Clears the value of the "clause_id" field.
Definition Lrat.pb.cs:1007
const int LiteralsFieldNumber
Field number for the "literals" field.
Definition Lrat.pb.cs:1012
static pb::MessageParser< LratExportedClause > Parser
Definition Lrat.pb.cs:947
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:1121
static pbr::MessageDescriptor Descriptor
Definition Lrat.pb.cs:951
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:1062
override bool Equals(object other)
Definition Lrat.pb.cs:1024
bool Equals(LratExportedClause other)
Definition Lrat.pb.cs:1030
bool HasClauseId
Gets whether the "clause_id" field is set.
Definition Lrat.pb.cs:1001
LratExportedClause(LratExportedClause other)
Definition Lrat.pb.cs:971
const int ClauseIdFieldNumber
Field number for the "clause_id" field.
Definition Lrat.pb.cs:985
void MergeFrom(LratExportedClause other)
Definition Lrat.pb.cs:1108
pbc::RepeatedField< int > Literals
Definition Lrat.pb.cs:1018
A clause imported from the input problem, or from another worker.
Definition Lrat.pb.cs:67
LratImportedClause(LratImportedClause other)
Definition Lrat.pb.cs:97
bool Equals(LratImportedClause other)
Definition Lrat.pb.cs:156
static pbr::MessageDescriptor Descriptor
Definition Lrat.pb.cs:77
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:247
void ClearClauseId()
Clears the value of the "clause_id" field.
Definition Lrat.pb.cs:133
const int ClauseIdFieldNumber
Field number for the "clause_id" field.
Definition Lrat.pb.cs:111
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:188
pbc::RepeatedField< int > Literals
Definition Lrat.pb.cs:144
static pb::MessageParser< LratImportedClause > Parser
Definition Lrat.pb.cs:73
void MergeFrom(LratImportedClause other)
Definition Lrat.pb.cs:234
override bool Equals(object other)
Definition Lrat.pb.cs:150
const int LiteralsFieldNumber
Field number for the "literals" field.
Definition Lrat.pb.cs:138
bool HasClauseId
Gets whether the "clause_id" field is set.
Definition Lrat.pb.cs:127
If rat_infos is empty, the last unit_ids clause must become empty after unit propagation....
Definition Lrat.pb.cs:689
void ClearResolvantId()
Clears the value of the "resolvant_id" field.
Definition Lrat.pb.cs:755
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:810
const int ResolvantIdFieldNumber
Field number for the "resolvant_id" field.
Definition Lrat.pb.cs:733
static pb::MessageParser< RatInfo > Parser
Definition Lrat.pb.cs:695
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:869
bool HasResolvantId
Gets whether the "resolvant_id" field is set.
Definition Lrat.pb.cs:749
const int UnitIdsFieldNumber
Field number for the "unit_ids" field.
Definition Lrat.pb.cs:760
Container for nested types declared in the LratInferredClause message type.
Definition Lrat.pb.cs:672
const int ClauseIdFieldNumber
Field number for the "clause_id" field.
Definition Lrat.pb.cs:360
const int RatInfosFieldNumber
Field number for the "rat_infos" field.
Definition Lrat.pb.cs:417
LratInferredClause(LratInferredClause other)
Definition Lrat.pb.cs:343
pbc::RepeatedField< global::OperationsResearch.Sat.LratInferredClause.Types.RatInfo > RatInfos
Definition Lrat.pb.cs:423
bool HasExported
Gets whether the "exported" field is set.
Definition Lrat.pb.cs:449
void MergeFrom(LratInferredClause other)
Definition Lrat.pb.cs:568
static pbr::MessageDescriptor Descriptor
Definition Lrat.pb.cs:323
static pb::MessageParser< LratInferredClause > Parser
Definition Lrat.pb.cs:319
pbc::RepeatedField< long > UnitIds
Clauses which become unit and possibly empty if all the literals are assumed to be false (verificatio...
Definition Lrat.pb.cs:412
const int UnitIdsFieldNumber
Field number for the "unit_ids" field.
Definition Lrat.pb.cs:401
pbc::RepeatedField< int > Literals
Literals are represented with LiteralIndex values.
Definition Lrat.pb.cs:396
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:505
bool HasClauseId
Gets whether the "clause_id" field is set.
Definition Lrat.pb.cs:376
void ClearClauseId()
Clears the value of the "clause_id" field.
Definition Lrat.pb.cs:382
void ClearExported()
Clears the value of the "exported" field.
Definition Lrat.pb.cs:455
bool Equals(LratInferredClause other)
Definition Lrat.pb.cs:467
const int ExportedFieldNumber
Field number for the "exported" field.
Definition Lrat.pb.cs:428
override bool Equals(object other)
Definition Lrat.pb.cs:461
const int LiteralsFieldNumber
Field number for the "literals" field.
Definition Lrat.pb.cs:387
bool Exported
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported...
Definition Lrat.pb.cs:439
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:586
bool Equals(LratProofStep other)
Definition Lrat.pb.cs:1521
global::OperationsResearch.Sat.LratInferredClause InferredClause
Definition Lrat.pb.cs:1458
StepOneofCase
Enum of possible cases for the "step" oneof.
Definition Lrat.pb.cs:1492
override bool Equals(object other)
Definition Lrat.pb.cs:1515
const int ExportedClauseFieldNumber
Field number for the "exported_clause" field.
Definition Lrat.pb.cs:1467
LratProofStep(LratProofStep other)
Definition Lrat.pb.cs:1417
global::OperationsResearch.Sat.LratExportedClause ExportedClause
Definition Lrat.pb.cs:1470
const int InferredClauseFieldNumber
Field number for the "inferred_clause" field.
Definition Lrat.pb.cs:1455
global::OperationsResearch.Sat.LratDeletedClauses DeletedClauses
Definition Lrat.pb.cs:1482
void MergeFrom(LratProofStep other)
Definition Lrat.pb.cs:1635
const int DeletedClausesFieldNumber
Field number for the "deleted_clauses" field.
Definition Lrat.pb.cs:1479
static pbr::MessageDescriptor Descriptor
Definition Lrat.pb.cs:1397
const int ImportedClauseFieldNumber
Field number for the "imported_clause" field.
Definition Lrat.pb.cs:1443
global::OperationsResearch.Sat.LratImportedClause ImportedClause
Definition Lrat.pb.cs:1446
void WriteTo(pb::CodedOutputStream output)
Definition Lrat.pb.cs:1559
static pb::MessageParser< LratProofStep > Parser
Definition Lrat.pb.cs:1393
void MergeFrom(pb::CodedInputStream input)
Definition Lrat.pb.cs:1671
Holder for reflection information generated from ortools/sat/lrat.proto.
Definition Lrat.pb.cs:15
static pbr::FileDescriptor Descriptor
File descriptor for ortools/sat/lrat.proto.
Definition Lrat.pb.cs:19