<ahref="StepFunctionSampleSat_8cs.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">// Copyright 2010-2018 Google LLC</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment">// you may not use this file except in compliance with the License.</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment">// You may obtain a copy of the License at</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment">// Unless required by applicable law or agreed to in writing, software</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment">// See the License for the specific language governing permissions and</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment">// limitations under the License.</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> </div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="keyword">using</span> System;</div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="keyword">using</span><aclass="code"href="namespaceGoogle.html">Google</a>.<aclass="code"href="namespaceGoogle_1_1OrTools.html">OrTools</a>.<aclass="code"href="namespaceGoogle_1_1OrTools_1_1Sat.html">Sat</a>;</div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="keyword">using</span><aclass="code"href="namespaceGoogle.html">Google</a>.<aclass="code"href="namespaceGoogle_1_1OrTools.html">OrTools</a>.<aclass="code"href="namespaceGoogle_1_1OrTools_1_1Util.html">Util</a>;</div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> </div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="keyword">public</span><spanclass="keyword">class </span><aclass="code"href="classVarArraySolutionPrinter.html">VarArraySolutionPrinter</a> : <aclass="code"href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback.html">CpSolverSolutionCallback</a></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> {</div><divclass="line"><aname="l00020"></a><spanclass="lineno"><aclass="line"href="classVarArraySolutionPrinter.html#a3b71eea08c96242125490f2475e5a5ad"> 20</a></span> <spanclass="keyword">public</span><aclass="code"href="classVarArraySolutionPrinter.html#a3b71eea08c96242125490f2475e5a5ad">VarArraySolutionPrinter</a>(<aclass="code"href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a>[] variables)</div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span>  {</div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span>  variables_ = variables;</div><divclass="line"><aname="l00023"></a><spanclass="li
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_html"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto.html">Google.OrTools.Sat.DecisionStrategyProto</a></div><divclass="ttdoc">Define the strategy to follow when the solver needs to take a new decision.</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8pb_8cs_source.html#l04619">CpModel.pb.cs:4619</a></div></div>
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types_html"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types.html">Google.OrTools.Sat.DecisionStrategyProto.Types</a></div><divclass="ttdoc">Container for nested types declared in the DecisionStrategyProto message type.</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8pb_8cs_source.html#l04823">CpModel.pb.cs:4823</a></div></div>
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types_html_a855a897b1424cc769df01ae2aa6f2b80"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types.html#a855a897b1424cc769df01ae2aa6f2b80">Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy</a></div><divclass="ttdeci">DomainReductionStrategy</div><divclass="ttdoc">Once a variable has been chosen, this enum describe what decision is taken on its domain.</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8pb_8cs_source.html#l04844">CpModel.pb.cs:4844</a></div></div>
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1CpModel_html"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html">Google.OrTools.Sat.CpModel</a></div><divclass="ttdoc">Wrapper class around the cp_model proto.</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8cs_source.html#l00023">CpModel.cs:23</a></div></div>
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1CpModel_html_a0e96e31fd021191475ec9008b1b8022f"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html#a0e96e31fd021191475ec9008b1b8022f">Google.OrTools.Sat.CpModel.NewIntVar</a></div><divclass="ttdeci">IntVar NewIntVar(long lb, long ub, string name)</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8cs_source.html#l00045">CpModel.cs:45</a></div></div>
<divclass="ttc"id="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types_html_af4bf1a876161cbdf793093bf5e029c18"><divclass="ttname"><ahref="classGoogle_1_1OrTools_1_1Sat_1_1DecisionStrategyProto_1_1Types.html#af4bf1a876161cbdf793093bf5e029c18">Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy</a></div><divclass="ttdeci">VariableSelectionStrategy</div><divclass="ttdoc">The order in which the variables above should be considered.</div><divclass="ttdef"><b>Definition:</b><ahref="CpModel_8pb_8cs_source.html#l04830">CpModel.pb.cs:4830</a></div></div>