20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CixvcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3NlYXJjaF9zdGF0cy5wcm90",
28 "bxITb3BlcmF0aW9uc19yZXNlYXJjaCL0BgoVTG9jYWxTZWFyY2hTdGF0aXN0",
29 "aWNzEmUKGWZpcnN0X3NvbHV0aW9uX3N0YXRpc3RpY3MYBiADKAsyQi5vcGVy",
30 "YXRpb25zX3Jlc2VhcmNoLkxvY2FsU2VhcmNoU3RhdGlzdGljcy5GaXJzdFNv",
31 "bHV0aW9uU3RhdGlzdGljcxJyCiBsb2NhbF9zZWFyY2hfb3BlcmF0b3Jfc3Rh",
32 "dGlzdGljcxgBIAMoCzJILm9wZXJhdGlvbnNfcmVzZWFyY2guTG9jYWxTZWFy",
33 "Y2hTdGF0aXN0aWNzLkxvY2FsU2VhcmNoT3BlcmF0b3JTdGF0aXN0aWNzEhsK",
34 "E3RvdGFsX251bV9uZWlnaGJvcnMYAyABKAMSJAocdG90YWxfbnVtX2ZpbHRl",
35 "cmVkX25laWdoYm9ycxgEIAEoAxIkChx0b3RhbF9udW1fYWNjZXB0ZWRfbmVp",
36 "Z2hib3JzGAUgASgDEm4KHmxvY2FsX3NlYXJjaF9maWx0ZXJfc3RhdGlzdGlj",
37 "cxgCIAMoCzJGLm9wZXJhdGlvbnNfcmVzZWFyY2guTG9jYWxTZWFyY2hTdGF0",
38 "aXN0aWNzLkxvY2FsU2VhcmNoRmlsdGVyU3RhdGlzdGljcxpFChdGaXJzdFNv",
39 "bHV0aW9uU3RhdGlzdGljcxIQCghzdHJhdGVneRgBIAEoCRIYChBkdXJhdGlv",
40 "bl9zZWNvbmRzGAIgASgBGq8BCh1Mb2NhbFNlYXJjaE9wZXJhdG9yU3RhdGlz",
41 "dGljcxIdChVsb2NhbF9zZWFyY2hfb3BlcmF0b3IYASABKAkSFQoNbnVtX25l",
42 "aWdoYm9ycxgCIAEoAxIeChZudW1fZmlsdGVyZWRfbmVpZ2hib3JzGAMgASgD",
43 "Eh4KFm51bV9hY2NlcHRlZF9uZWlnaGJvcnMYBCABKAMSGAoQZHVyYXRpb25f",
44 "c2Vjb25kcxgFIAEoARqtAQobTG9jYWxTZWFyY2hGaWx0ZXJTdGF0aXN0aWNz",
45 "EhsKE2xvY2FsX3NlYXJjaF9maWx0ZXIYASABKAkSEQoJbnVtX2NhbGxzGAIg",
46 "ASgDEhMKC251bV9yZWplY3RzGAMgASgDEhgKEGR1cmF0aW9uX3NlY29uZHMY",
47 "BCABKAESHgoWbnVtX3JlamVjdHNfcGVyX3NlY29uZBgFIAEoARIPCgdjb250",
48 "ZXh0GAYgASgJIo0BChpDb25zdHJhaW50U29sdmVyU3RhdGlzdGljcxIUCgxu",
49 "dW1fYnJhbmNoZXMYASABKAMSFAoMbnVtX2ZhaWx1cmVzGAIgASgDEhUKDW51",
50 "bV9zb2x1dGlvbnMYAyABKAMSEgoKYnl0ZXNfdXNlZBgEIAEoAxIYChBkdXJh",
51 "dGlvbl9zZWNvbmRzGAUgASgBIrYBChBTZWFyY2hTdGF0aXN0aWNzEksKF2xv",
52 "Y2FsX3NlYXJjaF9zdGF0aXN0aWNzGAEgASgLMioub3BlcmF0aW9uc19yZXNl",
53 "YXJjaC5Mb2NhbFNlYXJjaFN0YXRpc3RpY3MSVQocY29uc3RyYWludF9zb2x2",
54 "ZXJfc3RhdGlzdGljcxgCIAEoCzIvLm9wZXJhdGlvbnNfcmVzZWFyY2guQ29u",
55 "c3RyYWludFNvbHZlclN0YXRpc3RpY3NCSQojY29tLmdvb2dsZS5vcnRvb2xz",
56 "LmNvbnN0cmFpbnRzb2x2ZXJQAaoCH0dvb2dsZS5PclRvb2xzLkNvbnN0cmFp",
57 "bnRTb2x2ZXJiBnByb3RvMw=="));
58 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
59 new pbr::FileDescriptor[] { },
60 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
61 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchStatistics), global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Parser,
new[]{
"FirstSolutionStatistics",
"LocalSearchOperatorStatistics",
"TotalNumNeighbors",
"TotalNumFilteredNeighbors",
"TotalNumAcceptedNeighbors",
"LocalSearchFilterStatistics" },
null,
null,
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics), global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics.Parser, new[]{
"Strategy",
"DurationSeconds" },
null,
null,
null,
null),
62 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics), global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics.Parser,
new[]{
"LocalSearchOperator",
"NumNeighbors",
"NumFilteredNeighbors",
"NumAcceptedNeighbors",
"DurationSeconds" },
null,
null,
null,
null),
63 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics), global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics.Parser,
new[]{
"LocalSearchFilter",
"NumCalls",
"NumRejects",
"DurationSeconds",
"NumRejectsPerSecond",
"Context" },
null,
null,
null,
null)}),
64 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.ConstraintSolverStatistics), global::Google.OrTools.ConstraintSolver.ConstraintSolverStatistics.Parser,
new[]{
"NumBranches",
"NumFailures",
"NumSolutions",
"BytesUsed",
"DurationSeconds" },
null,
null,
null,
null),
65 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.SearchStatistics), global::Google.OrTools.ConstraintSolver.SearchStatistics.Parser,
new[]{
"LocalSearchStatistics",
"ConstraintSolverStatistics" },
null,
null,
null,
null)
77 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
81 private static readonly pb::MessageParser<LocalSearchStatistics> _parser =
new pb::MessageParser<LocalSearchStatistics>(() =>
new LocalSearchStatistics());
82 private pb::UnknownFieldSet _unknownFields;
83 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
84 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
85 public static pb::MessageParser<LocalSearchStatistics> Parser {
get {
return _parser; } }
87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
89 public static pbr::MessageDescriptor Descriptor {
90 get {
return global::Google.OrTools.ConstraintSolver.SearchStatsReflection.Descriptor.MessageTypes[0]; }
93 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
94 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
95 pbr::MessageDescriptor pb::IMessage.Descriptor {
96 get {
return Descriptor; }
99 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
100 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
105 partial
void OnConstruction();
107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
108 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
110 firstSolutionStatistics_ = other.firstSolutionStatistics_.Clone();
111 localSearchOperatorStatistics_ = other.localSearchOperatorStatistics_.Clone();
112 totalNumNeighbors_ = other.totalNumNeighbors_;
113 totalNumFilteredNeighbors_ = other.totalNumFilteredNeighbors_;
114 totalNumAcceptedNeighbors_ = other.totalNumAcceptedNeighbors_;
115 localSearchFilterStatistics_ = other.localSearchFilterStatistics_.Clone();
116 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
126 public const int FirstSolutionStatisticsFieldNumber = 6;
127 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.
LocalSearchStatistics.Types.FirstSolutionStatistics> _repeated_firstSolutionStatistics_codec
128 = pb::FieldCodec.ForMessage(50, global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics.Parser);
129 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics> firstSolutionStatistics_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics>();
133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
135 public pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.FirstSolutionStatistics> FirstSolutionStatistics {
136 get { return firstSolutionStatistics_; }
140 public const int LocalSearchOperatorStatisticsFieldNumber = 1;
141 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics> _repeated_localSearchOperatorStatistics_codec
142 = pb::FieldCodec.ForMessage(10, global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics.Parser);
143 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics> localSearchOperatorStatistics_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics>();
147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
148 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
149 public pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchOperatorStatistics> LocalSearchOperatorStatistics {
150 get { return localSearchOperatorStatistics_; }
154 public const int TotalNumNeighborsFieldNumber = 3;
155 private long totalNumNeighbors_;
159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
160 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
161 public long TotalNumNeighbors {
162 get {
return totalNumNeighbors_; }
164 totalNumNeighbors_ = value;
169 public const int TotalNumFilteredNeighborsFieldNumber = 4;
170 private long totalNumFilteredNeighbors_;
171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
172 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
173 public long TotalNumFilteredNeighbors {
174 get {
return totalNumFilteredNeighbors_; }
176 totalNumFilteredNeighbors_ = value;
181 public const int TotalNumAcceptedNeighborsFieldNumber = 5;
182 private long totalNumAcceptedNeighbors_;
183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
184 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
185 public long TotalNumAcceptedNeighbors {
186 get {
return totalNumAcceptedNeighbors_; }
188 totalNumAcceptedNeighbors_ = value;
193 public const int LocalSearchFilterStatisticsFieldNumber = 2;
194 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics> _repeated_localSearchFilterStatistics_codec
195 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics.Parser);
196 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics> localSearchFilterStatistics_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics>();
200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
202 public pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Types.LocalSearchFilterStatistics> LocalSearchFilterStatistics {
203 get { return localSearchFilterStatistics_; }
206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
207 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
208 public override bool Equals(
object other) {
212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
213 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
215 if (ReferenceEquals(other,
null)) {
218 if (ReferenceEquals(other,
this)) {
221 if(!firstSolutionStatistics_.Equals(other.firstSolutionStatistics_))
return false;
222 if(!localSearchOperatorStatistics_.Equals(other.localSearchOperatorStatistics_))
return false;
226 if(!localSearchFilterStatistics_.Equals(other.localSearchFilterStatistics_))
return false;
227 return Equals(_unknownFields, other._unknownFields);
230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
231 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
234 hash ^= firstSolutionStatistics_.GetHashCode();
235 hash ^= localSearchOperatorStatistics_.GetHashCode();
236 if (TotalNumNeighbors != 0L) hash ^= TotalNumNeighbors.GetHashCode();
237 if (TotalNumFilteredNeighbors != 0L) hash ^= TotalNumFilteredNeighbors.GetHashCode();
238 if (TotalNumAcceptedNeighbors != 0L) hash ^= TotalNumAcceptedNeighbors.GetHashCode();
239 hash ^= localSearchFilterStatistics_.GetHashCode();
240 if (_unknownFields !=
null) {
241 hash ^= _unknownFields.GetHashCode();
246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
249 return pb::JsonFormatter.ToDiagnosticString(
this);
252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
253 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
254 public void WriteTo(pb::CodedOutputStream output) {
255 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
256 output.WriteRawMessage(
this);
258 localSearchOperatorStatistics_.WriteTo(output, _repeated_localSearchOperatorStatistics_codec);
259 localSearchFilterStatistics_.WriteTo(output, _repeated_localSearchFilterStatistics_codec);
260 if (TotalNumNeighbors != 0L) {
261 output.WriteRawTag(24);
262 output.WriteInt64(TotalNumNeighbors);
264 if (TotalNumFilteredNeighbors != 0L) {
265 output.WriteRawTag(32);
266 output.WriteInt64(TotalNumFilteredNeighbors);
268 if (TotalNumAcceptedNeighbors != 0L) {
269 output.WriteRawTag(40);
270 output.WriteInt64(TotalNumAcceptedNeighbors);
272 firstSolutionStatistics_.WriteTo(output, _repeated_firstSolutionStatistics_codec);
273 if (_unknownFields !=
null) {
274 _unknownFields.WriteTo(output);
279 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
280 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
281 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
282 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
283 localSearchOperatorStatistics_.WriteTo(ref output, _repeated_localSearchOperatorStatistics_codec);
284 localSearchFilterStatistics_.WriteTo(ref output, _repeated_localSearchFilterStatistics_codec);
285 if (TotalNumNeighbors != 0L) {
286 output.WriteRawTag(24);
287 output.WriteInt64(TotalNumNeighbors);
289 if (TotalNumFilteredNeighbors != 0L) {
290 output.WriteRawTag(32);
291 output.WriteInt64(TotalNumFilteredNeighbors);
293 if (TotalNumAcceptedNeighbors != 0L) {
294 output.WriteRawTag(40);
295 output.WriteInt64(TotalNumAcceptedNeighbors);
297 firstSolutionStatistics_.WriteTo(ref output, _repeated_firstSolutionStatistics_codec);
298 if (_unknownFields !=
null) {
299 _unknownFields.WriteTo(ref output);
304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
305 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
308 size += firstSolutionStatistics_.CalculateSize(_repeated_firstSolutionStatistics_codec);
309 size += localSearchOperatorStatistics_.CalculateSize(_repeated_localSearchOperatorStatistics_codec);
310 if (TotalNumNeighbors != 0L) {
311 size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalNumNeighbors);
313 if (TotalNumFilteredNeighbors != 0L) {
314 size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalNumFilteredNeighbors);
316 if (TotalNumAcceptedNeighbors != 0L) {
317 size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalNumAcceptedNeighbors);
319 size += localSearchFilterStatistics_.CalculateSize(_repeated_localSearchFilterStatistics_codec);
320 if (_unknownFields !=
null) {
321 size += _unknownFields.CalculateSize();
326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
327 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
332 firstSolutionStatistics_.Add(other.firstSolutionStatistics_);
333 localSearchOperatorStatistics_.Add(other.localSearchOperatorStatistics_);
343 localSearchFilterStatistics_.Add(other.localSearchFilterStatistics_);
344 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
348 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
350 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
351 input.ReadRawMessage(
this);
354 while ((tag = input.ReadTag()) != 0) {
357 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
360 localSearchOperatorStatistics_.AddEntriesFrom(input, _repeated_localSearchOperatorStatistics_codec);
364 localSearchFilterStatistics_.AddEntriesFrom(input, _repeated_localSearchFilterStatistics_codec);
368 TotalNumNeighbors = input.ReadInt64();
372 TotalNumFilteredNeighbors = input.ReadInt64();
376 TotalNumAcceptedNeighbors = input.ReadInt64();
380 firstSolutionStatistics_.AddEntriesFrom(input, _repeated_firstSolutionStatistics_codec);
388 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
390 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
391 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
393 while ((tag = input.ReadTag()) != 0) {
396 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
399 localSearchOperatorStatistics_.AddEntriesFrom(ref input, _repeated_localSearchOperatorStatistics_codec);
403 localSearchFilterStatistics_.AddEntriesFrom(ref input, _repeated_localSearchFilterStatistics_codec);
407 TotalNumNeighbors = input.ReadInt64();
411 TotalNumFilteredNeighbors = input.ReadInt64();
415 TotalNumAcceptedNeighbors = input.ReadInt64();
419 firstSolutionStatistics_.AddEntriesFrom(ref input, _repeated_firstSolutionStatistics_codec);
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
435 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
437 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
441 private static readonly pb::MessageParser<FirstSolutionStatistics> _parser =
new pb::MessageParser<FirstSolutionStatistics>(() =>
new FirstSolutionStatistics());
442 private pb::UnknownFieldSet _unknownFields;
443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
445 public static pb::MessageParser<FirstSolutionStatistics> Parser {
get {
return _parser; } }
447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
449 public static pbr::MessageDescriptor Descriptor {
450 get {
return global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Descriptor.NestedTypes[0]; }
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
455 pbr::MessageDescriptor pb::IMessage.Descriptor {
456 get {
return Descriptor; }
459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
465 partial
void OnConstruction();
467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
468 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
470 strategy_ = other.strategy_;
471 durationSeconds_ = other.durationSeconds_;
472 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
476 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
482 public const int StrategyFieldNumber = 1;
483 private string strategy_ =
"";
487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
488 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
489 public string Strategy {
490 get {
return strategy_; }
492 strategy_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
497 public const int DurationSecondsFieldNumber = 2;
498 private double durationSeconds_;
502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
504 public double DurationSeconds {
505 get {
return durationSeconds_; }
507 durationSeconds_ = value;
511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
512 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
513 public override bool Equals(
object other) {
517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
518 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
520 if (ReferenceEquals(other,
null)) {
523 if (ReferenceEquals(other,
this)) {
526 if (Strategy != other.
Strategy)
return false;
527 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DurationSeconds, other.
DurationSeconds))
return false;
528 return Equals(_unknownFields, other._unknownFields);
531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
532 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
535 if (Strategy.Length != 0) hash ^= Strategy.GetHashCode();
536 if (DurationSeconds != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DurationSeconds);
537 if (_unknownFields !=
null) {
538 hash ^= _unknownFields.GetHashCode();
543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
544 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
546 return pb::JsonFormatter.ToDiagnosticString(
this);
549 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
550 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
551 public void WriteTo(pb::CodedOutputStream output) {
552 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
553 output.WriteRawMessage(
this);
555 if (Strategy.Length != 0) {
556 output.WriteRawTag(10);
557 output.WriteString(Strategy);
559 if (DurationSeconds != 0D) {
560 output.WriteRawTag(17);
561 output.WriteDouble(DurationSeconds);
563 if (_unknownFields !=
null) {
564 _unknownFields.WriteTo(output);
569 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
571 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
572 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
573 if (Strategy.Length != 0) {
574 output.WriteRawTag(10);
575 output.WriteString(Strategy);
577 if (DurationSeconds != 0D) {
578 output.WriteRawTag(17);
579 output.WriteDouble(DurationSeconds);
581 if (_unknownFields !=
null) {
582 _unknownFields.WriteTo(ref output);
587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
588 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
591 if (Strategy.Length != 0) {
592 size += 1 + pb::CodedOutputStream.ComputeStringSize(Strategy);
594 if (DurationSeconds != 0D) {
597 if (_unknownFields !=
null) {
598 size += _unknownFields.CalculateSize();
603 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
604 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
615 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
619 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
621 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
622 input.ReadRawMessage(
this);
625 while ((tag = input.ReadTag()) != 0) {
628 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
631 Strategy = input.ReadString();
635 DurationSeconds = input.ReadDouble();
643 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
645 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
646 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
648 while ((tag = input.ReadTag()) != 0) {
651 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
654 Strategy = input.ReadString();
658 DurationSeconds = input.ReadDouble();
671 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
673 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
677 private static readonly pb::MessageParser<LocalSearchOperatorStatistics> _parser =
new pb::MessageParser<LocalSearchOperatorStatistics>(() =>
new LocalSearchOperatorStatistics());
678 private pb::UnknownFieldSet _unknownFields;
679 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
680 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
681 public static pb::MessageParser<LocalSearchOperatorStatistics> Parser {
get {
return _parser; } }
683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
684 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
685 public static pbr::MessageDescriptor Descriptor {
686 get {
return global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Descriptor.NestedTypes[1]; }
689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
690 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
691 pbr::MessageDescriptor pb::IMessage.Descriptor {
692 get {
return Descriptor; }
695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
696 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
701 partial
void OnConstruction();
703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
706 localSearchOperator_ = other.localSearchOperator_;
707 numNeighbors_ = other.numNeighbors_;
708 numFilteredNeighbors_ = other.numFilteredNeighbors_;
709 numAcceptedNeighbors_ = other.numAcceptedNeighbors_;
710 durationSeconds_ = other.durationSeconds_;
711 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
714 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
715 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
721 public const int LocalSearchOperatorFieldNumber = 1;
722 private string localSearchOperator_ =
"";
726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
727 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
729 get {
return localSearchOperator_; }
731 localSearchOperator_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
736 public const int NumNeighborsFieldNumber = 2;
737 private long numNeighbors_;
741 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
742 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
743 public long NumNeighbors {
744 get {
return numNeighbors_; }
746 numNeighbors_ = value;
751 public const int NumFilteredNeighborsFieldNumber = 3;
752 private long numFilteredNeighbors_;
756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
757 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
758 public long NumFilteredNeighbors {
759 get {
return numFilteredNeighbors_; }
761 numFilteredNeighbors_ = value;
766 public const int NumAcceptedNeighborsFieldNumber = 4;
767 private long numAcceptedNeighbors_;
771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
772 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
773 public long NumAcceptedNeighbors {
774 get {
return numAcceptedNeighbors_; }
776 numAcceptedNeighbors_ = value;
781 public const int DurationSecondsFieldNumber = 5;
782 private double durationSeconds_;
786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
787 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
788 public double DurationSeconds {
789 get {
return durationSeconds_; }
791 durationSeconds_ = value;
795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
796 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
797 public override bool Equals(
object other) {
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
804 if (ReferenceEquals(other,
null)) {
807 if (ReferenceEquals(other,
this)) {
814 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DurationSeconds, other.
DurationSeconds))
return false;
815 return Equals(_unknownFields, other._unknownFields);
818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
819 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
823 if (NumNeighbors != 0L) hash ^= NumNeighbors.GetHashCode();
824 if (NumFilteredNeighbors != 0L) hash ^= NumFilteredNeighbors.GetHashCode();
825 if (NumAcceptedNeighbors != 0L) hash ^= NumAcceptedNeighbors.GetHashCode();
826 if (DurationSeconds != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DurationSeconds);
827 if (_unknownFields !=
null) {
828 hash ^= _unknownFields.GetHashCode();
833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
834 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
836 return pb::JsonFormatter.ToDiagnosticString(
this);
839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
840 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
841 public void WriteTo(pb::CodedOutputStream output) {
842 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
843 output.WriteRawMessage(
this);
846 output.WriteRawTag(10);
849 if (NumNeighbors != 0L) {
850 output.WriteRawTag(16);
851 output.WriteInt64(NumNeighbors);
853 if (NumFilteredNeighbors != 0L) {
854 output.WriteRawTag(24);
855 output.WriteInt64(NumFilteredNeighbors);
857 if (NumAcceptedNeighbors != 0L) {
858 output.WriteRawTag(32);
859 output.WriteInt64(NumAcceptedNeighbors);
861 if (DurationSeconds != 0D) {
862 output.WriteRawTag(41);
863 output.WriteDouble(DurationSeconds);
865 if (_unknownFields !=
null) {
866 _unknownFields.WriteTo(output);
871 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
873 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
874 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
876 output.WriteRawTag(10);
879 if (NumNeighbors != 0L) {
880 output.WriteRawTag(16);
881 output.WriteInt64(NumNeighbors);
883 if (NumFilteredNeighbors != 0L) {
884 output.WriteRawTag(24);
885 output.WriteInt64(NumFilteredNeighbors);
887 if (NumAcceptedNeighbors != 0L) {
888 output.WriteRawTag(32);
889 output.WriteInt64(NumAcceptedNeighbors);
891 if (DurationSeconds != 0D) {
892 output.WriteRawTag(41);
893 output.WriteDouble(DurationSeconds);
895 if (_unknownFields !=
null) {
896 _unknownFields.WriteTo(ref output);
901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
902 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
908 if (NumNeighbors != 0L) {
909 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumNeighbors);
911 if (NumFilteredNeighbors != 0L) {
912 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumFilteredNeighbors);
914 if (NumAcceptedNeighbors != 0L) {
915 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumAcceptedNeighbors);
917 if (DurationSeconds != 0D) {
920 if (_unknownFields !=
null) {
921 size += _unknownFields.CalculateSize();
926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
927 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
947 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
953 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
954 input.ReadRawMessage(
this);
957 while ((tag = input.ReadTag()) != 0) {
960 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
967 NumNeighbors = input.ReadInt64();
971 NumFilteredNeighbors = input.ReadInt64();
975 NumAcceptedNeighbors = input.ReadInt64();
979 DurationSeconds = input.ReadDouble();
987 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
992 while ((tag = input.ReadTag()) != 0) {
995 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1002 NumNeighbors = input.ReadInt64();
1006 NumFilteredNeighbors = input.ReadInt64();
1010 NumAcceptedNeighbors = input.ReadInt64();
1014 DurationSeconds = input.ReadDouble();
1027 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1029 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1030 , pb::IBufferMessage
1033 private static readonly pb::MessageParser<LocalSearchFilterStatistics> _parser =
new pb::MessageParser<LocalSearchFilterStatistics>(() =>
new LocalSearchFilterStatistics());
1034 private pb::UnknownFieldSet _unknownFields;
1035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1036 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1037 public static pb::MessageParser<LocalSearchFilterStatistics> Parser {
get {
return _parser; } }
1039 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1040 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1041 public static pbr::MessageDescriptor Descriptor {
1042 get {
return global::Google.OrTools.ConstraintSolver.LocalSearchStatistics.Descriptor.NestedTypes[2]; }
1045 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1046 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1047 pbr::MessageDescriptor pb::IMessage.Descriptor {
1048 get {
return Descriptor; }
1051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1052 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1057 partial
void OnConstruction();
1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1060 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1062 localSearchFilter_ = other.localSearchFilter_;
1063 numCalls_ = other.numCalls_;
1064 numRejects_ = other.numRejects_;
1065 durationSeconds_ = other.durationSeconds_;
1066 numRejectsPerSecond_ = other.numRejectsPerSecond_;
1067 context_ = other.context_;
1068 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1072 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1078 public const int LocalSearchFilterFieldNumber = 1;
1079 private string localSearchFilter_ =
"";
1083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1084 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1086 get {
return localSearchFilter_; }
1088 localSearchFilter_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
1093 public const int NumCallsFieldNumber = 2;
1094 private long numCalls_;
1098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1099 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1100 public long NumCalls {
1101 get {
return numCalls_; }
1108 public const int NumRejectsFieldNumber = 3;
1109 private long numRejects_;
1113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1115 public long NumRejects {
1116 get {
return numRejects_; }
1118 numRejects_ = value;
1123 public const int DurationSecondsFieldNumber = 4;
1124 private double durationSeconds_;
1128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1129 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1130 public double DurationSeconds {
1131 get {
return durationSeconds_; }
1133 durationSeconds_ = value;
1138 public const int NumRejectsPerSecondFieldNumber = 5;
1139 private double numRejectsPerSecond_;
1143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1144 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1145 public double NumRejectsPerSecond {
1146 get {
return numRejectsPerSecond_; }
1148 numRejectsPerSecond_ = value;
1153 public const int ContextFieldNumber = 6;
1154 private string context_ =
"";
1158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1159 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1160 public string Context {
1161 get {
return context_; }
1163 context_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
1167 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1168 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1176 if (ReferenceEquals(other,
null)) {
1179 if (ReferenceEquals(other,
this)) {
1183 if (NumCalls != other.
NumCalls)
return false;
1184 if (NumRejects != other.
NumRejects)
return false;
1185 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DurationSeconds, other.
DurationSeconds))
return false;
1186 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NumRejectsPerSecond, other.
NumRejectsPerSecond))
return false;
1187 if (Context != other.
Context)
return false;
1188 return Equals(_unknownFields, other._unknownFields);
1191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1192 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1196 if (NumCalls != 0L) hash ^= NumCalls.GetHashCode();
1197 if (NumRejects != 0L) hash ^= NumRejects.GetHashCode();
1198 if (DurationSeconds != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DurationSeconds);
1199 if (NumRejectsPerSecond != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NumRejectsPerSecond);
1200 if (Context.Length != 0) hash ^= Context.GetHashCode();
1201 if (_unknownFields !=
null) {
1202 hash ^= _unknownFields.GetHashCode();
1207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1208 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1210 return pb::JsonFormatter.ToDiagnosticString(
this);
1213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1214 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1215 public void WriteTo(pb::CodedOutputStream output) {
1216 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1217 output.WriteRawMessage(
this);
1220 output.WriteRawTag(10);
1223 if (NumCalls != 0L) {
1224 output.WriteRawTag(16);
1225 output.WriteInt64(NumCalls);
1227 if (NumRejects != 0L) {
1228 output.WriteRawTag(24);
1229 output.WriteInt64(NumRejects);
1231 if (DurationSeconds != 0D) {
1232 output.WriteRawTag(33);
1233 output.WriteDouble(DurationSeconds);
1235 if (NumRejectsPerSecond != 0D) {
1236 output.WriteRawTag(41);
1237 output.WriteDouble(NumRejectsPerSecond);
1239 if (Context.Length != 0) {
1240 output.WriteRawTag(50);
1241 output.WriteString(Context);
1243 if (_unknownFields !=
null) {
1244 _unknownFields.WriteTo(output);
1249 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1251 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1252 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1254 output.WriteRawTag(10);
1257 if (NumCalls != 0L) {
1258 output.WriteRawTag(16);
1259 output.WriteInt64(NumCalls);
1261 if (NumRejects != 0L) {
1262 output.WriteRawTag(24);
1263 output.WriteInt64(NumRejects);
1265 if (DurationSeconds != 0D) {
1266 output.WriteRawTag(33);
1267 output.WriteDouble(DurationSeconds);
1269 if (NumRejectsPerSecond != 0D) {
1270 output.WriteRawTag(41);
1271 output.WriteDouble(NumRejectsPerSecond);
1273 if (Context.Length != 0) {
1274 output.WriteRawTag(50);
1275 output.WriteString(Context);
1277 if (_unknownFields !=
null) {
1278 _unknownFields.WriteTo(ref output);
1283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1284 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1290 if (NumCalls != 0L) {
1291 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumCalls);
1293 if (NumRejects != 0L) {
1294 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumRejects);
1296 if (DurationSeconds != 0D) {
1299 if (NumRejectsPerSecond != 0D) {
1302 if (Context.Length != 0) {
1303 size += 1 + pb::CodedOutputStream.ComputeStringSize(Context);
1305 if (_unknownFields !=
null) {
1306 size += _unknownFields.CalculateSize();
1311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1312 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1314 if (other ==
null) {
1332 if (other.
Context.Length != 0) {
1335 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1339 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1341 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1342 input.ReadRawMessage(
this);
1345 while ((tag = input.ReadTag()) != 0) {
1348 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1355 NumCalls = input.ReadInt64();
1359 NumRejects = input.ReadInt64();
1363 DurationSeconds = input.ReadDouble();
1367 NumRejectsPerSecond = input.ReadDouble();
1371 Context = input.ReadString();
1379 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1381 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1382 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1384 while ((tag = input.ReadTag()) != 0) {
1387 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1394 NumCalls = input.ReadInt64();
1398 NumRejects = input.ReadInt64();
1402 DurationSeconds = input.ReadDouble();
1406 NumRejectsPerSecond = input.ReadDouble();
1410 Context = input.ReadString();
1430 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1431 , pb::IBufferMessage
1434 private static readonly pb::MessageParser<ConstraintSolverStatistics> _parser =
new pb::MessageParser<ConstraintSolverStatistics>(() =>
new ConstraintSolverStatistics());
1435 private pb::UnknownFieldSet _unknownFields;
1436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1437 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1438 public static pb::MessageParser<ConstraintSolverStatistics> Parser {
get {
return _parser; } }
1440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1441 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1442 public static pbr::MessageDescriptor Descriptor {
1443 get {
return global::Google.OrTools.ConstraintSolver.SearchStatsReflection.Descriptor.MessageTypes[1]; }
1446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1448 pbr::MessageDescriptor pb::IMessage.Descriptor {
1449 get {
return Descriptor; }
1452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1453 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1458 partial
void OnConstruction();
1460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1461 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1463 numBranches_ = other.numBranches_;
1464 numFailures_ = other.numFailures_;
1465 numSolutions_ = other.numSolutions_;
1466 bytesUsed_ = other.bytesUsed_;
1467 durationSeconds_ = other.durationSeconds_;
1468 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1472 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1478 public const int NumBranchesFieldNumber = 1;
1479 private long numBranches_;
1483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1485 public long NumBranches {
1486 get {
return numBranches_; }
1488 numBranches_ = value;
1493 public const int NumFailuresFieldNumber = 2;
1494 private long numFailures_;
1498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1499 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1500 public long NumFailures {
1501 get {
return numFailures_; }
1503 numFailures_ = value;
1508 public const int NumSolutionsFieldNumber = 3;
1509 private long numSolutions_;
1513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1514 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1515 public long NumSolutions {
1516 get {
return numSolutions_; }
1518 numSolutions_ = value;
1523 public const int BytesUsedFieldNumber = 4;
1524 private long bytesUsed_;
1528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1530 public long BytesUsed {
1531 get {
return bytesUsed_; }
1538 public const int DurationSecondsFieldNumber = 5;
1539 private double durationSeconds_;
1543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1544 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1545 public double DurationSeconds {
1546 get {
return durationSeconds_; }
1548 durationSeconds_ = value;
1552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1559 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1561 if (ReferenceEquals(other,
null)) {
1564 if (ReferenceEquals(other,
this)) {
1567 if (NumBranches != other.
NumBranches)
return false;
1568 if (NumFailures != other.
NumFailures)
return false;
1570 if (BytesUsed != other.
BytesUsed)
return false;
1571 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DurationSeconds, other.
DurationSeconds))
return false;
1572 return Equals(_unknownFields, other._unknownFields);
1575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1576 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1579 if (NumBranches != 0L) hash ^= NumBranches.GetHashCode();
1580 if (NumFailures != 0L) hash ^= NumFailures.GetHashCode();
1581 if (NumSolutions != 0L) hash ^= NumSolutions.GetHashCode();
1582 if (BytesUsed != 0L) hash ^= BytesUsed.GetHashCode();
1583 if (DurationSeconds != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DurationSeconds);
1584 if (_unknownFields !=
null) {
1585 hash ^= _unknownFields.GetHashCode();
1590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1591 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1593 return pb::JsonFormatter.ToDiagnosticString(
this);
1596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1597 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1598 public void WriteTo(pb::CodedOutputStream output) {
1599 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1600 output.WriteRawMessage(
this);
1602 if (NumBranches != 0L) {
1603 output.WriteRawTag(8);
1604 output.WriteInt64(NumBranches);
1606 if (NumFailures != 0L) {
1607 output.WriteRawTag(16);
1608 output.WriteInt64(NumFailures);
1610 if (NumSolutions != 0L) {
1611 output.WriteRawTag(24);
1612 output.WriteInt64(NumSolutions);
1614 if (BytesUsed != 0L) {
1615 output.WriteRawTag(32);
1616 output.WriteInt64(BytesUsed);
1618 if (DurationSeconds != 0D) {
1619 output.WriteRawTag(41);
1620 output.WriteDouble(DurationSeconds);
1622 if (_unknownFields !=
null) {
1623 _unknownFields.WriteTo(output);
1628 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1629 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1630 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1631 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1632 if (NumBranches != 0L) {
1633 output.WriteRawTag(8);
1634 output.WriteInt64(NumBranches);
1636 if (NumFailures != 0L) {
1637 output.WriteRawTag(16);
1638 output.WriteInt64(NumFailures);
1640 if (NumSolutions != 0L) {
1641 output.WriteRawTag(24);
1642 output.WriteInt64(NumSolutions);
1644 if (BytesUsed != 0L) {
1645 output.WriteRawTag(32);
1646 output.WriteInt64(BytesUsed);
1648 if (DurationSeconds != 0D) {
1649 output.WriteRawTag(41);
1650 output.WriteDouble(DurationSeconds);
1652 if (_unknownFields !=
null) {
1653 _unknownFields.WriteTo(ref output);
1658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1659 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1662 if (NumBranches != 0L) {
1663 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBranches);
1665 if (NumFailures != 0L) {
1666 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumFailures);
1668 if (NumSolutions != 0L) {
1669 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumSolutions);
1671 if (BytesUsed != 0L) {
1672 size += 1 + pb::CodedOutputStream.ComputeInt64Size(BytesUsed);
1674 if (DurationSeconds != 0D) {
1677 if (_unknownFields !=
null) {
1678 size += _unknownFields.CalculateSize();
1683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1684 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1686 if (other ==
null) {
1704 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1710 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1711 input.ReadRawMessage(
this);
1714 while ((tag = input.ReadTag()) != 0) {
1717 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1720 NumBranches = input.ReadInt64();
1724 NumFailures = input.ReadInt64();
1728 NumSolutions = input.ReadInt64();
1732 BytesUsed = input.ReadInt64();
1736 DurationSeconds = input.ReadDouble();
1744 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1746 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1747 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1749 while ((tag = input.ReadTag()) != 0) {
1752 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1755 NumBranches = input.ReadInt64();
1759 NumFailures = input.ReadInt64();
1763 NumSolutions = input.ReadInt64();
1767 BytesUsed = input.ReadInt64();
1771 DurationSeconds = input.ReadDouble();
1786 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1787 , pb::IBufferMessage
1790 private static readonly pb::MessageParser<SearchStatistics> _parser =
new pb::MessageParser<SearchStatistics>(() =>
new SearchStatistics());
1791 private pb::UnknownFieldSet _unknownFields;
1792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1793 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1794 public static pb::MessageParser<SearchStatistics> Parser {
get {
return _parser; } }
1796 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1797 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1798 public static pbr::MessageDescriptor Descriptor {
1799 get {
return global::Google.OrTools.ConstraintSolver.SearchStatsReflection.Descriptor.MessageTypes[2]; }
1802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1803 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1804 pbr::MessageDescriptor pb::IMessage.Descriptor {
1805 get {
return Descriptor; }
1808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1809 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1814 partial
void OnConstruction();
1816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1817 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1819 localSearchStatistics_ = other.localSearchStatistics_ !=
null ? other.localSearchStatistics_.
Clone() :
null;
1820 constraintSolverStatistics_ = other.constraintSolverStatistics_ !=
null ? other.constraintSolverStatistics_.
Clone() :
null;
1821 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
1824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1825 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1831 public const int LocalSearchStatisticsFieldNumber = 1;
1836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1837 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1839 get { return localSearchStatistics_; }
1841 localSearchStatistics_ = value;
1846 public const int ConstraintSolverStatisticsFieldNumber = 2;
1847 private global::Google.OrTools.ConstraintSolver.ConstraintSolverStatistics constraintSolverStatistics_;
1851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1854 get { return constraintSolverStatistics_; }
1856 constraintSolverStatistics_ = value;
1860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1861 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1869 if (ReferenceEquals(other,
null)) {
1872 if (ReferenceEquals(other,
this)) {
1877 return Equals(_unknownFields, other._unknownFields);
1880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1881 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1886 if (_unknownFields !=
null) {
1887 hash ^= _unknownFields.GetHashCode();
1892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1893 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1895 return pb::JsonFormatter.ToDiagnosticString(
this);
1898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1899 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1900 public void WriteTo(pb::CodedOutputStream output) {
1901 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1902 output.WriteRawMessage(
this);
1904 if (localSearchStatistics_ !=
null) {
1905 output.WriteRawTag(10);
1908 if (constraintSolverStatistics_ !=
null) {
1909 output.WriteRawTag(18);
1912 if (_unknownFields !=
null) {
1913 _unknownFields.WriteTo(output);
1918 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1921 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1922 if (localSearchStatistics_ !=
null) {
1923 output.WriteRawTag(10);
1926 if (constraintSolverStatistics_ !=
null) {
1927 output.WriteRawTag(18);
1928 output.WriteMessage(ConstraintSolverStatistics);
1930 if (_unknownFields !=
null) {
1931 _unknownFields.WriteTo(ref output);
1936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1940 if (localSearchStatistics_ !=
null) {
1943 if (constraintSolverStatistics_ !=
null) {
1946 if (_unknownFields !=
null) {
1947 size += _unknownFields.CalculateSize();
1952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1953 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1955 if (other ==
null) {
1958 if (other.localSearchStatistics_ !=
null) {
1959 if (localSearchStatistics_ ==
null) {
1964 if (other.constraintSolverStatistics_ !=
null) {
1965 if (constraintSolverStatistics_ ==
null) {
1970 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1976 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1977 input.ReadRawMessage(
this);
1980 while ((tag = input.ReadTag()) != 0) {
1983 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1986 if (localSearchStatistics_ ==
null) {
1993 if (constraintSolverStatistics_ ==
null) {
2004 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2006 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2007 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2009 while ((tag = input.ReadTag()) != 0) {
2012 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2015 if (localSearchStatistics_ ==
null) {
2018 input.ReadMessage(LocalSearchStatistics);
2022 if (constraintSolverStatistics_ ==
null) {
2023 ConstraintSolverStatistics =
new global::Google.OrTools.ConstraintSolver.ConstraintSolverStatistics();
2025 input.ReadMessage(ConstraintSolverStatistics);