Files
ortools-clone/docs/dotnet/SatHelper_8cs_source.html

82 lines
44 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="banner-container">
<div id="banner">
2019-06-29 18:18:08 +02:00
<span id="sfml">OR-Tools 7.2</span>
</div>
</div>
2019-06-29 18:18:08 +02:00
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
<div id="content">
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_b2c6d49957bf5d0c7726edb4b829cd4d.html">gen</a></li><li class="navelem"><a class="el" href="dir_dd9e6105f85b4b8d1432afc92516bdf4.html">ortools</a></li><li class="navelem"><a class="el" href="dir_c5b0fe70900e54a4a94ebb062342b0c6.html">sat</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">SatHelper.cs</div> </div>
</div><!--header-->
<div class="contents">
2019-06-29 18:18:08 +02:00
<a href="SatHelper_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// &lt;auto-generated /&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// This file was automatically generated by SWIG (http://www.swig.org).</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// Version 4.0.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// Do not make changes to this file unless you know what you are doing--modify</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// the SWIG interface file instead.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">using</span> System;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">using</span> System.Runtime.<a class="code" href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">using</span> System.Collections;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html"> 17</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html">SatHelper</a> : global::System.IDisposable {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">private</span> global::System.Runtime.InteropServices.HandleRef swigCPtr;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a4479381f6e91a4e4efa5c225ad30b94f"> 19</a></span>&#160; <span class="keyword">protected</span> <span class="keywordtype">bool</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a4479381f6e91a4e4efa5c225ad30b94f">swigCMemOwn</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">internal</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a80902c827ea855e21907201a792a2506">SatHelper</a>(global::System.IntPtr cPtr, <span class="keywordtype">bool</span> cMemoryOwn) {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a4479381f6e91a4e4efa5c225ad30b94f">swigCMemOwn</a> = cMemoryOwn;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; swigCPtr = <s
<div class="ttc" id="namespaceSystem_1_1Runtime_1_1InteropServices_html"><div class="ttname"><a href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ProtoHelper_html_a76075e5402cb35324c8482c2b61863e6"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ProtoHelper.html#a76075e5402cb35324c8482c2b61863e6">Google.OrTools.ProtoHelper.ProtoToByteArray</a></div><div class="ttdeci">static byte [] ProtoToByteArray(IMessage message)</div><div class="ttdef"><b>Definition:</b> <a href="ProtoHelper_8cs_source.html#l00021">ProtoHelper.cs:21</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a2cf9d6f629c19c41815552f24d677536"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a2cf9d6f629c19c41815552f24d677536">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_SolverResponseStats</a></div><div class="ttdeci">static string SatHelper_SolverResponseStats(int response_size, byte[] jarg1)</div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a80902c827ea855e21907201a792a2506"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a80902c827ea855e21907201a792a2506">Google.OrTools.Sat.SatHelper.SatHelper</a></div><div class="ttdeci">SatHelper()</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00126">SatHelper.cs:126</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a0bd28f6ce4538f7328bb1e7cebf47acb"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a0bd28f6ce4538f7328bb1e7cebf47acb">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_ValidateModel</a></div><div class="ttdeci">static string SatHelper_ValidateModel(int model_proto_size, byte[] jarg1)</div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_acd22a24a819c2e500485e520fa8ebe54"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#acd22a24a819c2e500485e520fa8ebe54">Google.OrTools.Sat.SatHelper.SolveWithStringParametersAndSolutionCallback</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse SolveWithStringParametersAndSolutionCallback(Google.OrTools.Sat.CpModelProto model_proto, string parameters, SolutionCallback callback)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00091">SatHelper.cs:91</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_a65aa2b64497bce4bb03a564220c441a9"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#a65aa2b64497bce4bb03a564220c441a9">Google.OrTools.Sat.operations_research_satPINVOKE.delete_SatHelper</a></div><div class="ttdeci">static void delete_SatHelper(global::System.Runtime.InteropServices.HandleRef jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ProtoHelper_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ProtoHelper.html">Google.OrTools.ProtoHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="ProtoHelper_8cs_source.html#l00019">ProtoHelper.cs:19</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_aebd72c03f113e3e824c8b2c5fac44c6b"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aebd72c03f113e3e824c8b2c5fac44c6b">Google.OrTools.Sat.SatHelper.SolverResponseStats</a></div><div class="ttdeci">static string SolverResponseStats(Google.OrTools.Sat.CpSolverResponse response)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00116">SatHelper.cs:116</a></div></div>
<div class="ttc" id="namespaceGoogle_html"><div class="ttname"><a href="namespaceGoogle.html">Google</a></div><div class="ttdef"><b>Definition:</b> <a href="KInt64Vector_8cs_source.html#l00011">KInt64Vector.cs:11</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a5c26da20539a781b7bbf6c842ed19288"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a5c26da20539a781b7bbf6c842ed19288">Google.OrTools.Sat.SatHelper.SolveWithStringParameters</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse SolveWithStringParameters(Google.OrTools.Sat.CpModelProto model_proto, string parameters)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00071">SatHelper.cs:71</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverResponse_html_aa3c63f2c2f2cac3102f1b64013497724"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverResponse.html#aa3c63f2c2f2cac3102f1b64013497724">Google.OrTools.Sat.CpSolverResponse.MergeFrom</a></div><div class="ttdeci">void MergeFrom(CpSolverResponse other)</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l05964">CpModel.pb.cs:5964</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a4486f34716150797d1722abdb6e6a3e6"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a4486f34716150797d1722abdb6e6a3e6">Google.OrTools.Sat.SatHelper.Dispose</a></div><div class="ttdeci">void Dispose()</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00034">SatHelper.cs:34</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_ad0fc9de78116db320d1e6b8a4d202881"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#ad0fc9de78116db320d1e6b8a4d202881">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_SolveWithStringParameters</a></div><div class="ttdeci">static System.IntPtr SatHelper_SolveWithStringParameters(int model_proto_size, byte[] jarg1, string jarg2)</div></div>
<div class="ttc" id="namespaceGoogle_1_1OrTools_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools.html">Google.OrTools</a></div><div class="ttdef"><b>Definition:</b> <a href="KInt64Vector_8cs_source.html#l00011">KInt64Vector.cs:11</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a4479381f6e91a4e4efa5c225ad30b94f"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a4479381f6e91a4e4efa5c225ad30b94f">Google.OrTools.Sat.SatHelper.swigCMemOwn</a></div><div class="ttdeci">bool swigCMemOwn</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00019">SatHelper.cs:19</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_a73fbace129cf3e01e7c1e8d244fde621"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#a73fbace129cf3e01e7c1e8d244fde621">Google.OrTools.Sat.SatHelper.Solve</a></div><div class="ttdeci">static Google.OrTools.Sat.CpSolverResponse Solve(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00051">SatHelper.cs:51</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_acc0ad6de7ed55a183de63f7acc41bb4c"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#acc0ad6de7ed55a183de63f7acc41bb4c">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_Solve</a></div><div class="ttdeci">static System.IntPtr SatHelper_Solve(int model_proto_size, byte[] jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html">Google.OrTools.Sat.CpModelProto</a></div><div class="ttdoc">A constraint programming problem.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l05198">CpModel.pb.cs:5198</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_aa595de718afd1d09e70fc23b4c9bfdc7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aa595de718afd1d09e70fc23b4c9bfdc7">Google.OrTools.Sat.SatHelper.Dispose</a></div><div class="ttdeci">virtual void Dispose(bool disposing)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00039">SatHelper.cs:39</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_ae1ad1771edbf4fa1bcd4e22b0d74d515"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#ae1ad1771edbf4fa1bcd4e22b0d74d515">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_SolveWithStringParametersAndSolutionCallback</a></div><div class="ttdeci">static System.IntPtr SatHelper_SolveWithStringParametersAndSolutionCallback(int model_proto_size, byte[] jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html">Google.OrTools.Sat.SolutionCallback</a></div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8cs_source.html#l00017">SolutionCallback.cs:17</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html_afdb1f50ebec2f8dd1879686930754ab1"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html#afdb1f50ebec2f8dd1879686930754ab1">Google.OrTools.Sat.operations_research_satPINVOKE.SatHelper_ModelStats</a></div><div class="ttdeci">static string SatHelper_ModelStats(int model_proto_size, byte[] jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1operations__research__satPINVOKE.html">Google.OrTools.Sat.operations_research_satPINVOKE</a></div><div class="ttdef"><b>Definition:</b> <a href="operations__research__satPINVOKE_8cs_source.html#l00013">operations_research_satPINVOKE.cs:13</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html">Google.OrTools.Sat.SatHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00017">SatHelper.cs:17</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_af7f4f31c1204ec357839d32e937b1cb1"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#af7f4f31c1204ec357839d32e937b1cb1">Google.OrTools.Sat.SatHelper.ValidateModel</a></div><div class="ttdeci">static string ValidateModel(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00121">SatHelper.cs:121</a></div></div>
<div class="ttc" id="namespaceGoogle_1_1OrTools_1_1Sat_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a></div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l00012">CpModel.pb.cs:12</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper_html_aff43493613bf902c1ed8f87a57cfd7a2"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SatHelper.html#aff43493613bf902c1ed8f87a57cfd7a2">Google.OrTools.Sat.SatHelper.ModelStats</a></div><div class="ttdeci">static string ModelStats(Google.OrTools.Sat.CpModelProto model_proto)</div><div class="ttdef"><b>Definition:</b> <a href="SatHelper_8cs_source.html#l00111">SatHelper.cs:111</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>