5 #pragma warning disable 1591, 0612, 3021
6 #region Designer generated code
8 using pb = global::Google.Protobuf;
9 using pbc = global::Google.Protobuf.Collections;
10 using pbr = global::Google.Protobuf.Reflection;
11 using scg = global::System.Collections.Generic;
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "ChpvcnRvb2xzL3NhdC9jcF9tb2RlbC5wcm90bxIXb3BlcmF0aW9uc19yZXNl",
28 "YXJjaC5zYXQiNAoUSW50ZWdlclZhcmlhYmxlUHJvdG8SDAoEbmFtZRgBIAEo",
29 "CRIOCgZkb21haW4YAiADKAMiJQoRQm9vbEFyZ3VtZW50UHJvdG8SEAoIbGl0",
30 "ZXJhbHMYASADKAUiNAoUSW50ZWdlckFyZ3VtZW50UHJvdG8SDgoGdGFyZ2V0",
31 "GAEgASgFEgwKBHZhcnMYAiADKAUiRQoVTGluZWFyRXhwcmVzc2lvblByb3Rv",
32 "EgwKBHZhcnMYASADKAUSDgoGY29lZmZzGAIgAygFEg4KBm9mZnNldBgDIAEo",
33 "AyKUAQoTTGluZWFyQXJndW1lbnRQcm90bxI+CgZ0YXJnZXQYASABKAsyLi5v",
34 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8S",
35 "PQoFZXhwcnMYAiADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
36 "YXJFeHByZXNzaW9uUHJvdG8iKwobQWxsRGlmZmVyZW50Q29uc3RyYWludFBy",
37 "b3RvEgwKBHZhcnMYASADKAUiRQoVTGluZWFyQ29uc3RyYWludFByb3RvEgwK",
38 "BHZhcnMYASADKAUSDgoGY29lZmZzGAIgAygDEg4KBmRvbWFpbhgDIAMoAyJF",
39 "ChZFbGVtZW50Q29uc3RyYWludFByb3RvEg0KBWluZGV4GAEgASgFEg4KBnRh",
40 "cmdldBgCIAEoBRIMCgR2YXJzGAMgAygFIkMKF0ludGVydmFsQ29uc3RyYWlu",
41 "dFByb3RvEg0KBXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBRIMCgRzaXplGAMg",
42 "ASgFIi0KGE5vT3ZlcmxhcENvbnN0cmFpbnRQcm90bxIRCglpbnRlcnZhbHMY",
43 "ASADKAUicAoaTm9PdmVybGFwMkRDb25zdHJhaW50UHJvdG8SEwoLeF9pbnRl",
44 "cnZhbHMYASADKAUSEwoLeV9pbnRlcnZhbHMYAiADKAUSKAogYm94ZXNfd2l0",
45 "aF9udWxsX2FyZWFfY2FuX292ZXJsYXAYAyABKAgiUQoZQ3VtdWxhdGl2ZUNv",
46 "bnN0cmFpbnRQcm90bxIQCghjYXBhY2l0eRgBIAEoBRIRCglpbnRlcnZhbHMY",
47 "AiADKAUSDwoHZGVtYW5kcxgDIAMoBSJxChhSZXNlcnZvaXJDb25zdHJhaW50",
48 "UHJvdG8SEQoJbWluX2xldmVsGAEgASgDEhEKCW1heF9sZXZlbBgCIAEoAxIN",
49 "CgV0aW1lcxgDIAMoBRIPCgdkZW1hbmRzGAQgAygDEg8KB2FjdGl2ZXMYBSAD",
50 "KAUiSAoWQ2lyY3VpdENvbnN0cmFpbnRQcm90bxINCgV0YWlscxgDIAMoBRIN",
51 "CgVoZWFkcxgEIAMoBRIQCghsaXRlcmFscxgFIAMoBSJqChVSb3V0ZXNDb25z",
52 "dHJhaW50UHJvdG8SDQoFdGFpbHMYASADKAUSDQoFaGVhZHMYAiADKAUSEAoI",
53 "bGl0ZXJhbHMYAyADKAUSDwoHZGVtYW5kcxgEIAMoBRIQCghjYXBhY2l0eRgF",
54 "IAEoAyJMCh5DaXJjdWl0Q292ZXJpbmdDb25zdHJhaW50UHJvdG8SDQoFbmV4",
55 "dHMYASADKAUSGwoTZGlzdGluZ3Vpc2hlZF9ub2RlcxgCIAMoAyJFChRUYWJs",
56 "ZUNvbnN0cmFpbnRQcm90bxIMCgR2YXJzGAEgAygFEg4KBnZhbHVlcxgCIAMo",
57 "AxIPCgduZWdhdGVkGAMgASgIIj0KFkludmVyc2VDb25zdHJhaW50UHJvdG8S",
58 "EAoIZl9kaXJlY3QYASADKAUSEQoJZl9pbnZlcnNlGAIgAygFIqIBChhBdXRv",
59 "bWF0b25Db25zdHJhaW50UHJvdG8SFgoOc3RhcnRpbmdfc3RhdGUYAiABKAMS",
60 "FAoMZmluYWxfc3RhdGVzGAMgAygDEhcKD3RyYW5zaXRpb25fdGFpbBgEIAMo",
61 "AxIXCg90cmFuc2l0aW9uX2hlYWQYBSADKAMSGAoQdHJhbnNpdGlvbl9sYWJl",
62 "bBgGIAMoAxIMCgR2YXJzGAcgAygFIv8NCg9Db25zdHJhaW50UHJvdG8SDAoE",
63 "bmFtZRgBIAEoCRIbChNlbmZvcmNlbWVudF9saXRlcmFsGAIgAygFEj0KB2Jv",
64 "b2xfb3IYAyABKAsyKi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29sQXJn",
65 "dW1lbnRQcm90b0gAEj4KCGJvb2xfYW5kGAQgASgLMioub3BlcmF0aW9uc19y",
66 "ZXNlYXJjaC5zYXQuQm9vbEFyZ3VtZW50UHJvdG9IABJBCgthdF9tb3N0X29u",
67 "ZRgaIAEoCzIqLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1bWVu",
68 "dFByb3RvSAASPgoIYm9vbF94b3IYBSABKAsyKi5vcGVyYXRpb25zX3Jlc2Vh",
69 "cmNoLnNhdC5Cb29sQXJndW1lbnRQcm90b0gAEkAKB2ludF9kaXYYByABKAsy",
70 "LS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2VyQXJndW1lbnRQcm90",
71 "b0gAEkAKB2ludF9tb2QYCCABKAsyLS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
72 "dC5JbnRlZ2VyQXJndW1lbnRQcm90b0gAEkAKB2ludF9tYXgYCSABKAsyLS5v",
73 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2VyQXJndW1lbnRQcm90b0gA",
74 "Ej8KB2xpbl9tYXgYGyABKAsyLC5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5M",
75 "aW5lYXJBcmd1bWVudFByb3RvSAASQAoHaW50X21pbhgKIAEoCzItLm9wZXJh",
76 "dGlvbnNfcmVzZWFyY2guc2F0LkludGVnZXJBcmd1bWVudFByb3RvSAASPwoH",
77 "bGluX21pbhgcIAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVh",
78 "ckFyZ3VtZW50UHJvdG9IABJBCghpbnRfcHJvZBgLIAEoCzItLm9wZXJhdGlv",
79 "bnNfcmVzZWFyY2guc2F0LkludGVnZXJBcmd1bWVudFByb3RvSAASQAoGbGlu",
80 "ZWFyGAwgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyQ29u",
81 "c3RyYWludFByb3RvSAASSAoIYWxsX2RpZmYYDSABKAsyNC5vcGVyYXRpb25z",
82 "X3Jlc2VhcmNoLnNhdC5BbGxEaWZmZXJlbnRDb25zdHJhaW50UHJvdG9IABJC",
83 "CgdlbGVtZW50GA4gASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuRWxl",
84 "bWVudENvbnN0cmFpbnRQcm90b0gAEkIKB2NpcmN1aXQYDyABKAsyLy5vcGVy",
85 "YXRpb25zX3Jlc2VhcmNoLnNhdC5DaXJjdWl0Q29uc3RyYWludFByb3RvSAAS",
86 "QAoGcm91dGVzGBcgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuUm91",
87 "dGVzQ29uc3RyYWludFByb3RvSAASUwoQY2lyY3VpdF9jb3ZlcmluZxgZIAEo",
88 "CzI3Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNpcmN1aXRDb3ZlcmluZ0Nv",
89 "bnN0cmFpbnRQcm90b0gAEj4KBXRhYmxlGBAgASgLMi0ub3BlcmF0aW9uc19y",
90 "ZXNlYXJjaC5zYXQuVGFibGVDb25zdHJhaW50UHJvdG9IABJGCglhdXRvbWF0",
91 "b24YESABKAsyMS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5BdXRvbWF0b25D",
92 "b25zdHJhaW50UHJvdG9IABJCCgdpbnZlcnNlGBIgASgLMi8ub3BlcmF0aW9u",
93 "c19yZXNlYXJjaC5zYXQuSW52ZXJzZUNvbnN0cmFpbnRQcm90b0gAEkYKCXJl",
94 "c2Vydm9pchgYIAEoCzIxLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LlJlc2Vy",
95 "dm9pckNvbnN0cmFpbnRQcm90b0gAEkQKCGludGVydmFsGBMgASgLMjAub3Bl",
96 "cmF0aW9uc19yZXNlYXJjaC5zYXQuSW50ZXJ2YWxDb25zdHJhaW50UHJvdG9I",
97 "ABJHCgpub19vdmVybGFwGBQgASgLMjEub3BlcmF0aW9uc19yZXNlYXJjaC5z",
98 "YXQuTm9PdmVybGFwQ29uc3RyYWludFByb3RvSAASTAoNbm9fb3ZlcmxhcF8y",
99 "ZBgVIAEoCzIzLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0Lk5vT3ZlcmxhcDJE",
100 "Q29uc3RyYWludFByb3RvSAASSAoKY3VtdWxhdGl2ZRgWIAEoCzIyLm9wZXJh",
101 "dGlvbnNfcmVzZWFyY2guc2F0LkN1bXVsYXRpdmVDb25zdHJhaW50UHJvdG9I",
102 "AEIMCgpjb25zdHJhaW50ImgKEENwT2JqZWN0aXZlUHJvdG8SDAoEdmFycxgB",
103 "IAMoBRIOCgZjb2VmZnMYBCADKAMSDgoGb2Zmc2V0GAIgASgBEhYKDnNjYWxp",
104 "bmdfZmFjdG9yGAMgASgBEg4KBmRvbWFpbhgFIAMoAyLVBQoVRGVjaXNpb25T",
105 "dHJhdGVneVByb3RvEhEKCXZhcmlhYmxlcxgBIAMoBRJtCht2YXJpYWJsZV9z",
106 "ZWxlY3Rpb25fc3RyYXRlZ3kYAiABKA4ySC5vcGVyYXRpb25zX3Jlc2VhcmNo",
107 "LnNhdC5EZWNpc2lvblN0cmF0ZWd5UHJvdG8uVmFyaWFibGVTZWxlY3Rpb25T",
108 "dHJhdGVneRJpChlkb21haW5fcmVkdWN0aW9uX3N0cmF0ZWd5GAMgASgOMkYu",
109 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3Rv",
110 "LkRvbWFpblJlZHVjdGlvblN0cmF0ZWd5ElwKD3RyYW5zZm9ybWF0aW9ucxgE",
111 "IAMoCzJDLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkRlY2lzaW9uU3RyYXRl",
112 "Z3lQcm90by5BZmZpbmVUcmFuc2Zvcm1hdGlvbhpLChRBZmZpbmVUcmFuc2Zv",
113 "cm1hdGlvbhILCgN2YXIYASABKAUSDgoGb2Zmc2V0GAIgASgDEhYKDnBvc2l0",
114 "aXZlX2NvZWZmGAMgASgDIpQBChlWYXJpYWJsZVNlbGVjdGlvblN0cmF0ZWd5",
115 "EhAKDENIT09TRV9GSVJTVBAAEhUKEUNIT09TRV9MT1dFU1RfTUlOEAESFgoS",
116 "Q0hPT1NFX0hJR0hFU1RfTUFYEAISGgoWQ0hPT1NFX01JTl9ET01BSU5fU0la",
117 "RRADEhoKFkNIT09TRV9NQVhfRE9NQUlOX1NJWkUQBCKMAQoXRG9tYWluUmVk",
118 "dWN0aW9uU3RyYXRlZ3kSFAoQU0VMRUNUX01JTl9WQUxVRRAAEhQKEFNFTEVD",
119 "VF9NQVhfVkFMVUUQARIVChFTRUxFQ1RfTE9XRVJfSEFMRhACEhUKEVNFTEVD",
120 "VF9VUFBFUl9IQUxGEAMSFwoTU0VMRUNUX01FRElBTl9WQUxVRRAEIjkKGVBh",
121 "cnRpYWxWYXJpYWJsZUFzc2lnbm1lbnQSDAoEdmFycxgBIAMoBRIOCgZ2YWx1",
122 "ZXMYAiADKAMi7wIKDENwTW9kZWxQcm90bxIMCgRuYW1lGAEgASgJEkAKCXZh",
123 "cmlhYmxlcxgCIAMoCzItLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkludGVn",
124 "ZXJWYXJpYWJsZVByb3RvEj0KC2NvbnN0cmFpbnRzGAMgAygLMigub3BlcmF0",
125 "aW9uc19yZXNlYXJjaC5zYXQuQ29uc3RyYWludFByb3RvEjwKCW9iamVjdGl2",
126 "ZRgEIAEoCzIpLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNwT2JqZWN0aXZl",
127 "UHJvdG8SRwoPc2VhcmNoX3N0cmF0ZWd5GAUgAygLMi4ub3BlcmF0aW9uc19y",
128 "ZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvEkkKDXNvbHV0aW9u",
129 "X2hpbnQYBiABKAsyMi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5QYXJ0aWFs",
130 "VmFyaWFibGVBc3NpZ25tZW50IrgEChBDcFNvbHZlclJlc3BvbnNlEjcKBnN0",
131 "YXR1cxgBIAEoDjInLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNwU29sdmVy",
132 "U3RhdHVzEhAKCHNvbHV0aW9uGAIgAygDEhcKD29iamVjdGl2ZV92YWx1ZRgD",
133 "IAEoARIcChRiZXN0X29iamVjdGl2ZV9ib3VuZBgEIAEoARIdChVzb2x1dGlv",
134 "bl9sb3dlcl9ib3VuZHMYEiADKAMSHQoVc29sdXRpb25fdXBwZXJfYm91bmRz",
135 "GBMgAygDEkoKE3RpZ2h0ZW5lZF92YXJpYWJsZXMYFSADKAsyLS5vcGVyYXRp",
136 "b25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2VyVmFyaWFibGVQcm90bxIgChhhbGxf",
137 "c29sdXRpb25zX3dlcmVfZm91bmQYBSABKAgSFAoMbnVtX2Jvb2xlYW5zGAog",
138 "ASgDEhUKDW51bV9jb25mbGljdHMYCyABKAMSFAoMbnVtX2JyYW5jaGVzGAwg",
139 "ASgDEh8KF251bV9iaW5hcnlfcHJvcGFnYXRpb25zGA0gASgDEiAKGG51bV9p",
140 "bnRlZ2VyX3Byb3BhZ2F0aW9ucxgOIAEoAxIRCgl3YWxsX3RpbWUYDyABKAES",
141 "EQoJdXNlcl90aW1lGBAgASgBEhoKEmRldGVybWluaXN0aWNfdGltZRgRIAEo",
142 "ARIXCg9wcmltYWxfaW50ZWdyYWwYFiABKAESFQoNc29sdXRpb25faW5mbxgU",
143 "IAEoCSpbCg5DcFNvbHZlclN0YXR1cxILCgdVTktOT1dOEAASEQoNTU9ERUxf",
144 "SU5WQUxJRBABEgwKCEZFQVNJQkxFEAISDgoKSU5GRUFTSUJMRRADEgsKB09Q",
145 "VElNQUwQBEJAChZjb20uZ29vZ2xlLm9ydG9vbHMuc2F0Qg9DcE1vZGVsUHJv",
146 "dG9idWZQAaoCEkdvb2dsZS5PclRvb2xzLlNhdGIGcHJvdG8z"));
147 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
148 new pbr::FileDescriptor[] { },
149 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.OrTools.Sat.CpSolverStatus), },
null,
new pbr::GeneratedClrTypeInfo[] {
150 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntegerVariableProto), global::Google.OrTools.Sat.IntegerVariableProto.Parser,
new[]{
"Name",
"Domain" },
null,
null,
null,
null),
151 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.BoolArgumentProto), global::Google.OrTools.Sat.BoolArgumentProto.Parser,
new[]{
"Literals" },
null,
null,
null,
null),
152 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntegerArgumentProto), global::Google.OrTools.Sat.IntegerArgumentProto.Parser,
new[]{
"Target",
"Vars" },
null,
null,
null,
null),
153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearExpressionProto), global::Google.OrTools.Sat.LinearExpressionProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset" },
null,
null,
null,
null),
154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearArgumentProto), global::Google.OrTools.Sat.LinearArgumentProto.Parser,
new[]{
"Target",
"Exprs" },
null,
null,
null,
null),
155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AllDifferentConstraintProto), global::Google.OrTools.Sat.AllDifferentConstraintProto.Parser,
new[]{
"Vars" },
null,
null,
null,
null),
156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearConstraintProto), global::Google.OrTools.Sat.LinearConstraintProto.Parser,
new[]{
"Vars",
"Coeffs",
"Domain" },
null,
null,
null,
null),
157 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ElementConstraintProto), global::Google.OrTools.Sat.ElementConstraintProto.Parser,
new[]{
"Index",
"Target",
"Vars" },
null,
null,
null,
null),
158 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntervalConstraintProto), global::Google.OrTools.Sat.IntervalConstraintProto.Parser,
new[]{
"Start",
"End",
"Size" },
null,
null,
null,
null),
159 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlapConstraintProto), global::Google.OrTools.Sat.NoOverlapConstraintProto.Parser,
new[]{
"Intervals" },
null,
null,
null,
null),
160 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlap2DConstraintProto), global::Google.OrTools.Sat.NoOverlap2DConstraintProto.Parser,
new[]{
"XIntervals",
"YIntervals",
"BoxesWithNullAreaCanOverlap" },
null,
null,
null,
null),
161 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CumulativeConstraintProto), global::Google.OrTools.Sat.CumulativeConstraintProto.Parser,
new[]{
"Capacity",
"Intervals",
"Demands" },
null,
null,
null,
null),
162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ReservoirConstraintProto), global::Google.OrTools.Sat.ReservoirConstraintProto.Parser,
new[]{
"MinLevel",
"MaxLevel",
"Times",
"Demands",
"Actives" },
null,
null,
null,
null),
163 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CircuitConstraintProto), global::Google.OrTools.Sat.CircuitConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals" },
null,
null,
null,
null),
164 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.RoutesConstraintProto), global::Google.OrTools.Sat.RoutesConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals",
"Demands",
"Capacity" },
null,
null,
null,
null),
165 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CircuitCoveringConstraintProto), global::Google.OrTools.Sat.CircuitCoveringConstraintProto.Parser,
new[]{
"Nexts",
"DistinguishedNodes" },
null,
null,
null,
null),
166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.TableConstraintProto), global::Google.OrTools.Sat.TableConstraintProto.Parser,
new[]{
"Vars",
"Values",
"Negated" },
null,
null,
null,
null),
167 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.InverseConstraintProto), global::Google.OrTools.Sat.InverseConstraintProto.Parser,
new[]{
"FDirect",
"FInverse" },
null,
null,
null,
null),
168 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AutomatonConstraintProto), global::Google.OrTools.Sat.AutomatonConstraintProto.Parser,
new[]{
"StartingState",
"FinalStates",
"TransitionTail",
"TransitionHead",
"TransitionLabel",
"Vars" },
null,
null,
null,
null),
169 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ConstraintProto), global::Google.OrTools.Sat.ConstraintProto.Parser,
new[]{
"Name",
"EnforcementLiteral",
"BoolOr",
"BoolAnd",
"AtMostOne",
"BoolXor",
"IntDiv",
"IntMod",
"IntMax",
"LinMax",
"IntMin",
"LinMin",
"IntProd",
"Linear",
"AllDiff",
"Element",
"Circuit",
"Routes",
"CircuitCovering",
"Table",
"Automaton",
"Inverse",
"Reservoir",
"Interval",
"NoOverlap",
"NoOverlap2D",
"Cumulative" },
new[]{
"Constraint" },
null,
null,
null),
170 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpObjectiveProto), global::Google.OrTools.Sat.CpObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"ScalingFactor",
"Domain" },
null,
null,
null,
null),
171 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto), global::Google.OrTools.Sat.DecisionStrategyProto.Parser,
new[]{
"Variables",
"VariableSelectionStrategy",
"DomainReductionStrategy",
"Transformations" },
null,
new[]{ typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy), typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) },
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation), global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation.Parser, new[]{
"Var",
"Offset",
"PositiveCoeff" },
null,
null,
null,
null)}),
172 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.PartialVariableAssignment), global::Google.OrTools.Sat.PartialVariableAssignment.Parser,
new[]{
"Vars",
"Values" },
null,
null,
null,
null),
173 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpModelProto), global::Google.OrTools.Sat.CpModelProto.Parser,
new[]{
"Name",
"Variables",
"Constraints",
"Objective",
"SearchStrategy",
"SolutionHint" },
null,
null,
null,
null),
174 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverResponse), global::Google.OrTools.Sat.CpSolverResponse.Parser,
new[]{
"Status",
"Solution",
"ObjectiveValue",
"BestObjectiveBound",
"SolutionLowerBounds",
"SolutionUpperBounds",
"TightenedVariables",
"AllSolutionsWereFound",
"NumBooleans",
"NumConflicts",
"NumBranches",
"NumBinaryPropagations",
"NumIntegerPropagations",
"WallTime",
"UserTime",
"DeterministicTime",
"PrimalIntegral",
"SolutionInfo" },
null,
null,
null,
null)
189 [pbr::OriginalName(
"UNKNOWN")] Unknown = 0,
194 [pbr::OriginalName(
"MODEL_INVALID")] ModelInvalid = 1,
199 [pbr::OriginalName(
"FEASIBLE")] Feasible = 2,
203 [pbr::OriginalName(
"INFEASIBLE")] Infeasible = 3,
209 [pbr::OriginalName(
"OPTIMAL")] Optimal = 4,
215 public sealed
partial class IntegerVariableProto : pb::IMessage<IntegerVariableProto> {
237 private static readonly pb::MessageParser<IntegerVariableProto> _parser =
new pb::MessageParser<IntegerVariableProto>(() =>
new IntegerVariableProto());
238 private pb::UnknownFieldSet _unknownFields;
239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
240 public static pb::MessageParser<IntegerVariableProto> Parser {
get {
return _parser; } }
242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
243 public static pbr::MessageDescriptor Descriptor {
244 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[0]; }
247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
248 pbr::MessageDescriptor pb::IMessage.Descriptor {
249 get {
return Descriptor; }
252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
257 partial
void OnConstruction();
259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
262 domain_ = other.domain_.Clone();
263 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
272 public const int NameFieldNumber = 1;
273 private string name_ =
"";
277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
279 get {
return name_; }
281 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
286 public const int DomainFieldNumber = 2;
287 private static readonly pb::FieldCodec<long> _repeated_domain_codec
288 = pb::FieldCodec.ForInt64(18);
289 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
311 get {
return domain_; }
314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
315 public override bool Equals(
object other) {
319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
321 if (ReferenceEquals(other,
null)) {
324 if (ReferenceEquals(other,
this)) {
327 if (Name != other.Name)
return false;
328 if(!domain_.Equals(other.domain_))
return false;
329 return Equals(_unknownFields, other._unknownFields);
332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
335 if (Name.Length != 0) hash ^= Name.GetHashCode();
336 hash ^= domain_.GetHashCode();
337 if (_unknownFields !=
null) {
338 hash ^= _unknownFields.GetHashCode();
343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
345 return pb::JsonFormatter.ToDiagnosticString(
this);
348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
349 public void WriteTo(pb::CodedOutputStream output) {
350 if (Name.Length != 0) {
351 output.WriteRawTag(10);
352 output.WriteString(Name);
354 domain_.WriteTo(output, _repeated_domain_codec);
355 if (_unknownFields !=
null) {
356 _unknownFields.WriteTo(output);
360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
363 if (Name.Length != 0) {
364 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
366 size += domain_.CalculateSize(_repeated_domain_codec);
367 if (_unknownFields !=
null) {
368 size += _unknownFields.CalculateSize();
373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
378 if (other.Name.Length != 0) {
381 domain_.Add(other.domain_);
382 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
388 while ((tag = input.ReadTag()) != 0) {
391 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
394 Name = input.ReadString();
399 domain_.AddEntriesFrom(input, _repeated_domain_codec);
412 private static readonly pb::MessageParser<BoolArgumentProto> _parser =
new pb::MessageParser<BoolArgumentProto>(() =>
new BoolArgumentProto());
413 private pb::UnknownFieldSet _unknownFields;
414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
415 public static pb::MessageParser<BoolArgumentProto> Parser {
get {
return _parser; } }
417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
418 public static pbr::MessageDescriptor Descriptor {
419 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[1]; }
422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
423 pbr::MessageDescriptor pb::IMessage.Descriptor {
424 get {
return Descriptor; }
427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
432 partial
void OnConstruction();
434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
436 literals_ = other.literals_.Clone();
437 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
446 public const int LiteralsFieldNumber = 1;
447 private static readonly pb::FieldCodec<int> _repeated_literals_codec
448 = pb::FieldCodec.ForInt32(10);
449 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
451 public pbc::RepeatedField<int> Literals {
452 get {
return literals_; }
455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
456 public override bool Equals(
object other) {
460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
462 if (ReferenceEquals(other,
null)) {
465 if (ReferenceEquals(other,
this)) {
468 if(!literals_.Equals(other.literals_))
return false;
469 return Equals(_unknownFields, other._unknownFields);
472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
475 hash ^= literals_.GetHashCode();
476 if (_unknownFields !=
null) {
477 hash ^= _unknownFields.GetHashCode();
482 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
484 return pb::JsonFormatter.ToDiagnosticString(
this);
487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
488 public void WriteTo(pb::CodedOutputStream output) {
489 literals_.WriteTo(output, _repeated_literals_codec);
490 if (_unknownFields !=
null) {
491 _unknownFields.WriteTo(output);
495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
498 size += literals_.CalculateSize(_repeated_literals_codec);
499 if (_unknownFields !=
null) {
500 size += _unknownFields.CalculateSize();
505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510 literals_.Add(other.literals_);
511 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
517 while ((tag = input.ReadTag()) != 0) {
520 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
524 literals_.AddEntriesFrom(input, _repeated_literals_codec);
537 private static readonly pb::MessageParser<IntegerArgumentProto> _parser =
new pb::MessageParser<IntegerArgumentProto>(() =>
new IntegerArgumentProto());
538 private pb::UnknownFieldSet _unknownFields;
539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
540 public static pb::MessageParser<IntegerArgumentProto> Parser {
get {
return _parser; } }
542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
543 public static pbr::MessageDescriptor Descriptor {
544 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[2]; }
547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
548 pbr::MessageDescriptor pb::IMessage.Descriptor {
549 get {
return Descriptor; }
552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
557 partial
void OnConstruction();
559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
561 target_ = other.target_;
562 vars_ = other.vars_.Clone();
563 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
572 public const int TargetFieldNumber = 1;
574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
576 get {
return target_; }
583 public const int VarsFieldNumber = 2;
584 private static readonly pb::FieldCodec<int> _repeated_vars_codec
585 = pb::FieldCodec.ForInt32(18);
586 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
588 public pbc::RepeatedField<int> Vars {
589 get {
return vars_; }
592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
593 public override bool Equals(
object other) {
597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
599 if (ReferenceEquals(other,
null)) {
602 if (ReferenceEquals(other,
this)) {
605 if (Target != other.
Target)
return false;
606 if(!vars_.Equals(other.vars_))
return false;
607 return Equals(_unknownFields, other._unknownFields);
610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
613 if (Target != 0) hash ^= Target.GetHashCode();
614 hash ^= vars_.GetHashCode();
615 if (_unknownFields !=
null) {
616 hash ^= _unknownFields.GetHashCode();
621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
623 return pb::JsonFormatter.ToDiagnosticString(
this);
626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
627 public void WriteTo(pb::CodedOutputStream output) {
629 output.WriteRawTag(8);
630 output.WriteInt32(Target);
632 vars_.WriteTo(output, _repeated_vars_codec);
633 if (_unknownFields !=
null) {
634 _unknownFields.WriteTo(output);
638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
642 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
644 size += vars_.CalculateSize(_repeated_vars_codec);
645 if (_unknownFields !=
null) {
646 size += _unknownFields.CalculateSize();
651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
659 vars_.Add(other.vars_);
660 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
666 while ((tag = input.ReadTag()) != 0) {
669 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
672 Target = input.ReadInt32();
677 vars_.AddEntriesFrom(input, _repeated_vars_codec);
687 private static readonly pb::MessageParser<LinearExpressionProto> _parser =
new pb::MessageParser<LinearExpressionProto>(() =>
new LinearExpressionProto());
688 private pb::UnknownFieldSet _unknownFields;
689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
690 public static pb::MessageParser<LinearExpressionProto> Parser {
get {
return _parser; } }
692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
693 public static pbr::MessageDescriptor Descriptor {
694 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[3]; }
697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
698 pbr::MessageDescriptor pb::IMessage.Descriptor {
699 get {
return Descriptor; }
702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
707 partial
void OnConstruction();
709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
711 vars_ = other.vars_.Clone();
712 coeffs_ = other.coeffs_.Clone();
713 offset_ = other.offset_;
714 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
723 public const int VarsFieldNumber = 1;
724 private static readonly pb::FieldCodec<int> _repeated_vars_codec
725 = pb::FieldCodec.ForInt32(10);
726 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
728 public pbc::RepeatedField<int> Vars {
729 get {
return vars_; }
733 public const int CoeffsFieldNumber = 2;
734 private static readonly pb::FieldCodec<int> _repeated_coeffs_codec
735 = pb::FieldCodec.ForInt32(18);
736 private readonly pbc::RepeatedField<int> coeffs_ =
new pbc::RepeatedField<int>();
737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
738 public pbc::RepeatedField<int> Coeffs {
739 get {
return coeffs_; }
743 public const int OffsetFieldNumber = 3;
744 private long offset_;
745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
747 get {
return offset_; }
753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
754 public override bool Equals(
object other) {
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
760 if (ReferenceEquals(other,
null)) {
763 if (ReferenceEquals(other,
this)) {
766 if(!vars_.Equals(other.vars_))
return false;
767 if(!coeffs_.Equals(other.coeffs_))
return false;
768 if (Offset != other.
Offset)
return false;
769 return Equals(_unknownFields, other._unknownFields);
772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
775 hash ^= vars_.GetHashCode();
776 hash ^= coeffs_.GetHashCode();
777 if (Offset != 0L) hash ^= Offset.GetHashCode();
778 if (_unknownFields !=
null) {
779 hash ^= _unknownFields.GetHashCode();
784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
786 return pb::JsonFormatter.ToDiagnosticString(
this);
789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 public void WriteTo(pb::CodedOutputStream output) {
791 vars_.WriteTo(output, _repeated_vars_codec);
792 coeffs_.WriteTo(output, _repeated_coeffs_codec);
794 output.WriteRawTag(24);
795 output.WriteInt64(Offset);
797 if (_unknownFields !=
null) {
798 _unknownFields.WriteTo(output);
802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
805 size += vars_.CalculateSize(_repeated_vars_codec);
806 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
808 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
810 if (_unknownFields !=
null) {
811 size += _unknownFields.CalculateSize();
816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
821 vars_.Add(other.vars_);
822 coeffs_.Add(other.coeffs_);
826 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
832 while ((tag = input.ReadTag()) != 0) {
835 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
839 vars_.AddEntriesFrom(input, _repeated_vars_codec);
844 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
848 Offset = input.ReadInt64();
858 private static readonly pb::MessageParser<LinearArgumentProto> _parser =
new pb::MessageParser<LinearArgumentProto>(() =>
new LinearArgumentProto());
859 private pb::UnknownFieldSet _unknownFields;
860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
861 public static pb::MessageParser<LinearArgumentProto> Parser {
get {
return _parser; } }
863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
864 public static pbr::MessageDescriptor Descriptor {
865 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[4]; }
868 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
869 pbr::MessageDescriptor pb::IMessage.Descriptor {
870 get {
return Descriptor; }
873 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
878 partial
void OnConstruction();
880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
882 target_ = other.target_ !=
null ? other.target_.
Clone() :
null;
883 exprs_ = other.exprs_.Clone();
884 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
893 public const int TargetFieldNumber = 1;
894 private global::Google.OrTools.Sat.LinearExpressionProto target_;
895 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
896 public global::Google.OrTools.Sat.LinearExpressionProto Target {
897 get {
return target_; }
904 public const int ExprsFieldNumber = 2;
905 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
906 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
907 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
909 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> Exprs {
910 get {
return exprs_; }
913 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
914 public override bool Equals(
object other) {
918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
920 if (ReferenceEquals(other,
null)) {
923 if (ReferenceEquals(other,
this)) {
926 if (!
object.Equals(Target, other.
Target))
return false;
927 if(!exprs_.Equals(other.exprs_))
return false;
928 return Equals(_unknownFields, other._unknownFields);
931 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
934 if (target_ !=
null) hash ^= Target.GetHashCode();
935 hash ^= exprs_.GetHashCode();
936 if (_unknownFields !=
null) {
937 hash ^= _unknownFields.GetHashCode();
942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
944 return pb::JsonFormatter.ToDiagnosticString(
this);
947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
948 public void WriteTo(pb::CodedOutputStream output) {
949 if (target_ !=
null) {
950 output.WriteRawTag(10);
951 output.WriteMessage(Target);
953 exprs_.WriteTo(output, _repeated_exprs_codec);
954 if (_unknownFields !=
null) {
955 _unknownFields.WriteTo(output);
959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
962 if (target_ !=
null) {
963 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
965 size += exprs_.CalculateSize(_repeated_exprs_codec);
966 if (_unknownFields !=
null) {
967 size += _unknownFields.CalculateSize();
972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
977 if (other.target_ !=
null) {
978 if (target_ ==
null) {
979 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
981 Target.MergeFrom(other.
Target);
983 exprs_.Add(other.exprs_);
984 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
990 while ((tag = input.ReadTag()) != 0) {
993 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
996 if (target_ ==
null) {
997 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
999 input.ReadMessage(Target);
1003 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1016 private static readonly pb::MessageParser<AllDifferentConstraintProto> _parser =
new pb::MessageParser<AllDifferentConstraintProto>(() =>
new AllDifferentConstraintProto());
1017 private pb::UnknownFieldSet _unknownFields;
1018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1019 public static pb::MessageParser<AllDifferentConstraintProto> Parser {
get {
return _parser; } }
1021 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1022 public static pbr::MessageDescriptor Descriptor {
1023 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[5]; }
1026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1027 pbr::MessageDescriptor pb::IMessage.Descriptor {
1028 get {
return Descriptor; }
1031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1036 partial
void OnConstruction();
1038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1040 vars_ = other.vars_.Clone();
1041 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 public const int VarsFieldNumber = 1;
1051 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1052 = pb::FieldCodec.ForInt32(10);
1053 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1055 public pbc::RepeatedField<int> Vars {
1056 get {
return vars_; }
1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1064 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1066 if (ReferenceEquals(other,
null)) {
1069 if (ReferenceEquals(other,
this)) {
1072 if(!vars_.Equals(other.vars_))
return false;
1073 return Equals(_unknownFields, other._unknownFields);
1076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1079 hash ^= vars_.GetHashCode();
1080 if (_unknownFields !=
null) {
1081 hash ^= _unknownFields.GetHashCode();
1086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1088 return pb::JsonFormatter.ToDiagnosticString(
this);
1091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1092 public void WriteTo(pb::CodedOutputStream output) {
1093 vars_.WriteTo(output, _repeated_vars_codec);
1094 if (_unknownFields !=
null) {
1095 _unknownFields.WriteTo(output);
1099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1102 size += vars_.CalculateSize(_repeated_vars_codec);
1103 if (_unknownFields !=
null) {
1104 size += _unknownFields.CalculateSize();
1109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1111 if (other ==
null) {
1114 vars_.Add(other.vars_);
1115 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1121 while ((tag = input.ReadTag()) != 0) {
1124 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1128 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1146 private static readonly pb::MessageParser<LinearConstraintProto> _parser =
new pb::MessageParser<LinearConstraintProto>(() =>
new LinearConstraintProto());
1147 private pb::UnknownFieldSet _unknownFields;
1148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1149 public static pb::MessageParser<LinearConstraintProto> Parser {
get {
return _parser; } }
1151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1152 public static pbr::MessageDescriptor Descriptor {
1153 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[6]; }
1156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1157 pbr::MessageDescriptor pb::IMessage.Descriptor {
1158 get {
return Descriptor; }
1161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1166 partial
void OnConstruction();
1168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1170 vars_ = other.vars_.Clone();
1171 coeffs_ = other.coeffs_.Clone();
1172 domain_ = other.domain_.Clone();
1173 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1182 public const int VarsFieldNumber = 1;
1183 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1184 = pb::FieldCodec.ForInt32(10);
1185 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1187 public pbc::RepeatedField<int> Vars {
1188 get {
return vars_; }
1192 public const int CoeffsFieldNumber = 2;
1193 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
1194 = pb::FieldCodec.ForInt64(18);
1195 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
1199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1200 public pbc::RepeatedField<long> Coeffs {
1201 get {
return coeffs_; }
1205 public const int DomainFieldNumber = 3;
1206 private static readonly pb::FieldCodec<long> _repeated_domain_codec
1207 = pb::FieldCodec.ForInt64(26);
1208 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
1209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1211 get {
return domain_; }
1214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1221 if (ReferenceEquals(other,
null)) {
1224 if (ReferenceEquals(other,
this)) {
1227 if(!vars_.Equals(other.vars_))
return false;
1228 if(!coeffs_.Equals(other.coeffs_))
return false;
1229 if(!domain_.Equals(other.domain_))
return false;
1230 return Equals(_unknownFields, other._unknownFields);
1233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1236 hash ^= vars_.GetHashCode();
1237 hash ^= coeffs_.GetHashCode();
1238 hash ^= domain_.GetHashCode();
1239 if (_unknownFields !=
null) {
1240 hash ^= _unknownFields.GetHashCode();
1245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1247 return pb::JsonFormatter.ToDiagnosticString(
this);
1250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1251 public void WriteTo(pb::CodedOutputStream output) {
1252 vars_.WriteTo(output, _repeated_vars_codec);
1253 coeffs_.WriteTo(output, _repeated_coeffs_codec);
1254 domain_.WriteTo(output, _repeated_domain_codec);
1255 if (_unknownFields !=
null) {
1256 _unknownFields.WriteTo(output);
1260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1263 size += vars_.CalculateSize(_repeated_vars_codec);
1264 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
1265 size += domain_.CalculateSize(_repeated_domain_codec);
1266 if (_unknownFields !=
null) {
1267 size += _unknownFields.CalculateSize();
1272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1274 if (other ==
null) {
1277 vars_.Add(other.vars_);
1278 coeffs_.Add(other.coeffs_);
1279 domain_.Add(other.domain_);
1280 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1286 while ((tag = input.ReadTag()) != 0) {
1289 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1293 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1298 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1303 domain_.AddEntriesFrom(input, _repeated_domain_codec);
1317 private static readonly pb::MessageParser<ElementConstraintProto> _parser =
new pb::MessageParser<ElementConstraintProto>(() =>
new ElementConstraintProto());
1318 private pb::UnknownFieldSet _unknownFields;
1319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1320 public static pb::MessageParser<ElementConstraintProto> Parser {
get {
return _parser; } }
1322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1323 public static pbr::MessageDescriptor Descriptor {
1324 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[7]; }
1327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1328 pbr::MessageDescriptor pb::IMessage.Descriptor {
1329 get {
return Descriptor; }
1332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1337 partial
void OnConstruction();
1339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1341 index_ = other.index_;
1342 target_ = other.target_;
1343 vars_ = other.vars_.Clone();
1344 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1353 public const int IndexFieldNumber = 1;
1355 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1357 get {
return index_; }
1364 public const int TargetFieldNumber = 2;
1365 private int target_;
1366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1368 get {
return target_; }
1375 public const int VarsFieldNumber = 3;
1376 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1377 = pb::FieldCodec.ForInt32(26);
1378 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1380 public pbc::RepeatedField<int> Vars {
1381 get {
return vars_; }
1384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1391 if (ReferenceEquals(other,
null)) {
1394 if (ReferenceEquals(other,
this)) {
1397 if (Index != other.
Index)
return false;
1398 if (Target != other.
Target)
return false;
1399 if(!vars_.Equals(other.vars_))
return false;
1400 return Equals(_unknownFields, other._unknownFields);
1403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1406 if (Index != 0) hash ^= Index.GetHashCode();
1407 if (Target != 0) hash ^= Target.GetHashCode();
1408 hash ^= vars_.GetHashCode();
1409 if (_unknownFields !=
null) {
1410 hash ^= _unknownFields.GetHashCode();
1415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1417 return pb::JsonFormatter.ToDiagnosticString(
this);
1420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1421 public void WriteTo(pb::CodedOutputStream output) {
1423 output.WriteRawTag(8);
1424 output.WriteInt32(Index);
1427 output.WriteRawTag(16);
1428 output.WriteInt32(Target);
1430 vars_.WriteTo(output, _repeated_vars_codec);
1431 if (_unknownFields !=
null) {
1432 _unknownFields.WriteTo(output);
1436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1440 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
1443 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
1445 size += vars_.CalculateSize(_repeated_vars_codec);
1446 if (_unknownFields !=
null) {
1447 size += _unknownFields.CalculateSize();
1452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1454 if (other ==
null) {
1457 if (other.
Index != 0) {
1458 Index = other.
Index;
1463 vars_.Add(other.vars_);
1464 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1470 while ((tag = input.ReadTag()) != 0) {
1473 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1476 Index = input.ReadInt32();
1480 Target = input.ReadInt32();
1485 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1499 private static readonly pb::MessageParser<IntervalConstraintProto> _parser =
new pb::MessageParser<IntervalConstraintProto>(() =>
new IntervalConstraintProto());
1500 private pb::UnknownFieldSet _unknownFields;
1501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1502 public static pb::MessageParser<IntervalConstraintProto> Parser {
get {
return _parser; } }
1504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1505 public static pbr::MessageDescriptor Descriptor {
1506 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[8]; }
1509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1510 pbr::MessageDescriptor pb::IMessage.Descriptor {
1511 get {
return Descriptor; }
1514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1519 partial
void OnConstruction();
1521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1523 start_ = other.start_;
1525 size_ = other.size_;
1526 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1535 public const int StartFieldNumber = 1;
1537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1539 get {
return start_; }
1546 public const int EndFieldNumber = 2;
1548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1550 get {
return end_; }
1557 public const int SizeFieldNumber = 3;
1559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1561 get {
return size_; }
1567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1574 if (ReferenceEquals(other,
null)) {
1577 if (ReferenceEquals(other,
this)) {
1580 if (Start != other.
Start)
return false;
1581 if (End != other.
End)
return false;
1582 if (Size != other.
Size)
return false;
1583 return Equals(_unknownFields, other._unknownFields);
1586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1589 if (Start != 0) hash ^= Start.GetHashCode();
1590 if (End != 0) hash ^= End.GetHashCode();
1591 if (Size != 0) hash ^= Size.GetHashCode();
1592 if (_unknownFields !=
null) {
1593 hash ^= _unknownFields.GetHashCode();
1598 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1600 return pb::JsonFormatter.ToDiagnosticString(
this);
1603 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1604 public void WriteTo(pb::CodedOutputStream output) {
1606 output.WriteRawTag(8);
1607 output.WriteInt32(Start);
1610 output.WriteRawTag(16);
1611 output.WriteInt32(End);
1614 output.WriteRawTag(24);
1615 output.WriteInt32(Size);
1617 if (_unknownFields !=
null) {
1618 _unknownFields.WriteTo(output);
1622 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1626 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
1629 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
1632 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Size);
1634 if (_unknownFields !=
null) {
1635 size += _unknownFields.CalculateSize();
1640 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1642 if (other ==
null) {
1645 if (other.
Start != 0) {
1646 Start = other.
Start;
1648 if (other.
End != 0) {
1651 if (other.
Size != 0) {
1654 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1660 while ((tag = input.ReadTag()) != 0) {
1663 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1666 Start = input.ReadInt32();
1670 End = input.ReadInt32();
1674 Size = input.ReadInt32();
1691 private static readonly pb::MessageParser<NoOverlapConstraintProto> _parser =
new pb::MessageParser<NoOverlapConstraintProto>(() =>
new NoOverlapConstraintProto());
1692 private pb::UnknownFieldSet _unknownFields;
1693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1694 public static pb::MessageParser<NoOverlapConstraintProto> Parser {
get {
return _parser; } }
1696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1697 public static pbr::MessageDescriptor Descriptor {
1698 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[9]; }
1701 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1702 pbr::MessageDescriptor pb::IMessage.Descriptor {
1703 get {
return Descriptor; }
1706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1711 partial
void OnConstruction();
1713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1715 intervals_ = other.intervals_.Clone();
1716 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1725 public const int IntervalsFieldNumber = 1;
1726 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
1727 = pb::FieldCodec.ForInt32(10);
1728 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
1729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1730 public pbc::RepeatedField<int> Intervals {
1731 get {
return intervals_; }
1734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1741 if (ReferenceEquals(other,
null)) {
1744 if (ReferenceEquals(other,
this)) {
1747 if(!intervals_.Equals(other.intervals_))
return false;
1748 return Equals(_unknownFields, other._unknownFields);
1751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1754 hash ^= intervals_.GetHashCode();
1755 if (_unknownFields !=
null) {
1756 hash ^= _unknownFields.GetHashCode();
1761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1763 return pb::JsonFormatter.ToDiagnosticString(
this);
1766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1767 public void WriteTo(pb::CodedOutputStream output) {
1768 intervals_.WriteTo(output, _repeated_intervals_codec);
1769 if (_unknownFields !=
null) {
1770 _unknownFields.WriteTo(output);
1774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1777 size += intervals_.CalculateSize(_repeated_intervals_codec);
1778 if (_unknownFields !=
null) {
1779 size += _unknownFields.CalculateSize();
1784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1786 if (other ==
null) {
1789 intervals_.Add(other.intervals_);
1790 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1796 while ((tag = input.ReadTag()) != 0) {
1799 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1803 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
1816 private static readonly pb::MessageParser<NoOverlap2DConstraintProto> _parser =
new pb::MessageParser<NoOverlap2DConstraintProto>(() =>
new NoOverlap2DConstraintProto());
1817 private pb::UnknownFieldSet _unknownFields;
1818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1819 public static pb::MessageParser<NoOverlap2DConstraintProto> Parser {
get {
return _parser; } }
1821 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1822 public static pbr::MessageDescriptor Descriptor {
1823 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[10]; }
1826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1827 pbr::MessageDescriptor pb::IMessage.Descriptor {
1828 get {
return Descriptor; }
1831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1836 partial
void OnConstruction();
1838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1840 xIntervals_ = other.xIntervals_.Clone();
1841 yIntervals_ = other.yIntervals_.Clone();
1842 boxesWithNullAreaCanOverlap_ = other.boxesWithNullAreaCanOverlap_;
1843 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1852 public const int XIntervalsFieldNumber = 1;
1853 private static readonly pb::FieldCodec<int> _repeated_xIntervals_codec
1854 = pb::FieldCodec.ForInt32(10);
1855 private readonly pbc::RepeatedField<int> xIntervals_ =
new pbc::RepeatedField<int>();
1856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1857 public pbc::RepeatedField<int> XIntervals {
1858 get {
return xIntervals_; }
1862 public const int YIntervalsFieldNumber = 2;
1863 private static readonly pb::FieldCodec<int> _repeated_yIntervals_codec
1864 = pb::FieldCodec.ForInt32(18);
1865 private readonly pbc::RepeatedField<int> yIntervals_ =
new pbc::RepeatedField<int>();
1869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870 public pbc::RepeatedField<int> YIntervals {
1871 get {
return yIntervals_; }
1875 public const int BoxesWithNullAreaCanOverlapFieldNumber = 3;
1876 private bool boxesWithNullAreaCanOverlap_;
1877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1878 public bool BoxesWithNullAreaCanOverlap {
1879 get {
return boxesWithNullAreaCanOverlap_; }
1881 boxesWithNullAreaCanOverlap_ = value;
1885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1892 if (ReferenceEquals(other,
null)) {
1895 if (ReferenceEquals(other,
this)) {
1898 if(!xIntervals_.Equals(other.xIntervals_))
return false;
1899 if(!yIntervals_.Equals(other.yIntervals_))
return false;
1901 return Equals(_unknownFields, other._unknownFields);
1904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1907 hash ^= xIntervals_.GetHashCode();
1908 hash ^= yIntervals_.GetHashCode();
1909 if (BoxesWithNullAreaCanOverlap !=
false) hash ^= BoxesWithNullAreaCanOverlap.GetHashCode();
1910 if (_unknownFields !=
null) {
1911 hash ^= _unknownFields.GetHashCode();
1916 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1918 return pb::JsonFormatter.ToDiagnosticString(
this);
1921 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1922 public void WriteTo(pb::CodedOutputStream output) {
1923 xIntervals_.WriteTo(output, _repeated_xIntervals_codec);
1924 yIntervals_.WriteTo(output, _repeated_yIntervals_codec);
1925 if (BoxesWithNullAreaCanOverlap !=
false) {
1926 output.WriteRawTag(24);
1927 output.WriteBool(BoxesWithNullAreaCanOverlap);
1929 if (_unknownFields !=
null) {
1930 _unknownFields.WriteTo(output);
1934 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1937 size += xIntervals_.CalculateSize(_repeated_xIntervals_codec);
1938 size += yIntervals_.CalculateSize(_repeated_yIntervals_codec);
1939 if (BoxesWithNullAreaCanOverlap !=
false) {
1942 if (_unknownFields !=
null) {
1943 size += _unknownFields.CalculateSize();
1948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1950 if (other ==
null) {
1953 xIntervals_.Add(other.xIntervals_);
1954 yIntervals_.Add(other.yIntervals_);
1958 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1964 while ((tag = input.ReadTag()) != 0) {
1967 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1971 xIntervals_.AddEntriesFrom(input, _repeated_xIntervals_codec);
1976 yIntervals_.AddEntriesFrom(input, _repeated_yIntervals_codec);
1980 BoxesWithNullAreaCanOverlap = input.ReadBool();
1996 private static readonly pb::MessageParser<CumulativeConstraintProto> _parser =
new pb::MessageParser<CumulativeConstraintProto>(() =>
new CumulativeConstraintProto());
1997 private pb::UnknownFieldSet _unknownFields;
1998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1999 public static pb::MessageParser<CumulativeConstraintProto> Parser {
get {
return _parser; } }
2001 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2002 public static pbr::MessageDescriptor Descriptor {
2003 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[11]; }
2006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2007 pbr::MessageDescriptor pb::IMessage.Descriptor {
2008 get {
return Descriptor; }
2011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2016 partial
void OnConstruction();
2018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2020 capacity_ = other.capacity_;
2021 intervals_ = other.intervals_.Clone();
2022 demands_ = other.demands_.Clone();
2023 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2032 public const int CapacityFieldNumber = 1;
2033 private int capacity_;
2034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2035 public int Capacity {
2036 get {
return capacity_; }
2043 public const int IntervalsFieldNumber = 2;
2044 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2045 = pb::FieldCodec.ForInt32(18);
2046 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2048 public pbc::RepeatedField<int> Intervals {
2049 get {
return intervals_; }
2053 public const int DemandsFieldNumber = 3;
2054 private static readonly pb::FieldCodec<int> _repeated_demands_codec
2055 = pb::FieldCodec.ForInt32(26);
2056 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
2060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2061 public pbc::RepeatedField<int> Demands {
2062 get {
return demands_; }
2065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2072 if (ReferenceEquals(other,
null)) {
2075 if (ReferenceEquals(other,
this)) {
2078 if (Capacity != other.
Capacity)
return false;
2079 if(!intervals_.Equals(other.intervals_))
return false;
2080 if(!demands_.Equals(other.demands_))
return false;
2081 return Equals(_unknownFields, other._unknownFields);
2084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2087 if (Capacity != 0) hash ^= Capacity.GetHashCode();
2088 hash ^= intervals_.GetHashCode();
2089 hash ^= demands_.GetHashCode();
2090 if (_unknownFields !=
null) {
2091 hash ^= _unknownFields.GetHashCode();
2096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2098 return pb::JsonFormatter.ToDiagnosticString(
this);
2101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2102 public void WriteTo(pb::CodedOutputStream output) {
2103 if (Capacity != 0) {
2104 output.WriteRawTag(8);
2105 output.WriteInt32(Capacity);
2107 intervals_.WriteTo(output, _repeated_intervals_codec);
2108 demands_.WriteTo(output, _repeated_demands_codec);
2109 if (_unknownFields !=
null) {
2110 _unknownFields.WriteTo(output);
2114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2117 if (Capacity != 0) {
2118 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Capacity);
2120 size += intervals_.CalculateSize(_repeated_intervals_codec);
2121 size += demands_.CalculateSize(_repeated_demands_codec);
2122 if (_unknownFields !=
null) {
2123 size += _unknownFields.CalculateSize();
2128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2130 if (other ==
null) {
2136 intervals_.Add(other.intervals_);
2137 demands_.Add(other.demands_);
2138 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2144 while ((tag = input.ReadTag()) != 0) {
2147 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2150 Capacity = input.ReadInt32();
2155 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2160 demands_.AddEntriesFrom(input, _repeated_demands_codec);
2186 private static readonly pb::MessageParser<ReservoirConstraintProto> _parser =
new pb::MessageParser<ReservoirConstraintProto>(() =>
new ReservoirConstraintProto());
2187 private pb::UnknownFieldSet _unknownFields;
2188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2189 public static pb::MessageParser<ReservoirConstraintProto> Parser {
get {
return _parser; } }
2191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2192 public static pbr::MessageDescriptor Descriptor {
2193 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[12]; }
2196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2197 pbr::MessageDescriptor pb::IMessage.Descriptor {
2198 get {
return Descriptor; }
2201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2206 partial
void OnConstruction();
2208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2210 minLevel_ = other.minLevel_;
2211 maxLevel_ = other.maxLevel_;
2212 times_ = other.times_.Clone();
2213 demands_ = other.demands_.Clone();
2214 actives_ = other.actives_.Clone();
2215 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2224 public const int MinLevelFieldNumber = 1;
2225 private long minLevel_;
2226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2227 public long MinLevel {
2228 get {
return minLevel_; }
2235 public const int MaxLevelFieldNumber = 2;
2236 private long maxLevel_;
2237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2238 public long MaxLevel {
2239 get {
return maxLevel_; }
2246 public const int TimesFieldNumber = 3;
2247 private static readonly pb::FieldCodec<int> _repeated_times_codec
2248 = pb::FieldCodec.ForInt32(26);
2249 private readonly pbc::RepeatedField<int> times_ =
new pbc::RepeatedField<int>();
2253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2254 public pbc::RepeatedField<int> Times {
2255 get {
return times_; }
2259 public const int DemandsFieldNumber = 4;
2260 private static readonly pb::FieldCodec<long> _repeated_demands_codec
2261 = pb::FieldCodec.ForInt64(34);
2262 private readonly pbc::RepeatedField<long> demands_ =
new pbc::RepeatedField<long>();
2266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2267 public pbc::RepeatedField<long> Demands {
2268 get {
return demands_; }
2272 public const int ActivesFieldNumber = 5;
2273 private static readonly pb::FieldCodec<int> _repeated_actives_codec
2274 = pb::FieldCodec.ForInt32(42);
2275 private readonly pbc::RepeatedField<int> actives_ =
new pbc::RepeatedField<int>();
2279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2280 public pbc::RepeatedField<int> Actives {
2281 get {
return actives_; }
2284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2289 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2291 if (ReferenceEquals(other,
null)) {
2294 if (ReferenceEquals(other,
this)) {
2297 if (MinLevel != other.
MinLevel)
return false;
2298 if (MaxLevel != other.
MaxLevel)
return false;
2299 if(!times_.Equals(other.times_))
return false;
2300 if(!demands_.Equals(other.demands_))
return false;
2301 if(!actives_.Equals(other.actives_))
return false;
2302 return Equals(_unknownFields, other._unknownFields);
2305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2308 if (MinLevel != 0L) hash ^= MinLevel.GetHashCode();
2309 if (MaxLevel != 0L) hash ^= MaxLevel.GetHashCode();
2310 hash ^= times_.GetHashCode();
2311 hash ^= demands_.GetHashCode();
2312 hash ^= actives_.GetHashCode();
2313 if (_unknownFields !=
null) {
2314 hash ^= _unknownFields.GetHashCode();
2319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2321 return pb::JsonFormatter.ToDiagnosticString(
this);
2324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2325 public void WriteTo(pb::CodedOutputStream output) {
2326 if (MinLevel != 0L) {
2327 output.WriteRawTag(8);
2328 output.WriteInt64(MinLevel);
2330 if (MaxLevel != 0L) {
2331 output.WriteRawTag(16);
2332 output.WriteInt64(MaxLevel);
2334 times_.WriteTo(output, _repeated_times_codec);
2335 demands_.WriteTo(output, _repeated_demands_codec);
2336 actives_.WriteTo(output, _repeated_actives_codec);
2337 if (_unknownFields !=
null) {
2338 _unknownFields.WriteTo(output);
2342 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2345 if (MinLevel != 0L) {
2346 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MinLevel);
2348 if (MaxLevel != 0L) {
2349 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaxLevel);
2351 size += times_.CalculateSize(_repeated_times_codec);
2352 size += demands_.CalculateSize(_repeated_demands_codec);
2353 size += actives_.CalculateSize(_repeated_actives_codec);
2354 if (_unknownFields !=
null) {
2355 size += _unknownFields.CalculateSize();
2360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2362 if (other ==
null) {
2371 times_.Add(other.times_);
2372 demands_.Add(other.demands_);
2373 actives_.Add(other.actives_);
2374 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2380 while ((tag = input.ReadTag()) != 0) {
2383 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2386 MinLevel = input.ReadInt64();
2390 MaxLevel = input.ReadInt64();
2395 times_.AddEntriesFrom(input, _repeated_times_codec);
2400 demands_.AddEntriesFrom(input, _repeated_demands_codec);
2405 actives_.AddEntriesFrom(input, _repeated_actives_codec);
2425 private static readonly pb::MessageParser<CircuitConstraintProto> _parser =
new pb::MessageParser<CircuitConstraintProto>(() =>
new CircuitConstraintProto());
2426 private pb::UnknownFieldSet _unknownFields;
2427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2428 public static pb::MessageParser<CircuitConstraintProto> Parser {
get {
return _parser; } }
2430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2431 public static pbr::MessageDescriptor Descriptor {
2432 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[13]; }
2435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2436 pbr::MessageDescriptor pb::IMessage.Descriptor {
2437 get {
return Descriptor; }
2440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2445 partial
void OnConstruction();
2447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2449 tails_ = other.tails_.Clone();
2450 heads_ = other.heads_.Clone();
2451 literals_ = other.literals_.Clone();
2452 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2461 public const int TailsFieldNumber = 3;
2462 private static readonly pb::FieldCodec<int> _repeated_tails_codec
2463 = pb::FieldCodec.ForInt32(26);
2464 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
2465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2466 public pbc::RepeatedField<int> Tails {
2467 get {
return tails_; }
2471 public const int HeadsFieldNumber = 4;
2472 private static readonly pb::FieldCodec<int> _repeated_heads_codec
2473 = pb::FieldCodec.ForInt32(34);
2474 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
2475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2476 public pbc::RepeatedField<int> Heads {
2477 get {
return heads_; }
2481 public const int LiteralsFieldNumber = 5;
2482 private static readonly pb::FieldCodec<int> _repeated_literals_codec
2483 = pb::FieldCodec.ForInt32(42);
2484 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
2485 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2486 public pbc::RepeatedField<int> Literals {
2487 get {
return literals_; }
2490 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2497 if (ReferenceEquals(other,
null)) {
2500 if (ReferenceEquals(other,
this)) {
2503 if(!tails_.Equals(other.tails_))
return false;
2504 if(!heads_.Equals(other.heads_))
return false;
2505 if(!literals_.Equals(other.literals_))
return false;
2506 return Equals(_unknownFields, other._unknownFields);
2509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2512 hash ^= tails_.GetHashCode();
2513 hash ^= heads_.GetHashCode();
2514 hash ^= literals_.GetHashCode();
2515 if (_unknownFields !=
null) {
2516 hash ^= _unknownFields.GetHashCode();
2521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2523 return pb::JsonFormatter.ToDiagnosticString(
this);
2526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2527 public void WriteTo(pb::CodedOutputStream output) {
2528 tails_.WriteTo(output, _repeated_tails_codec);
2529 heads_.WriteTo(output, _repeated_heads_codec);
2530 literals_.WriteTo(output, _repeated_literals_codec);
2531 if (_unknownFields !=
null) {
2532 _unknownFields.WriteTo(output);
2536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2539 size += tails_.CalculateSize(_repeated_tails_codec);
2540 size += heads_.CalculateSize(_repeated_heads_codec);
2541 size += literals_.CalculateSize(_repeated_literals_codec);
2542 if (_unknownFields !=
null) {
2543 size += _unknownFields.CalculateSize();
2548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2550 if (other ==
null) {
2553 tails_.Add(other.tails_);
2554 heads_.Add(other.heads_);
2555 literals_.Add(other.literals_);
2556 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2562 while ((tag = input.ReadTag()) != 0) {
2565 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2569 tails_.AddEntriesFrom(input, _repeated_tails_codec);
2574 heads_.AddEntriesFrom(input, _repeated_heads_codec);
2579 literals_.AddEntriesFrom(input, _repeated_literals_codec);
2606 private static readonly pb::MessageParser<RoutesConstraintProto> _parser =
new pb::MessageParser<RoutesConstraintProto>(() =>
new RoutesConstraintProto());
2607 private pb::UnknownFieldSet _unknownFields;
2608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2609 public static pb::MessageParser<RoutesConstraintProto> Parser {
get {
return _parser; } }
2611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2612 public static pbr::MessageDescriptor Descriptor {
2613 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[14]; }
2616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2617 pbr::MessageDescriptor pb::IMessage.Descriptor {
2618 get {
return Descriptor; }
2621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2626 partial
void OnConstruction();
2628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2630 tails_ = other.tails_.Clone();
2631 heads_ = other.heads_.Clone();
2632 literals_ = other.literals_.Clone();
2633 demands_ = other.demands_.Clone();
2634 capacity_ = other.capacity_;
2635 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2644 public const int TailsFieldNumber = 1;
2645 private static readonly pb::FieldCodec<int> _repeated_tails_codec
2646 = pb::FieldCodec.ForInt32(10);
2647 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
2648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2649 public pbc::RepeatedField<int> Tails {
2650 get {
return tails_; }
2654 public const int HeadsFieldNumber = 2;
2655 private static readonly pb::FieldCodec<int> _repeated_heads_codec
2656 = pb::FieldCodec.ForInt32(18);
2657 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
2658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2659 public pbc::RepeatedField<int> Heads {
2660 get {
return heads_; }
2664 public const int LiteralsFieldNumber = 3;
2665 private static readonly pb::FieldCodec<int> _repeated_literals_codec
2666 = pb::FieldCodec.ForInt32(26);
2667 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
2668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2669 public pbc::RepeatedField<int> Literals {
2670 get {
return literals_; }
2674 public const int DemandsFieldNumber = 4;
2675 private static readonly pb::FieldCodec<int> _repeated_demands_codec
2676 = pb::FieldCodec.ForInt32(34);
2677 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
2683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2684 public pbc::RepeatedField<int> Demands {
2685 get {
return demands_; }
2689 public const int CapacityFieldNumber = 5;
2690 private long capacity_;
2691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2692 public long Capacity {
2693 get {
return capacity_; }
2699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2706 if (ReferenceEquals(other,
null)) {
2709 if (ReferenceEquals(other,
this)) {
2712 if(!tails_.Equals(other.tails_))
return false;
2713 if(!heads_.Equals(other.heads_))
return false;
2714 if(!literals_.Equals(other.literals_))
return false;
2715 if(!demands_.Equals(other.demands_))
return false;
2716 if (Capacity != other.
Capacity)
return false;
2717 return Equals(_unknownFields, other._unknownFields);
2720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2723 hash ^= tails_.GetHashCode();
2724 hash ^= heads_.GetHashCode();
2725 hash ^= literals_.GetHashCode();
2726 hash ^= demands_.GetHashCode();
2727 if (Capacity != 0L) hash ^= Capacity.GetHashCode();
2728 if (_unknownFields !=
null) {
2729 hash ^= _unknownFields.GetHashCode();
2734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2736 return pb::JsonFormatter.ToDiagnosticString(
this);
2739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2740 public void WriteTo(pb::CodedOutputStream output) {
2741 tails_.WriteTo(output, _repeated_tails_codec);
2742 heads_.WriteTo(output, _repeated_heads_codec);
2743 literals_.WriteTo(output, _repeated_literals_codec);
2744 demands_.WriteTo(output, _repeated_demands_codec);
2745 if (Capacity != 0L) {
2746 output.WriteRawTag(40);
2747 output.WriteInt64(Capacity);
2749 if (_unknownFields !=
null) {
2750 _unknownFields.WriteTo(output);
2754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2757 size += tails_.CalculateSize(_repeated_tails_codec);
2758 size += heads_.CalculateSize(_repeated_heads_codec);
2759 size += literals_.CalculateSize(_repeated_literals_codec);
2760 size += demands_.CalculateSize(_repeated_demands_codec);
2761 if (Capacity != 0L) {
2762 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Capacity);
2764 if (_unknownFields !=
null) {
2765 size += _unknownFields.CalculateSize();
2770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2772 if (other ==
null) {
2775 tails_.Add(other.tails_);
2776 heads_.Add(other.heads_);
2777 literals_.Add(other.literals_);
2778 demands_.Add(other.demands_);
2782 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2788 while ((tag = input.ReadTag()) != 0) {
2791 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2795 tails_.AddEntriesFrom(input, _repeated_tails_codec);
2800 heads_.AddEntriesFrom(input, _repeated_heads_codec);
2805 literals_.AddEntriesFrom(input, _repeated_literals_codec);
2810 demands_.AddEntriesFrom(input, _repeated_demands_codec);
2814 Capacity = input.ReadInt64();
2829 private static readonly pb::MessageParser<CircuitCoveringConstraintProto> _parser =
new pb::MessageParser<CircuitCoveringConstraintProto>(() =>
new CircuitCoveringConstraintProto());
2830 private pb::UnknownFieldSet _unknownFields;
2831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2832 public static pb::MessageParser<CircuitCoveringConstraintProto> Parser {
get {
return _parser; } }
2834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2835 public static pbr::MessageDescriptor Descriptor {
2836 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[15]; }
2839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2840 pbr::MessageDescriptor pb::IMessage.Descriptor {
2841 get {
return Descriptor; }
2844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2849 partial
void OnConstruction();
2851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2853 nexts_ = other.nexts_.Clone();
2854 distinguishedNodes_ = other.distinguishedNodes_.Clone();
2855 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2858 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2864 public const int NextsFieldNumber = 1;
2865 private static readonly pb::FieldCodec<int> _repeated_nexts_codec
2866 = pb::FieldCodec.ForInt32(10);
2867 private readonly pbc::RepeatedField<int> nexts_ =
new pbc::RepeatedField<int>();
2868 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2869 public pbc::RepeatedField<int> Nexts {
2870 get {
return nexts_; }
2874 public const int DistinguishedNodesFieldNumber = 2;
2875 private static readonly pb::FieldCodec<long> _repeated_distinguishedNodes_codec
2876 = pb::FieldCodec.ForInt64(18);
2877 private readonly pbc::RepeatedField<long> distinguishedNodes_ =
new pbc::RepeatedField<long>();
2878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2879 public pbc::RepeatedField<long> DistinguishedNodes {
2880 get {
return distinguishedNodes_; }
2883 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2890 if (ReferenceEquals(other,
null)) {
2893 if (ReferenceEquals(other,
this)) {
2896 if(!nexts_.Equals(other.nexts_))
return false;
2897 if(!distinguishedNodes_.Equals(other.distinguishedNodes_))
return false;
2898 return Equals(_unknownFields, other._unknownFields);
2901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2904 hash ^= nexts_.GetHashCode();
2905 hash ^= distinguishedNodes_.GetHashCode();
2906 if (_unknownFields !=
null) {
2907 hash ^= _unknownFields.GetHashCode();
2912 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2914 return pb::JsonFormatter.ToDiagnosticString(
this);
2917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2918 public void WriteTo(pb::CodedOutputStream output) {
2919 nexts_.WriteTo(output, _repeated_nexts_codec);
2920 distinguishedNodes_.WriteTo(output, _repeated_distinguishedNodes_codec);
2921 if (_unknownFields !=
null) {
2922 _unknownFields.WriteTo(output);
2926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2929 size += nexts_.CalculateSize(_repeated_nexts_codec);
2930 size += distinguishedNodes_.CalculateSize(_repeated_distinguishedNodes_codec);
2931 if (_unknownFields !=
null) {
2932 size += _unknownFields.CalculateSize();
2937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2939 if (other ==
null) {
2942 nexts_.Add(other.nexts_);
2943 distinguishedNodes_.Add(other.distinguishedNodes_);
2944 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2950 while ((tag = input.ReadTag()) != 0) {
2953 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2957 nexts_.AddEntriesFrom(input, _repeated_nexts_codec);
2962 distinguishedNodes_.AddEntriesFrom(input, _repeated_distinguishedNodes_codec);
2977 private static readonly pb::MessageParser<TableConstraintProto> _parser =
new pb::MessageParser<TableConstraintProto>(() =>
new TableConstraintProto());
2978 private pb::UnknownFieldSet _unknownFields;
2979 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2980 public static pb::MessageParser<TableConstraintProto> Parser {
get {
return _parser; } }
2982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2983 public static pbr::MessageDescriptor Descriptor {
2984 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[16]; }
2987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2988 pbr::MessageDescriptor pb::IMessage.Descriptor {
2989 get {
return Descriptor; }
2992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2997 partial
void OnConstruction();
2999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3001 vars_ = other.vars_.Clone();
3002 values_ = other.values_.Clone();
3003 negated_ = other.negated_;
3004 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3007 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3013 public const int VarsFieldNumber = 1;
3014 private static readonly pb::FieldCodec<int> _repeated_vars_codec
3015 = pb::FieldCodec.ForInt32(10);
3016 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
3017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3018 public pbc::RepeatedField<int> Vars {
3019 get {
return vars_; }
3023 public const int ValuesFieldNumber = 2;
3024 private static readonly pb::FieldCodec<long> _repeated_values_codec
3025 = pb::FieldCodec.ForInt64(18);
3026 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
3027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3028 public pbc::RepeatedField<long> Values {
3029 get {
return values_; }
3033 public const int NegatedFieldNumber = 3;
3034 private bool negated_;
3039 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3040 public bool Negated {
3041 get {
return negated_; }
3047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3052 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3054 if (ReferenceEquals(other,
null)) {
3057 if (ReferenceEquals(other,
this)) {
3060 if(!vars_.Equals(other.vars_))
return false;
3061 if(!values_.Equals(other.values_))
return false;
3062 if (Negated != other.
Negated)
return false;
3063 return Equals(_unknownFields, other._unknownFields);
3066 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3069 hash ^= vars_.GetHashCode();
3070 hash ^= values_.GetHashCode();
3071 if (Negated !=
false) hash ^= Negated.GetHashCode();
3072 if (_unknownFields !=
null) {
3073 hash ^= _unknownFields.GetHashCode();
3078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3080 return pb::JsonFormatter.ToDiagnosticString(
this);
3083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3084 public void WriteTo(pb::CodedOutputStream output) {
3085 vars_.WriteTo(output, _repeated_vars_codec);
3086 values_.WriteTo(output, _repeated_values_codec);
3087 if (Negated !=
false) {
3088 output.WriteRawTag(24);
3089 output.WriteBool(Negated);
3091 if (_unknownFields !=
null) {
3092 _unknownFields.WriteTo(output);
3096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3099 size += vars_.CalculateSize(_repeated_vars_codec);
3100 size += values_.CalculateSize(_repeated_values_codec);
3101 if (Negated !=
false) {
3104 if (_unknownFields !=
null) {
3105 size += _unknownFields.CalculateSize();
3110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3112 if (other ==
null) {
3115 vars_.Add(other.vars_);
3116 values_.Add(other.values_);
3120 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3126 while ((tag = input.ReadTag()) != 0) {
3129 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3133 vars_.AddEntriesFrom(input, _repeated_vars_codec);
3138 values_.AddEntriesFrom(input, _repeated_values_codec);
3142 Negated = input.ReadBool();
3156 private static readonly pb::MessageParser<InverseConstraintProto> _parser =
new pb::MessageParser<InverseConstraintProto>(() =>
new InverseConstraintProto());
3157 private pb::UnknownFieldSet _unknownFields;
3158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3159 public static pb::MessageParser<InverseConstraintProto> Parser {
get {
return _parser; } }
3161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3162 public static pbr::MessageDescriptor Descriptor {
3163 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[17]; }
3166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3167 pbr::MessageDescriptor pb::IMessage.Descriptor {
3168 get {
return Descriptor; }
3171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3176 partial
void OnConstruction();
3178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3180 fDirect_ = other.fDirect_.Clone();
3181 fInverse_ = other.fInverse_.Clone();
3182 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3191 public const int FDirectFieldNumber = 1;
3192 private static readonly pb::FieldCodec<int> _repeated_fDirect_codec
3193 = pb::FieldCodec.ForInt32(10);
3194 private readonly pbc::RepeatedField<int> fDirect_ =
new pbc::RepeatedField<int>();
3195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3196 public pbc::RepeatedField<int> FDirect {
3197 get {
return fDirect_; }
3201 public const int FInverseFieldNumber = 2;
3202 private static readonly pb::FieldCodec<int> _repeated_fInverse_codec
3203 = pb::FieldCodec.ForInt32(18);
3204 private readonly pbc::RepeatedField<int> fInverse_ =
new pbc::RepeatedField<int>();
3205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3206 public pbc::RepeatedField<int> FInverse {
3207 get {
return fInverse_; }
3210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3217 if (ReferenceEquals(other,
null)) {
3220 if (ReferenceEquals(other,
this)) {
3223 if(!fDirect_.Equals(other.fDirect_))
return false;
3224 if(!fInverse_.Equals(other.fInverse_))
return false;
3225 return Equals(_unknownFields, other._unknownFields);
3228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3231 hash ^= fDirect_.GetHashCode();
3232 hash ^= fInverse_.GetHashCode();
3233 if (_unknownFields !=
null) {
3234 hash ^= _unknownFields.GetHashCode();
3239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3241 return pb::JsonFormatter.ToDiagnosticString(
this);
3244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3245 public void WriteTo(pb::CodedOutputStream output) {
3246 fDirect_.WriteTo(output, _repeated_fDirect_codec);
3247 fInverse_.WriteTo(output, _repeated_fInverse_codec);
3248 if (_unknownFields !=
null) {
3249 _unknownFields.WriteTo(output);
3253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3256 size += fDirect_.CalculateSize(_repeated_fDirect_codec);
3257 size += fInverse_.CalculateSize(_repeated_fInverse_codec);
3258 if (_unknownFields !=
null) {
3259 size += _unknownFields.CalculateSize();
3264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3266 if (other ==
null) {
3269 fDirect_.Add(other.fDirect_);
3270 fInverse_.Add(other.fInverse_);
3271 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3277 while ((tag = input.ReadTag()) != 0) {
3280 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3284 fDirect_.AddEntriesFrom(input, _repeated_fDirect_codec);
3289 fInverse_.AddEntriesFrom(input, _repeated_fInverse_codec);
3303 private static readonly pb::MessageParser<AutomatonConstraintProto> _parser =
new pb::MessageParser<AutomatonConstraintProto>(() =>
new AutomatonConstraintProto());
3304 private pb::UnknownFieldSet _unknownFields;
3305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3306 public static pb::MessageParser<AutomatonConstraintProto> Parser {
get {
return _parser; } }
3308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3309 public static pbr::MessageDescriptor Descriptor {
3310 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[18]; }
3313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3314 pbr::MessageDescriptor pb::IMessage.Descriptor {
3315 get {
return Descriptor; }
3318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3323 partial
void OnConstruction();
3325 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3327 startingState_ = other.startingState_;
3328 finalStates_ = other.finalStates_.Clone();
3329 transitionTail_ = other.transitionTail_.Clone();
3330 transitionHead_ = other.transitionHead_.Clone();
3331 transitionLabel_ = other.transitionLabel_.Clone();
3332 vars_ = other.vars_.Clone();
3333 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3342 public const int StartingStateFieldNumber = 2;
3343 private long startingState_;
3349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3350 public long StartingState {
3351 get {
return startingState_; }
3353 startingState_ = value;
3358 public const int FinalStatesFieldNumber = 3;
3359 private static readonly pb::FieldCodec<long> _repeated_finalStates_codec
3360 = pb::FieldCodec.ForInt64(26);
3361 private readonly pbc::RepeatedField<long> finalStates_ =
new pbc::RepeatedField<long>();
3362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3363 public pbc::RepeatedField<long> FinalStates {
3364 get {
return finalStates_; }
3368 public const int TransitionTailFieldNumber = 4;
3369 private static readonly pb::FieldCodec<long> _repeated_transitionTail_codec
3370 = pb::FieldCodec.ForInt64(34);
3371 private readonly pbc::RepeatedField<long> transitionTail_ =
new pbc::RepeatedField<long>();
3377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3378 public pbc::RepeatedField<long> TransitionTail {
3379 get {
return transitionTail_; }
3383 public const int TransitionHeadFieldNumber = 5;
3384 private static readonly pb::FieldCodec<long> _repeated_transitionHead_codec
3385 = pb::FieldCodec.ForInt64(42);
3386 private readonly pbc::RepeatedField<long> transitionHead_ =
new pbc::RepeatedField<long>();
3387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3388 public pbc::RepeatedField<long> TransitionHead {
3389 get {
return transitionHead_; }
3393 public const int TransitionLabelFieldNumber = 6;
3394 private static readonly pb::FieldCodec<long> _repeated_transitionLabel_codec
3395 = pb::FieldCodec.ForInt64(50);
3396 private readonly pbc::RepeatedField<long> transitionLabel_ =
new pbc::RepeatedField<long>();
3397 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3398 public pbc::RepeatedField<long> TransitionLabel {
3399 get {
return transitionLabel_; }
3403 public const int VarsFieldNumber = 7;
3404 private static readonly pb::FieldCodec<int> _repeated_vars_codec
3405 = pb::FieldCodec.ForInt32(58);
3406 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
3411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3412 public pbc::RepeatedField<int> Vars {
3413 get {
return vars_; }
3416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3423 if (ReferenceEquals(other,
null)) {
3426 if (ReferenceEquals(other,
this)) {
3430 if(!finalStates_.Equals(other.finalStates_))
return false;
3431 if(!transitionTail_.Equals(other.transitionTail_))
return false;
3432 if(!transitionHead_.Equals(other.transitionHead_))
return false;
3433 if(!transitionLabel_.Equals(other.transitionLabel_))
return false;
3434 if(!vars_.Equals(other.vars_))
return false;
3435 return Equals(_unknownFields, other._unknownFields);
3438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3441 if (StartingState != 0L) hash ^= StartingState.GetHashCode();
3442 hash ^= finalStates_.GetHashCode();
3443 hash ^= transitionTail_.GetHashCode();
3444 hash ^= transitionHead_.GetHashCode();
3445 hash ^= transitionLabel_.GetHashCode();
3446 hash ^= vars_.GetHashCode();
3447 if (_unknownFields !=
null) {
3448 hash ^= _unknownFields.GetHashCode();
3453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3455 return pb::JsonFormatter.ToDiagnosticString(
this);
3458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3459 public void WriteTo(pb::CodedOutputStream output) {
3460 if (StartingState != 0L) {
3461 output.WriteRawTag(16);
3462 output.WriteInt64(StartingState);
3464 finalStates_.WriteTo(output, _repeated_finalStates_codec);
3465 transitionTail_.WriteTo(output, _repeated_transitionTail_codec);
3466 transitionHead_.WriteTo(output, _repeated_transitionHead_codec);
3467 transitionLabel_.WriteTo(output, _repeated_transitionLabel_codec);
3468 vars_.WriteTo(output, _repeated_vars_codec);
3469 if (_unknownFields !=
null) {
3470 _unknownFields.WriteTo(output);
3474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3477 if (StartingState != 0L) {
3478 size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartingState);
3480 size += finalStates_.CalculateSize(_repeated_finalStates_codec);
3481 size += transitionTail_.CalculateSize(_repeated_transitionTail_codec);
3482 size += transitionHead_.CalculateSize(_repeated_transitionHead_codec);
3483 size += transitionLabel_.CalculateSize(_repeated_transitionLabel_codec);
3484 size += vars_.CalculateSize(_repeated_vars_codec);
3485 if (_unknownFields !=
null) {
3486 size += _unknownFields.CalculateSize();
3491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3493 if (other ==
null) {
3499 finalStates_.Add(other.finalStates_);
3500 transitionTail_.Add(other.transitionTail_);
3501 transitionHead_.Add(other.transitionHead_);
3502 transitionLabel_.Add(other.transitionLabel_);
3503 vars_.Add(other.vars_);
3504 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3510 while ((tag = input.ReadTag()) != 0) {
3513 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3516 StartingState = input.ReadInt64();
3521 finalStates_.AddEntriesFrom(input, _repeated_finalStates_codec);
3526 transitionTail_.AddEntriesFrom(input, _repeated_transitionTail_codec);
3531 transitionHead_.AddEntriesFrom(input, _repeated_transitionHead_codec);
3536 transitionLabel_.AddEntriesFrom(input, _repeated_transitionLabel_codec);
3541 vars_.AddEntriesFrom(input, _repeated_vars_codec);
3554 private static readonly pb::MessageParser<ConstraintProto> _parser =
new pb::MessageParser<ConstraintProto>(() =>
new ConstraintProto());
3555 private pb::UnknownFieldSet _unknownFields;
3556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3557 public static pb::MessageParser<ConstraintProto> Parser {
get {
return _parser; } }
3559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3560 public static pbr::MessageDescriptor Descriptor {
3561 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[19]; }
3564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3565 pbr::MessageDescriptor pb::IMessage.Descriptor {
3566 get {
return Descriptor; }
3569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3574 partial
void OnConstruction();
3576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3578 name_ = other.name_;
3579 enforcementLiteral_ = other.enforcementLiteral_.Clone();
3658 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
3661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3667 public const int NameFieldNumber = 1;
3668 private string name_ =
"";
3672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3673 public string Name {
3674 get {
return name_; }
3676 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
3681 public const int EnforcementLiteralFieldNumber = 2;
3682 private static readonly pb::FieldCodec<int> _repeated_enforcementLiteral_codec
3683 = pb::FieldCodec.ForInt32(18);
3684 private readonly pbc::RepeatedField<int> enforcementLiteral_ =
new pbc::RepeatedField<int>();
3701 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3702 public pbc::RepeatedField<int> EnforcementLiteral {
3703 get {
return enforcementLiteral_; }
3707 public const int BoolOrFieldNumber = 3;
3711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3712 public global::Google.OrTools.Sat.BoolArgumentProto BoolOr {
3713 get {
return constraintCase_ ==
ConstraintOneofCase.BoolOr ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
3715 constraint_ = value;
3721 public const int BoolAndFieldNumber = 4;
3729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3730 public global::Google.OrTools.Sat.BoolArgumentProto BoolAnd {
3731 get {
return constraintCase_ ==
ConstraintOneofCase.BoolAnd ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
3733 constraint_ = value;
3739 public const int AtMostOneFieldNumber = 26;
3747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3748 public global::Google.OrTools.Sat.BoolArgumentProto AtMostOne {
3749 get {
return constraintCase_ ==
ConstraintOneofCase.AtMostOne ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
3751 constraint_ = value;
3757 public const int BoolXorFieldNumber = 5;
3761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3762 public global::Google.OrTools.Sat.BoolArgumentProto BoolXor {
3763 get {
return constraintCase_ ==
ConstraintOneofCase.BoolXor ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
3765 constraint_ = value;
3771 public const int IntDivFieldNumber = 7;
3775 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3776 public global::Google.OrTools.Sat.IntegerArgumentProto IntDiv {
3777 get {
return constraintCase_ ==
ConstraintOneofCase.IntDiv ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
3779 constraint_ = value;
3785 public const int IntModFieldNumber = 8;
3789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3790 public global::Google.OrTools.Sat.IntegerArgumentProto IntMod {
3791 get {
return constraintCase_ ==
ConstraintOneofCase.IntMod ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
3793 constraint_ = value;
3799 public const int IntMaxFieldNumber = 9;
3805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3806 public global::Google.OrTools.Sat.IntegerArgumentProto IntMax {
3807 get {
return constraintCase_ ==
ConstraintOneofCase.IntMax ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
3809 constraint_ = value;
3815 public const int LinMaxFieldNumber = 27;
3820 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3821 public global::Google.OrTools.Sat.LinearArgumentProto LinMax {
3822 get {
return constraintCase_ ==
ConstraintOneofCase.LinMax ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
3824 constraint_ = value;
3830 public const int IntMinFieldNumber = 10;
3836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3837 public global::Google.OrTools.Sat.IntegerArgumentProto IntMin {
3838 get {
return constraintCase_ ==
ConstraintOneofCase.IntMin ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
3840 constraint_ = value;
3846 public const int LinMinFieldNumber = 28;
3851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3852 public global::Google.OrTools.Sat.LinearArgumentProto LinMin {
3853 get {
return constraintCase_ ==
ConstraintOneofCase.LinMin ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
3855 constraint_ = value;
3861 public const int IntProdFieldNumber = 11;
3866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3867 public global::Google.OrTools.Sat.IntegerArgumentProto IntProd {
3868 get {
return constraintCase_ ==
ConstraintOneofCase.IntProd ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
3870 constraint_ = value;
3876 public const int LinearFieldNumber = 12;
3881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3882 public global::Google.OrTools.Sat.LinearConstraintProto Linear {
3883 get {
return constraintCase_ ==
ConstraintOneofCase.Linear ? (global::Google.OrTools.Sat.LinearConstraintProto) constraint_ :
null; }
3885 constraint_ = value;
3891 public const int AllDiffFieldNumber = 13;
3895 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3896 public global::Google.OrTools.Sat.AllDifferentConstraintProto AllDiff {
3897 get {
return constraintCase_ ==
ConstraintOneofCase.AllDiff ? (global::Google.OrTools.Sat.AllDifferentConstraintProto) constraint_ :
null; }
3899 constraint_ = value;
3905 public const int ElementFieldNumber = 14;
3910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3911 public global::Google.OrTools.Sat.ElementConstraintProto Element {
3912 get {
return constraintCase_ ==
ConstraintOneofCase.Element ? (global::Google.OrTools.Sat.ElementConstraintProto) constraint_ :
null; }
3914 constraint_ = value;
3920 public const int CircuitFieldNumber = 15;
3925 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3926 public global::Google.OrTools.Sat.CircuitConstraintProto Circuit {
3927 get {
return constraintCase_ ==
ConstraintOneofCase.Circuit ? (global::Google.OrTools.Sat.CircuitConstraintProto) constraint_ :
null; }
3929 constraint_ = value;
3935 public const int RoutesFieldNumber = 23;
3939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3940 public global::Google.OrTools.Sat.RoutesConstraintProto Routes {
3941 get {
return constraintCase_ ==
ConstraintOneofCase.Routes ? (global::Google.OrTools.Sat.RoutesConstraintProto) constraint_ :
null; }
3943 constraint_ = value;
3949 public const int CircuitCoveringFieldNumber = 25;
3954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3955 public global::Google.OrTools.Sat.CircuitCoveringConstraintProto CircuitCovering {
3956 get {
return constraintCase_ ==
ConstraintOneofCase.CircuitCovering ? (global::Google.OrTools.Sat.CircuitCoveringConstraintProto) constraint_ :
null; }
3958 constraint_ = value;
3964 public const int TableFieldNumber = 16;
3969 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3970 public global::Google.OrTools.Sat.TableConstraintProto Table {
3971 get {
return constraintCase_ ==
ConstraintOneofCase.Table ? (global::Google.OrTools.Sat.TableConstraintProto) constraint_ :
null; }
3973 constraint_ = value;
3979 public const int AutomatonFieldNumber = 17;
3984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3985 public global::Google.OrTools.Sat.AutomatonConstraintProto Automaton {
3986 get {
return constraintCase_ ==
ConstraintOneofCase.Automaton ? (global::Google.OrTools.Sat.AutomatonConstraintProto) constraint_ :
null; }
3988 constraint_ = value;
3994 public const int InverseFieldNumber = 18;
3999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4000 public global::Google.OrTools.Sat.InverseConstraintProto Inverse {
4001 get {
return constraintCase_ ==
ConstraintOneofCase.Inverse ? (global::Google.OrTools.Sat.InverseConstraintProto) constraint_ :
null; }
4003 constraint_ = value;
4009 public const int ReservoirFieldNumber = 24;
4015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4016 public global::Google.OrTools.Sat.ReservoirConstraintProto Reservoir {
4017 get {
return constraintCase_ ==
ConstraintOneofCase.Reservoir ? (global::Google.OrTools.Sat.ReservoirConstraintProto) constraint_ :
null; }
4019 constraint_ = value;
4025 public const int IntervalFieldNumber = 19;
4030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4031 public global::Google.OrTools.Sat.IntervalConstraintProto Interval {
4032 get {
return constraintCase_ ==
ConstraintOneofCase.Interval ? (global::Google.OrTools.Sat.IntervalConstraintProto) constraint_ :
null; }
4034 constraint_ = value;
4040 public const int NoOverlapFieldNumber = 20;
4046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4047 public global::Google.OrTools.Sat.NoOverlapConstraintProto NoOverlap {
4048 get {
return constraintCase_ ==
ConstraintOneofCase.NoOverlap ? (global::Google.OrTools.Sat.NoOverlapConstraintProto) constraint_ :
null; }
4050 constraint_ = value;
4056 public const int NoOverlap2DFieldNumber = 21;
4060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4061 public global::Google.OrTools.Sat.NoOverlap2DConstraintProto NoOverlap2D {
4062 get {
return constraintCase_ ==
ConstraintOneofCase.NoOverlap2D ? (global::Google.OrTools.Sat.NoOverlap2DConstraintProto) constraint_ :
null; }
4064 constraint_ = value;
4070 public const int CumulativeFieldNumber = 22;
4076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4077 public global::Google.OrTools.Sat.CumulativeConstraintProto Cumulative {
4078 get {
return constraintCase_ ==
ConstraintOneofCase.Cumulative ? (global::Google.OrTools.Sat.CumulativeConstraintProto) constraint_ :
null; }
4080 constraint_ = value;
4085 private object constraint_;
4105 CircuitCovering = 25,
4115 private ConstraintOneofCase constraintCase_ = ConstraintOneofCase.None;
4116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4118 get {
return constraintCase_; }
4121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4132 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4134 if (ReferenceEquals(other,
null)) {
4137 if (ReferenceEquals(other,
this)) {
4140 if (Name != other.
Name)
return false;
4141 if(!enforcementLiteral_.Equals(other.enforcementLiteral_))
return false;
4142 if (!
object.Equals(BoolOr, other.
BoolOr))
return false;
4143 if (!
object.Equals(BoolAnd, other.
BoolAnd))
return false;
4144 if (!
object.Equals(AtMostOne, other.
AtMostOne))
return false;
4145 if (!
object.Equals(BoolXor, other.
BoolXor))
return false;
4146 if (!
object.Equals(IntDiv, other.
IntDiv))
return false;
4147 if (!
object.Equals(IntMod, other.
IntMod))
return false;
4148 if (!
object.Equals(IntMax, other.
IntMax))
return false;
4149 if (!
object.Equals(LinMax, other.
LinMax))
return false;
4150 if (!
object.Equals(IntMin, other.
IntMin))
return false;
4151 if (!
object.Equals(LinMin, other.
LinMin))
return false;
4152 if (!
object.Equals(IntProd, other.
IntProd))
return false;
4153 if (!
object.Equals(Linear, other.
Linear))
return false;
4154 if (!
object.Equals(AllDiff, other.
AllDiff))
return false;
4155 if (!
object.Equals(Element, other.
Element))
return false;
4156 if (!
object.Equals(Circuit, other.
Circuit))
return false;
4157 if (!
object.Equals(Routes, other.
Routes))
return false;
4158 if (!
object.Equals(CircuitCovering, other.
CircuitCovering))
return false;
4159 if (!
object.Equals(Table, other.
Table))
return false;
4160 if (!
object.Equals(Automaton, other.
Automaton))
return false;
4161 if (!
object.Equals(Inverse, other.
Inverse))
return false;
4162 if (!
object.Equals(Reservoir, other.
Reservoir))
return false;
4163 if (!
object.Equals(Interval, other.
Interval))
return false;
4164 if (!
object.Equals(NoOverlap, other.
NoOverlap))
return false;
4165 if (!
object.Equals(NoOverlap2D, other.
NoOverlap2D))
return false;
4166 if (!
object.Equals(Cumulative, other.
Cumulative))
return false;
4168 return Equals(_unknownFields, other._unknownFields);
4171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4174 if (Name.Length != 0) hash ^= Name.GetHashCode();
4175 hash ^= enforcementLiteral_.GetHashCode();
4192 if (constraintCase_ ==
ConstraintOneofCase.CircuitCovering) hash ^= CircuitCovering.GetHashCode();
4199 if (constraintCase_ ==
ConstraintOneofCase.NoOverlap2D) hash ^= NoOverlap2D.GetHashCode();
4201 hash ^= (int) constraintCase_;
4202 if (_unknownFields !=
null) {
4203 hash ^= _unknownFields.GetHashCode();
4208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4210 return pb::JsonFormatter.ToDiagnosticString(
this);
4213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4214 public void WriteTo(pb::CodedOutputStream output) {
4215 if (Name.Length != 0) {
4216 output.WriteRawTag(10);
4217 output.WriteString(Name);
4219 enforcementLiteral_.WriteTo(output, _repeated_enforcementLiteral_codec);
4221 output.WriteRawTag(26);
4222 output.WriteMessage(BoolOr);
4225 output.WriteRawTag(34);
4226 output.WriteMessage(BoolAnd);
4229 output.WriteRawTag(42);
4230 output.WriteMessage(BoolXor);
4233 output.WriteRawTag(58);
4234 output.WriteMessage(IntDiv);
4237 output.WriteRawTag(66);
4238 output.WriteMessage(IntMod);
4241 output.WriteRawTag(74);
4242 output.WriteMessage(IntMax);
4245 output.WriteRawTag(82);
4246 output.WriteMessage(IntMin);
4249 output.WriteRawTag(90);
4250 output.WriteMessage(IntProd);
4253 output.WriteRawTag(98);
4254 output.WriteMessage(Linear);
4257 output.WriteRawTag(106);
4258 output.WriteMessage(AllDiff);
4261 output.WriteRawTag(114);
4262 output.WriteMessage(Element);
4265 output.WriteRawTag(122);
4266 output.WriteMessage(Circuit);
4269 output.WriteRawTag(130, 1);
4270 output.WriteMessage(Table);
4273 output.WriteRawTag(138, 1);
4274 output.WriteMessage(Automaton);
4277 output.WriteRawTag(146, 1);
4278 output.WriteMessage(Inverse);
4281 output.WriteRawTag(154, 1);
4282 output.WriteMessage(Interval);
4285 output.WriteRawTag(162, 1);
4286 output.WriteMessage(NoOverlap);
4289 output.WriteRawTag(170, 1);
4290 output.WriteMessage(NoOverlap2D);
4293 output.WriteRawTag(178, 1);
4294 output.WriteMessage(Cumulative);
4297 output.WriteRawTag(186, 1);
4298 output.WriteMessage(Routes);
4301 output.WriteRawTag(194, 1);
4302 output.WriteMessage(Reservoir);
4305 output.WriteRawTag(202, 1);
4306 output.WriteMessage(CircuitCovering);
4309 output.WriteRawTag(210, 1);
4310 output.WriteMessage(AtMostOne);
4313 output.WriteRawTag(218, 1);
4314 output.WriteMessage(LinMax);
4317 output.WriteRawTag(226, 1);
4318 output.WriteMessage(LinMin);
4320 if (_unknownFields !=
null) {
4321 _unknownFields.WriteTo(output);
4325 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4328 if (Name.Length != 0) {
4329 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
4331 size += enforcementLiteral_.CalculateSize(_repeated_enforcementLiteral_codec);
4333 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolOr);
4336 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolAnd);
4339 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AtMostOne);
4342 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolXor);
4345 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntDiv);
4348 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMod);
4351 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMax);
4354 size += 2 + pb::CodedOutputStream.ComputeMessageSize(LinMax);
4357 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMin);
4360 size += 2 + pb::CodedOutputStream.ComputeMessageSize(LinMin);
4363 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntProd);
4366 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Linear);
4369 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllDiff);
4372 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Element);
4375 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Circuit);
4378 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Routes);
4381 size += 2 + pb::CodedOutputStream.ComputeMessageSize(CircuitCovering);
4384 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Table);
4387 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automaton);
4390 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Inverse);
4393 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Reservoir);
4396 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Interval);
4399 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap);
4402 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap2D);
4405 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cumulative);
4407 if (_unknownFields !=
null) {
4408 size += _unknownFields.CalculateSize();
4413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4415 if (other ==
null) {
4418 if (other.
Name.Length != 0) {
4421 enforcementLiteral_.Add(other.enforcementLiteral_);
4424 if (BoolOr ==
null) {
4425 BoolOr =
new global::Google.OrTools.Sat.BoolArgumentProto();
4427 BoolOr.MergeFrom(other.
BoolOr);
4430 if (BoolAnd ==
null) {
4431 BoolAnd =
new global::Google.OrTools.Sat.BoolArgumentProto();
4433 BoolAnd.MergeFrom(other.
BoolAnd);
4436 if (AtMostOne ==
null) {
4437 AtMostOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
4442 if (BoolXor ==
null) {
4443 BoolXor =
new global::Google.OrTools.Sat.BoolArgumentProto();
4445 BoolXor.MergeFrom(other.
BoolXor);
4448 if (IntDiv ==
null) {
4449 IntDiv =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4451 IntDiv.MergeFrom(other.
IntDiv);
4454 if (IntMod ==
null) {
4455 IntMod =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4457 IntMod.MergeFrom(other.
IntMod);
4460 if (IntMax ==
null) {
4461 IntMax =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4463 IntMax.MergeFrom(other.
IntMax);
4466 if (LinMax ==
null) {
4467 LinMax =
new global::Google.OrTools.Sat.LinearArgumentProto();
4469 LinMax.MergeFrom(other.
LinMax);
4472 if (IntMin ==
null) {
4473 IntMin =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4475 IntMin.MergeFrom(other.
IntMin);
4478 if (LinMin ==
null) {
4479 LinMin =
new global::Google.OrTools.Sat.LinearArgumentProto();
4481 LinMin.MergeFrom(other.
LinMin);
4484 if (IntProd ==
null) {
4485 IntProd =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4487 IntProd.MergeFrom(other.
IntProd);
4490 if (Linear ==
null) {
4491 Linear =
new global::Google.OrTools.Sat.LinearConstraintProto();
4493 Linear.MergeFrom(other.
Linear);
4496 if (AllDiff ==
null) {
4497 AllDiff =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
4499 AllDiff.MergeFrom(other.
AllDiff);
4502 if (Element ==
null) {
4503 Element =
new global::Google.OrTools.Sat.ElementConstraintProto();
4505 Element.MergeFrom(other.
Element);
4508 if (Circuit ==
null) {
4509 Circuit =
new global::Google.OrTools.Sat.CircuitConstraintProto();
4511 Circuit.MergeFrom(other.
Circuit);
4514 if (Routes ==
null) {
4515 Routes =
new global::Google.OrTools.Sat.RoutesConstraintProto();
4517 Routes.MergeFrom(other.
Routes);
4520 if (CircuitCovering ==
null) {
4521 CircuitCovering =
new global::Google.OrTools.Sat.CircuitCoveringConstraintProto();
4526 if (Table ==
null) {
4527 Table =
new global::Google.OrTools.Sat.TableConstraintProto();
4529 Table.MergeFrom(other.
Table);
4532 if (Automaton ==
null) {
4533 Automaton =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
4538 if (Inverse ==
null) {
4539 Inverse =
new global::Google.OrTools.Sat.InverseConstraintProto();
4541 Inverse.MergeFrom(other.
Inverse);
4544 if (Reservoir ==
null) {
4545 Reservoir =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
4550 if (Interval ==
null) {
4551 Interval =
new global::Google.OrTools.Sat.IntervalConstraintProto();
4553 Interval.MergeFrom(other.
Interval);
4556 if (NoOverlap ==
null) {
4557 NoOverlap =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
4562 if (NoOverlap2D ==
null) {
4563 NoOverlap2D =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
4568 if (Cumulative ==
null) {
4569 Cumulative =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
4575 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4578 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4581 while ((tag = input.ReadTag()) != 0) {
4584 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4587 Name = input.ReadString();
4592 enforcementLiteral_.AddEntriesFrom(input, _repeated_enforcementLiteral_codec);
4596 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
4598 subBuilder.MergeFrom(BoolOr);
4600 input.ReadMessage(subBuilder);
4601 BoolOr = subBuilder;
4605 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
4607 subBuilder.MergeFrom(BoolAnd);
4609 input.ReadMessage(subBuilder);
4610 BoolAnd = subBuilder;
4614 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
4616 subBuilder.MergeFrom(BoolXor);
4618 input.ReadMessage(subBuilder);
4619 BoolXor = subBuilder;
4623 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4625 subBuilder.MergeFrom(IntDiv);
4627 input.ReadMessage(subBuilder);
4628 IntDiv = subBuilder;
4632 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4634 subBuilder.MergeFrom(IntMod);
4636 input.ReadMessage(subBuilder);
4637 IntMod = subBuilder;
4641 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4643 subBuilder.MergeFrom(IntMax);
4645 input.ReadMessage(subBuilder);
4646 IntMax = subBuilder;
4650 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4652 subBuilder.MergeFrom(IntMin);
4654 input.ReadMessage(subBuilder);
4655 IntMin = subBuilder;
4659 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
4661 subBuilder.MergeFrom(IntProd);
4663 input.ReadMessage(subBuilder);
4664 IntProd = subBuilder;
4668 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
4670 subBuilder.MergeFrom(Linear);
4672 input.ReadMessage(subBuilder);
4673 Linear = subBuilder;
4677 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
4679 subBuilder.MergeFrom(AllDiff);
4681 input.ReadMessage(subBuilder);
4682 AllDiff = subBuilder;
4686 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
4688 subBuilder.MergeFrom(Element);
4690 input.ReadMessage(subBuilder);
4691 Element = subBuilder;
4695 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
4697 subBuilder.MergeFrom(Circuit);
4699 input.ReadMessage(subBuilder);
4700 Circuit = subBuilder;
4704 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
4706 subBuilder.MergeFrom(Table);
4708 input.ReadMessage(subBuilder);
4713 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
4715 subBuilder.MergeFrom(Automaton);
4717 input.ReadMessage(subBuilder);
4718 Automaton = subBuilder;
4722 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
4724 subBuilder.MergeFrom(Inverse);
4726 input.ReadMessage(subBuilder);
4727 Inverse = subBuilder;
4731 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
4733 subBuilder.MergeFrom(Interval);
4735 input.ReadMessage(subBuilder);
4736 Interval = subBuilder;
4740 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
4742 subBuilder.MergeFrom(NoOverlap);
4744 input.ReadMessage(subBuilder);
4745 NoOverlap = subBuilder;
4749 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
4751 subBuilder.MergeFrom(NoOverlap2D);
4753 input.ReadMessage(subBuilder);
4754 NoOverlap2D = subBuilder;
4758 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
4760 subBuilder.MergeFrom(Cumulative);
4762 input.ReadMessage(subBuilder);
4763 Cumulative = subBuilder;
4767 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
4769 subBuilder.MergeFrom(Routes);
4771 input.ReadMessage(subBuilder);
4772 Routes = subBuilder;
4776 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
4778 subBuilder.MergeFrom(Reservoir);
4780 input.ReadMessage(subBuilder);
4781 Reservoir = subBuilder;
4785 global::Google.OrTools.Sat.CircuitCoveringConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitCoveringConstraintProto();
4787 subBuilder.MergeFrom(CircuitCovering);
4789 input.ReadMessage(subBuilder);
4790 CircuitCovering = subBuilder;
4794 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
4796 subBuilder.MergeFrom(AtMostOne);
4798 input.ReadMessage(subBuilder);
4799 AtMostOne = subBuilder;
4803 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
4805 subBuilder.MergeFrom(LinMax);
4807 input.ReadMessage(subBuilder);
4808 LinMax = subBuilder;
4812 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
4814 subBuilder.MergeFrom(LinMin);
4816 input.ReadMessage(subBuilder);
4817 LinMin = subBuilder;
4832 private static readonly pb::MessageParser<CpObjectiveProto> _parser =
new pb::MessageParser<CpObjectiveProto>(() =>
new CpObjectiveProto());
4833 private pb::UnknownFieldSet _unknownFields;
4834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4835 public static pb::MessageParser<CpObjectiveProto> Parser {
get {
return _parser; } }
4837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4838 public static pbr::MessageDescriptor Descriptor {
4839 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[20]; }
4842 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4843 pbr::MessageDescriptor pb::IMessage.Descriptor {
4844 get {
return Descriptor; }
4847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4852 partial
void OnConstruction();
4854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4856 vars_ = other.vars_.Clone();
4857 coeffs_ = other.coeffs_.Clone();
4858 offset_ = other.offset_;
4859 scalingFactor_ = other.scalingFactor_;
4860 domain_ = other.domain_.Clone();
4861 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4870 public const int VarsFieldNumber = 1;
4871 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4872 = pb::FieldCodec.ForInt32(10);
4873 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4880 public pbc::RepeatedField<int> Vars {
4881 get {
return vars_; }
4885 public const int CoeffsFieldNumber = 4;
4886 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
4887 = pb::FieldCodec.ForInt64(34);
4888 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
4889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4890 public pbc::RepeatedField<long> Coeffs {
4891 get {
return coeffs_; }
4895 public const int OffsetFieldNumber = 2;
4896 private double offset_;
4906 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4907 public double Offset {
4908 get {
return offset_; }
4915 public const int ScalingFactorFieldNumber = 3;
4916 private double scalingFactor_;
4917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4918 public double ScalingFactor {
4919 get {
return scalingFactor_; }
4921 scalingFactor_ = value;
4926 public const int DomainFieldNumber = 5;
4927 private static readonly pb::FieldCodec<long> _repeated_domain_codec
4928 = pb::FieldCodec.ForInt64(42);
4929 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
4935 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4937 get {
return domain_; }
4940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4945 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4947 if (ReferenceEquals(other,
null)) {
4950 if (ReferenceEquals(other,
this)) {
4953 if(!vars_.Equals(other.vars_))
return false;
4954 if(!coeffs_.Equals(other.coeffs_))
return false;
4955 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Offset, other.
Offset))
return false;
4956 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ScalingFactor, other.
ScalingFactor))
return false;
4957 if(!domain_.Equals(other.domain_))
return false;
4958 return Equals(_unknownFields, other._unknownFields);
4961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4964 hash ^= vars_.GetHashCode();
4965 hash ^= coeffs_.GetHashCode();
4966 if (Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Offset);
4967 if (ScalingFactor != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ScalingFactor);
4968 hash ^= domain_.GetHashCode();
4969 if (_unknownFields !=
null) {
4970 hash ^= _unknownFields.GetHashCode();
4975 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4977 return pb::JsonFormatter.ToDiagnosticString(
this);
4980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4981 public void WriteTo(pb::CodedOutputStream output) {
4982 vars_.WriteTo(output, _repeated_vars_codec);
4984 output.WriteRawTag(17);
4985 output.WriteDouble(Offset);
4987 if (ScalingFactor != 0D) {
4988 output.WriteRawTag(25);
4989 output.WriteDouble(ScalingFactor);
4991 coeffs_.WriteTo(output, _repeated_coeffs_codec);
4992 domain_.WriteTo(output, _repeated_domain_codec);
4993 if (_unknownFields !=
null) {
4994 _unknownFields.WriteTo(output);
4998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5001 size += vars_.CalculateSize(_repeated_vars_codec);
5002 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
5006 if (ScalingFactor != 0D) {
5009 size += domain_.CalculateSize(_repeated_domain_codec);
5010 if (_unknownFields !=
null) {
5011 size += _unknownFields.CalculateSize();
5016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5018 if (other ==
null) {
5021 vars_.Add(other.vars_);
5022 coeffs_.Add(other.coeffs_);
5023 if (other.
Offset != 0D) {
5029 domain_.Add(other.domain_);
5030 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5033 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5036 while ((tag = input.ReadTag()) != 0) {
5039 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5043 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5047 Offset = input.ReadDouble();
5051 ScalingFactor = input.ReadDouble();
5056 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
5061 domain_.AddEntriesFrom(input, _repeated_domain_codec);
5075 private static readonly pb::MessageParser<DecisionStrategyProto> _parser =
new pb::MessageParser<DecisionStrategyProto>(() =>
new DecisionStrategyProto());
5076 private pb::UnknownFieldSet _unknownFields;
5077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5078 public static pb::MessageParser<DecisionStrategyProto> Parser {
get {
return _parser; } }
5080 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5081 public static pbr::MessageDescriptor Descriptor {
5082 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[21]; }
5085 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5086 pbr::MessageDescriptor pb::IMessage.Descriptor {
5087 get {
return Descriptor; }
5090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5095 partial
void OnConstruction();
5097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5099 variables_ = other.variables_.Clone();
5100 variableSelectionStrategy_ = other.variableSelectionStrategy_;
5101 domainReductionStrategy_ = other.domainReductionStrategy_;
5102 transformations_ = other.transformations_.Clone();
5103 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5112 public const int VariablesFieldNumber = 1;
5113 private static readonly pb::FieldCodec<int> _repeated_variables_codec
5114 = pb::FieldCodec.ForInt32(10);
5115 private readonly pbc::RepeatedField<int> variables_ =
new pbc::RepeatedField<int>();
5121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5122 public pbc::RepeatedField<int> Variables {
5123 get {
return variables_; }
5127 public const int VariableSelectionStrategyFieldNumber = 2;
5128 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy variableSelectionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst;
5129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5130 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy VariableSelectionStrategy {
5131 get {
return variableSelectionStrategy_; }
5133 variableSelectionStrategy_ = value;
5138 public const int DomainReductionStrategyFieldNumber = 3;
5139 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy domainReductionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue;
5140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5141 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy DomainReductionStrategy {
5142 get {
return domainReductionStrategy_; }
5144 domainReductionStrategy_ = value;
5149 public const int TransformationsFieldNumber = 4;
5150 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> _repeated_transformations_codec
5151 = pb::FieldCodec.ForMessage(34, global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation.Parser);
5152 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> transformations_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation>();
5153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5154 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> Transformations {
5155 get {
return transformations_; }
5158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5165 if (ReferenceEquals(other,
null)) {
5168 if (ReferenceEquals(other,
this)) {
5171 if(!variables_.Equals(other.variables_))
return false;
5174 if(!transformations_.Equals(other.transformations_))
return false;
5175 return Equals(_unknownFields, other._unknownFields);
5178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5181 hash ^= variables_.GetHashCode();
5182 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) hash ^= VariableSelectionStrategy.GetHashCode();
5183 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) hash ^= DomainReductionStrategy.GetHashCode();
5184 hash ^= transformations_.GetHashCode();
5185 if (_unknownFields !=
null) {
5186 hash ^= _unknownFields.GetHashCode();
5191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5193 return pb::JsonFormatter.ToDiagnosticString(
this);
5196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5197 public void WriteTo(pb::CodedOutputStream output) {
5198 variables_.WriteTo(output, _repeated_variables_codec);
5199 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
5200 output.WriteRawTag(16);
5201 output.WriteEnum((
int) VariableSelectionStrategy);
5203 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
5204 output.WriteRawTag(24);
5205 output.WriteEnum((
int) DomainReductionStrategy);
5207 transformations_.WriteTo(output, _repeated_transformations_codec);
5208 if (_unknownFields !=
null) {
5209 _unknownFields.WriteTo(output);
5213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5216 size += variables_.CalculateSize(_repeated_variables_codec);
5217 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
5218 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) VariableSelectionStrategy);
5220 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
5221 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) DomainReductionStrategy);
5223 size += transformations_.CalculateSize(_repeated_transformations_codec);
5224 if (_unknownFields !=
null) {
5225 size += _unknownFields.CalculateSize();
5230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5232 if (other ==
null) {
5235 variables_.Add(other.variables_);
5242 transformations_.Add(other.transformations_);
5243 _unknownFields = pb::UnknownFieldSet.
MergeFrom(_unknownFields, other._unknownFields);
5246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5249 while ((tag = input.ReadTag()) != 0) {
5252 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5256 variables_.AddEntriesFrom(input, _repeated_variables_codec);
5260 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
5264 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
5268 transformations_.AddEntriesFrom(input, _repeated_transformations_codec);
5275 #region Nested types
5276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5286 [pbr::OriginalName(
"CHOOSE_FIRST")] ChooseFirst = 0,
5287 [pbr::OriginalName(
"CHOOSE_LOWEST_MIN")] ChooseLowestMin = 1,
5288 [pbr::OriginalName(
"CHOOSE_HIGHEST_MAX")] ChooseHighestMax = 2,
5289 [pbr::OriginalName(
"CHOOSE_MIN_DOMAIN_SIZE")] ChooseMinDomainSize = 3,
5290 [pbr::OriginalName(
"CHOOSE_MAX_DOMAIN_SIZE")] ChooseMaxDomainSize = 4,
5300 [pbr::OriginalName(
"SELECT_MIN_VALUE")] SelectMinValue = 0,
5301 [pbr::OriginalName(
"SELECT_MAX_VALUE")] SelectMaxValue = 1,
5302 [pbr::OriginalName(
"SELECT_LOWER_HALF")] SelectLowerHalf = 2,
5303 [pbr::OriginalName(
"SELECT_UPPER_HALF")] SelectUpperHalf = 3,
5304 [pbr::OriginalName(
"SELECT_MEDIAN_VALUE")] SelectMedianValue = 4,
5314 private static readonly pb::MessageParser<AffineTransformation> _parser =
new pb::MessageParser<AffineTransformation>(() =>
new AffineTransformation());
5315 private pb::UnknownFieldSet _unknownFields;
5316 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5317 public static pb::MessageParser<AffineTransformation> Parser {
get {
return _parser; } }
5319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5320 public static pbr::MessageDescriptor Descriptor {
5321 get {
return global::Google.OrTools.Sat.DecisionStrategyProto.Descriptor.NestedTypes[0]; }
5324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5325 pbr::MessageDescriptor pb::IMessage.Descriptor {
5326 get {
return Descriptor; }
5329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5334 partial
void OnConstruction();
5336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5339 offset_ = other.offset_;
5340 positiveCoeff_ = other.positiveCoeff_;
5341 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5350 public const int VarFieldNumber = 1;
5352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5354 get {
return var_; }
5361 public const int OffsetFieldNumber = 2;
5362 private long offset_;
5363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5364 public long Offset {
5365 get {
return offset_; }
5372 public const int PositiveCoeffFieldNumber = 3;
5373 private long positiveCoeff_;
5374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5375 public long PositiveCoeff {
5376 get {
return positiveCoeff_; }
5378 positiveCoeff_ = value;
5382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5389 if (ReferenceEquals(other,
null)) {
5392 if (ReferenceEquals(other,
this)) {
5395 if (Var != other.
Var)
return false;
5396 if (Offset != other.
Offset)
return false;
5398 return Equals(_unknownFields, other._unknownFields);
5401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5404 if (Var != 0) hash ^= Var.GetHashCode();
5405 if (Offset != 0L) hash ^= Offset.GetHashCode();
5406 if (PositiveCoeff != 0L) hash ^= PositiveCoeff.GetHashCode();
5407 if (_unknownFields !=
null) {
5408 hash ^= _unknownFields.GetHashCode();
5413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5415 return pb::JsonFormatter.ToDiagnosticString(
this);
5418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5419 public void WriteTo(pb::CodedOutputStream output) {
5421 output.WriteRawTag(8);
5422 output.WriteInt32(Var);
5425 output.WriteRawTag(16);
5426 output.WriteInt64(Offset);
5428 if (PositiveCoeff != 0L) {
5429 output.WriteRawTag(24);
5430 output.WriteInt64(PositiveCoeff);
5432 if (_unknownFields !=
null) {
5433 _unknownFields.WriteTo(output);
5437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5441 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Var);
5444 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
5446 if (PositiveCoeff != 0L) {
5447 size += 1 + pb::CodedOutputStream.ComputeInt64Size(PositiveCoeff);
5449 if (_unknownFields !=
null) {
5450 size += _unknownFields.CalculateSize();
5455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5457 if (other ==
null) {
5460 if (other.
Var != 0) {
5463 if (other.
Offset != 0L) {
5469 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5475 while ((tag = input.ReadTag()) != 0) {
5478 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5481 Var = input.ReadInt32();
5485 Offset = input.ReadInt64();
5489 PositiveCoeff = input.ReadInt64();
5509 private static readonly pb::MessageParser<PartialVariableAssignment> _parser =
new pb::MessageParser<PartialVariableAssignment>(() =>
new PartialVariableAssignment());
5510 private pb::UnknownFieldSet _unknownFields;
5511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5512 public static pb::MessageParser<PartialVariableAssignment> Parser {
get {
return _parser; } }
5514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5515 public static pbr::MessageDescriptor Descriptor {
5516 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[22]; }
5519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5520 pbr::MessageDescriptor pb::IMessage.Descriptor {
5521 get {
return Descriptor; }
5524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5529 partial
void OnConstruction();
5531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5533 vars_ = other.vars_.Clone();
5534 values_ = other.values_.Clone();
5535 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5544 public const int VarsFieldNumber = 1;
5545 private static readonly pb::FieldCodec<int> _repeated_vars_codec
5546 = pb::FieldCodec.ForInt32(10);
5547 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
5548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5549 public pbc::RepeatedField<int> Vars {
5550 get {
return vars_; }
5554 public const int ValuesFieldNumber = 2;
5555 private static readonly pb::FieldCodec<long> _repeated_values_codec
5556 = pb::FieldCodec.ForInt64(18);
5557 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
5558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5559 public pbc::RepeatedField<long> Values {
5560 get {
return values_; }
5563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5570 if (ReferenceEquals(other,
null)) {
5573 if (ReferenceEquals(other,
this)) {
5576 if(!vars_.Equals(other.vars_))
return false;
5577 if(!values_.Equals(other.values_))
return false;
5578 return Equals(_unknownFields, other._unknownFields);
5581 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5584 hash ^= vars_.GetHashCode();
5585 hash ^= values_.GetHashCode();
5586 if (_unknownFields !=
null) {
5587 hash ^= _unknownFields.GetHashCode();
5592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5594 return pb::JsonFormatter.ToDiagnosticString(
this);
5597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5598 public void WriteTo(pb::CodedOutputStream output) {
5599 vars_.WriteTo(output, _repeated_vars_codec);
5600 values_.WriteTo(output, _repeated_values_codec);
5601 if (_unknownFields !=
null) {
5602 _unknownFields.WriteTo(output);
5606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5609 size += vars_.CalculateSize(_repeated_vars_codec);
5610 size += values_.CalculateSize(_repeated_values_codec);
5611 if (_unknownFields !=
null) {
5612 size += _unknownFields.CalculateSize();
5617 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5619 if (other ==
null) {
5622 vars_.Add(other.vars_);
5623 values_.Add(other.values_);
5624 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5630 while ((tag = input.ReadTag()) != 0) {
5633 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5637 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5642 values_.AddEntriesFrom(input, _repeated_values_codec);
5655 private static readonly pb::MessageParser<CpModelProto> _parser =
new pb::MessageParser<CpModelProto>(() =>
new CpModelProto());
5656 private pb::UnknownFieldSet _unknownFields;
5657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5658 public static pb::MessageParser<CpModelProto> Parser {
get {
return _parser; } }
5660 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5661 public static pbr::MessageDescriptor Descriptor {
5662 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[23]; }
5665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5666 pbr::MessageDescriptor pb::IMessage.Descriptor {
5667 get {
return Descriptor; }
5670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5675 partial
void OnConstruction();
5677 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5679 name_ = other.name_;
5680 variables_ = other.variables_.Clone();
5681 constraints_ = other.constraints_.Clone();
5682 objective_ = other.objective_ !=
null ? other.objective_.
Clone() :
null;
5683 searchStrategy_ = other.searchStrategy_.Clone();
5684 solutionHint_ = other.solutionHint_ !=
null ? other.solutionHint_.
Clone() :
null;
5685 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
5688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5694 public const int NameFieldNumber = 1;
5695 private string name_ =
"";
5699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5700 public string Name {
5701 get {
return name_; }
5703 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
5708 public const int VariablesFieldNumber = 2;
5709 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_variables_codec
5710 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
5711 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> variables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
5715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5716 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> Variables {
5717 get {
return variables_; }
5721 public const int ConstraintsFieldNumber = 3;
5722 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ConstraintProto> _repeated_constraints_codec
5723 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.Sat.ConstraintProto.Parser);
5724 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> constraints_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>();
5725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5726 public pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> Constraints {
5727 get {
return constraints_; }
5731 public const int ObjectiveFieldNumber = 4;
5732 private global::Google.OrTools.Sat.CpObjectiveProto objective_;
5736 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5737 public global::Google.OrTools.Sat.CpObjectiveProto Objective {
5738 get {
return objective_; }
5745 public const int SearchStrategyFieldNumber = 5;
5746 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto> _repeated_searchStrategy_codec
5747 = pb::FieldCodec.ForMessage(42, global::Google.OrTools.Sat.DecisionStrategyProto.Parser);
5748 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> searchStrategy_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>();
5761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5762 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> SearchStrategy {
5763 get {
return searchStrategy_; }
5767 public const int SolutionHintFieldNumber = 6;
5768 private global::Google.OrTools.Sat.PartialVariableAssignment solutionHint_;
5782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5783 public global::Google.OrTools.Sat.PartialVariableAssignment SolutionHint {
5784 get {
return solutionHint_; }
5786 solutionHint_ = value;
5790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5797 if (ReferenceEquals(other,
null)) {
5800 if (ReferenceEquals(other,
this)) {
5803 if (Name != other.
Name)
return false;
5804 if(!variables_.Equals(other.variables_))
return false;
5805 if(!constraints_.Equals(other.constraints_))
return false;
5806 if (!
object.Equals(Objective, other.
Objective))
return false;
5807 if(!searchStrategy_.Equals(other.searchStrategy_))
return false;
5808 if (!
object.Equals(SolutionHint, other.
SolutionHint))
return false;
5809 return Equals(_unknownFields, other._unknownFields);
5812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5815 if (Name.Length != 0) hash ^= Name.GetHashCode();
5816 hash ^= variables_.GetHashCode();
5817 hash ^= constraints_.GetHashCode();
5818 if (objective_ !=
null) hash ^= Objective.GetHashCode();
5819 hash ^= searchStrategy_.GetHashCode();
5820 if (solutionHint_ !=
null) hash ^= SolutionHint.GetHashCode();
5821 if (_unknownFields !=
null) {
5822 hash ^= _unknownFields.GetHashCode();
5827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5829 return pb::JsonFormatter.ToDiagnosticString(
this);
5832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5833 public void WriteTo(pb::CodedOutputStream output) {
5834 if (Name.Length != 0) {
5835 output.WriteRawTag(10);
5836 output.WriteString(Name);
5838 variables_.WriteTo(output, _repeated_variables_codec);
5839 constraints_.WriteTo(output, _repeated_constraints_codec);
5840 if (objective_ !=
null) {
5841 output.WriteRawTag(34);
5842 output.WriteMessage(Objective);
5844 searchStrategy_.WriteTo(output, _repeated_searchStrategy_codec);
5845 if (solutionHint_ !=
null) {
5846 output.WriteRawTag(50);
5847 output.WriteMessage(SolutionHint);
5849 if (_unknownFields !=
null) {
5850 _unknownFields.WriteTo(output);
5854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5857 if (Name.Length != 0) {
5858 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
5860 size += variables_.CalculateSize(_repeated_variables_codec);
5861 size += constraints_.CalculateSize(_repeated_constraints_codec);
5862 if (objective_ !=
null) {
5863 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Objective);
5865 size += searchStrategy_.CalculateSize(_repeated_searchStrategy_codec);
5866 if (solutionHint_ !=
null) {
5867 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionHint);
5869 if (_unknownFields !=
null) {
5870 size += _unknownFields.CalculateSize();
5875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5877 if (other ==
null) {
5880 if (other.
Name.Length != 0) {
5883 variables_.Add(other.variables_);
5884 constraints_.Add(other.constraints_);
5885 if (other.objective_ !=
null) {
5886 if (objective_ ==
null) {
5887 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
5891 searchStrategy_.Add(other.searchStrategy_);
5892 if (other.solutionHint_ !=
null) {
5893 if (solutionHint_ ==
null) {
5894 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
5898 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5904 while ((tag = input.ReadTag()) != 0) {
5907 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5910 Name = input.ReadString();
5914 variables_.AddEntriesFrom(input, _repeated_variables_codec);
5918 constraints_.AddEntriesFrom(input, _repeated_constraints_codec);
5922 if (objective_ ==
null) {
5923 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
5925 input.ReadMessage(Objective);
5929 searchStrategy_.AddEntriesFrom(input, _repeated_searchStrategy_codec);
5933 if (solutionHint_ ==
null) {
5934 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
5936 input.ReadMessage(SolutionHint);
5953 private static readonly pb::MessageParser<CpSolverResponse> _parser =
new pb::MessageParser<CpSolverResponse>(() =>
new CpSolverResponse());
5954 private pb::UnknownFieldSet _unknownFields;
5955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5956 public static pb::MessageParser<CpSolverResponse> Parser {
get {
return _parser; } }
5958 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5959 public static pbr::MessageDescriptor Descriptor {
5960 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[24]; }
5963 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5964 pbr::MessageDescriptor pb::IMessage.Descriptor {
5965 get {
return Descriptor; }
5968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5973 partial
void OnConstruction();
5975 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5977 status_ = other.status_;
5978 solution_ = other.solution_.Clone();
5979 objectiveValue_ = other.objectiveValue_;
5980 bestObjectiveBound_ = other.bestObjectiveBound_;
5981 solutionLowerBounds_ = other.solutionLowerBounds_.Clone();
5982 solutionUpperBounds_ = other.solutionUpperBounds_.Clone();
5983 tightenedVariables_ = other.tightenedVariables_.Clone();
5984 allSolutionsWereFound_ = other.allSolutionsWereFound_;
5985 numBooleans_ = other.numBooleans_;
5986 numConflicts_ = other.numConflicts_;
5987 numBranches_ = other.numBranches_;
5988 numBinaryPropagations_ = other.numBinaryPropagations_;
5989 numIntegerPropagations_ = other.numIntegerPropagations_;
5990 wallTime_ = other.wallTime_;
5991 userTime_ = other.userTime_;
5992 deterministicTime_ = other.deterministicTime_;
5993 primalIntegral_ = other.primalIntegral_;
5994 solutionInfo_ = other.solutionInfo_;
5995 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6004 public const int StatusFieldNumber = 1;
6005 private global::Google.OrTools.Sat.CpSolverStatus status_ = global::Google.OrTools.Sat.CpSolverStatus.Unknown;
6009 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6010 public global::Google.OrTools.Sat.CpSolverStatus Status {
6011 get {
return status_; }
6018 public const int SolutionFieldNumber = 2;
6019 private static readonly pb::FieldCodec<long> _repeated_solution_codec
6020 = pb::FieldCodec.ForInt64(18);
6021 private readonly pbc::RepeatedField<long> solution_ =
new pbc::RepeatedField<long>();
6028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6029 public pbc::RepeatedField<long> Solution {
6030 get {
return solution_; }
6034 public const int ObjectiveValueFieldNumber = 3;
6035 private double objectiveValue_;
6042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6043 public double ObjectiveValue {
6044 get {
return objectiveValue_; }
6046 objectiveValue_ = value;
6051 public const int BestObjectiveBoundFieldNumber = 4;
6052 private double bestObjectiveBound_;
6058 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6059 public double BestObjectiveBound {
6060 get {
return bestObjectiveBound_; }
6062 bestObjectiveBound_ = value;
6067 public const int SolutionLowerBoundsFieldNumber = 18;
6068 private static readonly pb::FieldCodec<long> _repeated_solutionLowerBounds_codec
6069 = pb::FieldCodec.ForInt64(146);
6070 private readonly pbc::RepeatedField<long> solutionLowerBounds_ =
new pbc::RepeatedField<long>();
6080 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6081 public pbc::RepeatedField<long> SolutionLowerBounds {
6082 get {
return solutionLowerBounds_; }
6086 public const int SolutionUpperBoundsFieldNumber = 19;
6087 private static readonly pb::FieldCodec<long> _repeated_solutionUpperBounds_codec
6088 = pb::FieldCodec.ForInt64(154);
6089 private readonly pbc::RepeatedField<long> solutionUpperBounds_ =
new pbc::RepeatedField<long>();
6090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6091 public pbc::RepeatedField<long> SolutionUpperBounds {
6092 get {
return solutionUpperBounds_; }
6096 public const int TightenedVariablesFieldNumber = 21;
6097 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_tightenedVariables_codec
6098 = pb::FieldCodec.ForMessage(170, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
6099 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> tightenedVariables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
6114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6115 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> TightenedVariables {
6116 get {
return tightenedVariables_; }
6120 public const int AllSolutionsWereFoundFieldNumber = 5;
6121 private bool allSolutionsWereFound_;
6129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6130 public bool AllSolutionsWereFound {
6131 get {
return allSolutionsWereFound_; }
6133 allSolutionsWereFound_ = value;
6138 public const int NumBooleansFieldNumber = 10;
6139 private long numBooleans_;
6143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6144 public long NumBooleans {
6145 get {
return numBooleans_; }
6147 numBooleans_ = value;
6152 public const int NumConflictsFieldNumber = 11;
6153 private long numConflicts_;
6154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6155 public long NumConflicts {
6156 get {
return numConflicts_; }
6158 numConflicts_ = value;
6163 public const int NumBranchesFieldNumber = 12;
6164 private long numBranches_;
6165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6166 public long NumBranches {
6167 get {
return numBranches_; }
6169 numBranches_ = value;
6174 public const int NumBinaryPropagationsFieldNumber = 13;
6175 private long numBinaryPropagations_;
6176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6177 public long NumBinaryPropagations {
6178 get {
return numBinaryPropagations_; }
6180 numBinaryPropagations_ = value;
6185 public const int NumIntegerPropagationsFieldNumber = 14;
6186 private long numIntegerPropagations_;
6187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6188 public long NumIntegerPropagations {
6189 get {
return numIntegerPropagations_; }
6191 numIntegerPropagations_ = value;
6196 public const int WallTimeFieldNumber = 15;
6197 private double wallTime_;
6198 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6199 public double WallTime {
6200 get {
return wallTime_; }
6207 public const int UserTimeFieldNumber = 16;
6208 private double userTime_;
6209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6210 public double UserTime {
6211 get {
return userTime_; }
6218 public const int DeterministicTimeFieldNumber = 17;
6219 private double deterministicTime_;
6220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6221 public double DeterministicTime {
6222 get {
return deterministicTime_; }
6224 deterministicTime_ = value;
6229 public const int PrimalIntegralFieldNumber = 22;
6230 private double primalIntegral_;
6231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6232 public double PrimalIntegral {
6233 get {
return primalIntegral_; }
6235 primalIntegral_ = value;
6240 public const int SolutionInfoFieldNumber = 20;
6241 private string solutionInfo_ =
"";
6245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6246 public string SolutionInfo {
6247 get {
return solutionInfo_; }
6249 solutionInfo_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
6253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6260 if (ReferenceEquals(other,
null)) {
6263 if (ReferenceEquals(other,
this)) {
6266 if (Status != other.
Status)
return false;
6267 if(!solution_.Equals(other.solution_))
return false;
6268 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveValue, other.
ObjectiveValue))
return false;
6269 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BestObjectiveBound, other.
BestObjectiveBound))
return false;
6270 if(!solutionLowerBounds_.Equals(other.solutionLowerBounds_))
return false;
6271 if(!solutionUpperBounds_.Equals(other.solutionUpperBounds_))
return false;
6272 if(!tightenedVariables_.Equals(other.tightenedVariables_))
return false;
6274 if (NumBooleans != other.
NumBooleans)
return false;
6276 if (NumBranches != other.
NumBranches)
return false;
6279 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(WallTime, other.
WallTime))
return false;
6280 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(UserTime, other.
UserTime))
return false;
6281 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DeterministicTime, other.
DeterministicTime))
return false;
6282 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalIntegral, other.
PrimalIntegral))
return false;
6284 return Equals(_unknownFields, other._unknownFields);
6287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6290 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) hash ^= Status.GetHashCode();
6291 hash ^= solution_.GetHashCode();
6292 if (ObjectiveValue != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveValue);
6293 if (BestObjectiveBound != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BestObjectiveBound);
6294 hash ^= solutionLowerBounds_.GetHashCode();
6295 hash ^= solutionUpperBounds_.GetHashCode();
6296 hash ^= tightenedVariables_.GetHashCode();
6297 if (AllSolutionsWereFound !=
false) hash ^= AllSolutionsWereFound.GetHashCode();
6298 if (NumBooleans != 0L) hash ^= NumBooleans.GetHashCode();
6299 if (NumConflicts != 0L) hash ^= NumConflicts.GetHashCode();
6300 if (NumBranches != 0L) hash ^= NumBranches.GetHashCode();
6301 if (NumBinaryPropagations != 0L) hash ^= NumBinaryPropagations.GetHashCode();
6302 if (NumIntegerPropagations != 0L) hash ^= NumIntegerPropagations.GetHashCode();
6303 if (WallTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(WallTime);
6304 if (UserTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(UserTime);
6305 if (DeterministicTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DeterministicTime);
6306 if (PrimalIntegral != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalIntegral);
6307 if (SolutionInfo.Length != 0) hash ^= SolutionInfo.GetHashCode();
6308 if (_unknownFields !=
null) {
6309 hash ^= _unknownFields.GetHashCode();
6314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6316 return pb::JsonFormatter.ToDiagnosticString(
this);
6319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6320 public void WriteTo(pb::CodedOutputStream output) {
6321 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
6322 output.WriteRawTag(8);
6323 output.WriteEnum((
int) Status);
6325 solution_.WriteTo(output, _repeated_solution_codec);
6326 if (ObjectiveValue != 0D) {
6327 output.WriteRawTag(25);
6328 output.WriteDouble(ObjectiveValue);
6330 if (BestObjectiveBound != 0D) {
6331 output.WriteRawTag(33);
6332 output.WriteDouble(BestObjectiveBound);
6334 if (AllSolutionsWereFound !=
false) {
6335 output.WriteRawTag(40);
6336 output.WriteBool(AllSolutionsWereFound);
6338 if (NumBooleans != 0L) {
6339 output.WriteRawTag(80);
6340 output.WriteInt64(NumBooleans);
6342 if (NumConflicts != 0L) {
6343 output.WriteRawTag(88);
6344 output.WriteInt64(NumConflicts);
6346 if (NumBranches != 0L) {
6347 output.WriteRawTag(96);
6348 output.WriteInt64(NumBranches);
6350 if (NumBinaryPropagations != 0L) {
6351 output.WriteRawTag(104);
6352 output.WriteInt64(NumBinaryPropagations);
6354 if (NumIntegerPropagations != 0L) {
6355 output.WriteRawTag(112);
6356 output.WriteInt64(NumIntegerPropagations);
6358 if (WallTime != 0D) {
6359 output.WriteRawTag(121);
6360 output.WriteDouble(WallTime);
6362 if (UserTime != 0D) {
6363 output.WriteRawTag(129, 1);
6364 output.WriteDouble(UserTime);
6366 if (DeterministicTime != 0D) {
6367 output.WriteRawTag(137, 1);
6368 output.WriteDouble(DeterministicTime);
6370 solutionLowerBounds_.WriteTo(output, _repeated_solutionLowerBounds_codec);
6371 solutionUpperBounds_.WriteTo(output, _repeated_solutionUpperBounds_codec);
6372 if (SolutionInfo.Length != 0) {
6373 output.WriteRawTag(162, 1);
6374 output.WriteString(SolutionInfo);
6376 tightenedVariables_.WriteTo(output, _repeated_tightenedVariables_codec);
6377 if (PrimalIntegral != 0D) {
6378 output.WriteRawTag(177, 1);
6379 output.WriteDouble(PrimalIntegral);
6381 if (_unknownFields !=
null) {
6382 _unknownFields.WriteTo(output);
6386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6389 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
6390 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) Status);
6392 size += solution_.CalculateSize(_repeated_solution_codec);
6393 if (ObjectiveValue != 0D) {
6396 if (BestObjectiveBound != 0D) {
6399 size += solutionLowerBounds_.CalculateSize(_repeated_solutionLowerBounds_codec);
6400 size += solutionUpperBounds_.CalculateSize(_repeated_solutionUpperBounds_codec);
6401 size += tightenedVariables_.CalculateSize(_repeated_tightenedVariables_codec);
6402 if (AllSolutionsWereFound !=
false) {
6405 if (NumBooleans != 0L) {
6406 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBooleans);
6408 if (NumConflicts != 0L) {
6409 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumConflicts);
6411 if (NumBranches != 0L) {
6412 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBranches);
6414 if (NumBinaryPropagations != 0L) {
6415 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBinaryPropagations);
6417 if (NumIntegerPropagations != 0L) {
6418 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumIntegerPropagations);
6420 if (WallTime != 0D) {
6423 if (UserTime != 0D) {
6426 if (DeterministicTime != 0D) {
6429 if (PrimalIntegral != 0D) {
6432 if (SolutionInfo.Length != 0) {
6433 size += 2 + pb::CodedOutputStream.ComputeStringSize(SolutionInfo);
6435 if (_unknownFields !=
null) {
6436 size += _unknownFields.CalculateSize();
6441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6443 if (other ==
null) {
6446 if (other.
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
6449 solution_.Add(other.solution_);
6456 solutionLowerBounds_.Add(other.solutionLowerBounds_);
6457 solutionUpperBounds_.Add(other.solutionUpperBounds_);
6458 tightenedVariables_.Add(other.tightenedVariables_);
6492 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6498 while ((tag = input.ReadTag()) != 0) {
6501 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6504 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
6509 solution_.AddEntriesFrom(input, _repeated_solution_codec);
6513 ObjectiveValue = input.ReadDouble();
6517 BestObjectiveBound = input.ReadDouble();
6521 AllSolutionsWereFound = input.ReadBool();
6525 NumBooleans = input.ReadInt64();
6529 NumConflicts = input.ReadInt64();
6533 NumBranches = input.ReadInt64();
6537 NumBinaryPropagations = input.ReadInt64();
6541 NumIntegerPropagations = input.ReadInt64();
6545 WallTime = input.ReadDouble();
6549 UserTime = input.ReadDouble();
6553 DeterministicTime = input.ReadDouble();
6558 solutionLowerBounds_.AddEntriesFrom(input, _repeated_solutionLowerBounds_codec);
6563 solutionUpperBounds_.AddEntriesFrom(input, _repeated_solutionUpperBounds_codec);
6567 SolutionInfo = input.ReadString();
6571 tightenedVariables_.AddEntriesFrom(input, _repeated_tightenedVariables_codec);
6575 PrimalIntegral = input.ReadDouble();
6588 #endregion Designer generated code