Files
ortools-clone/docs/cpp_graph/classoperations__research_1_1BronKerboschAlgorithm.html
Laurent Perron faf982ce5d regenerate doc
2019-11-14 13:52:51 -08:00

271 lines
15 KiB
HTML

<!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">
<span id="sfml">Google OR-Tools 7.4</span>
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>C++ Reference</h2>
<ul>
<li><a href="../cpp_algorithms/annotated.html">Algorithms</a></li>
<li><a href="../cpp_sat/annotated.html">CP-SAT</a></li>
<li><a href="../cpp_graph/annotated.html">Graph</a></li>
<li><a href="../cpp_routing/annotated.html">Routing</a></li>
<li><a href="../cpp_linear/annotated.html">Linear solver</a></li>
</ul>
</div>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">C++ Reference: Graph</h1>
</div>
<!-- Generated by Doxygen 1.8.16 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceoperations__research.html">operations_research</a></li><li class="navelem"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html">BronKerboschAlgorithm</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classoperations__research_1_1BronKerboschAlgorithm-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BronKerboschAlgorithm&lt; NodeIndex &gt;</div> </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename NodeIndex&gt;<br />
class operations_research::BronKerboschAlgorithm&lt; NodeIndex &gt;</h3>
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00143">143</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab7e6d525ff89ae730a1c917f3dccc3f0"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#ab7e6d525ff89ae730a1c917f3dccc3f0">IsArcCallback</a> = std::function&lt; bool(<a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>, <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>)&gt;</td></tr>
<tr class="separator:ab7e6d525ff89ae730a1c917f3dccc3f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff90108523eb5a8ec3549adc67355aa1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#aff90108523eb5a8ec3549adc67355aa1">CliqueCallback</a> = std::function&lt; <a class="el" href="namespaceoperations__research.html#ae6df4b4cb7c39ca06812199bbee9119c">CliqueResponse</a>(const std::vector&lt; <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> &gt; &amp;)&gt;</td></tr>
<tr class="separator:aff90108523eb5a8ec3549adc67355aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a18c56882f1ab1cfb8a93b0c3c23f1e77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#a18c56882f1ab1cfb8a93b0c3c23f1e77">BronKerboschAlgorithm</a> (<a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#ab7e6d525ff89ae730a1c917f3dccc3f0">IsArcCallback</a> is_arc, <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a> num_nodes, <a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#aff90108523eb5a8ec3549adc67355aa1">CliqueCallback</a> clique_callback)</td></tr>
<tr class="separator:a18c56882f1ab1cfb8a93b0c3c23f1e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ad57c326955d7c5be67f0e444ff9eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#a14ad57c326955d7c5be67f0e444ff9eb">Run</a> ()</td></tr>
<tr class="separator:a14ad57c326955d7c5be67f0e444ff9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39523d6296394d5e4321c82896b3834c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#a39523d6296394d5e4321c82896b3834c">RunIterations</a> (int64 max_num_iterations)</td></tr>
<tr class="separator:a39523d6296394d5e4321c82896b3834c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a717c6345b186d47030d10c27c2fbebe5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#a717c6345b186d47030d10c27c2fbebe5">RunWithTimeLimit</a> (int64 max_num_iterations, TimeLimit *time_limit)</td></tr>
<tr class="separator:a717c6345b186d47030d10c27c2fbebe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8594a59f12eedf7ed0d8f8d2e56ca751"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#a8594a59f12eedf7ed0d8f8d2e56ca751">RunWithTimeLimit</a> (TimeLimit *time_limit)</td></tr>
<tr class="separator:a8594a59f12eedf7ed0d8f8d2e56ca751"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aff90108523eb5a8ec3549adc67355aa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff90108523eb5a8ec3549adc67355aa1">&#9670;&nbsp;</a></span>CliqueCallback</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#aff90108523eb5a8ec3549adc67355aa1">CliqueCallback</a> = std::function&lt;<a class="el" href="namespaceoperations__research.html#ae6df4b4cb7c39ca06812199bbee9119c">CliqueResponse</a>(const std::vector&lt;<a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&gt;&amp;)&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00159">159</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<a id="ab7e6d525ff89ae730a1c917f3dccc3f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7e6d525ff89ae730a1c917f3dccc3f0">&#9670;&nbsp;</a></span>IsArcCallback</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#ab7e6d525ff89ae730a1c917f3dccc3f0">IsArcCallback</a> = std::function&lt;bool(<a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>, <a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>)&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00149">149</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a18c56882f1ab1cfb8a93b0c3c23f1e77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18c56882f1ab1cfb8a93b0c3c23f1e77">&#9670;&nbsp;</a></span>BronKerboschAlgorithm()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html">BronKerboschAlgorithm</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#ab7e6d525ff89ae730a1c917f3dccc3f0">IsArcCallback</a>&#160;</td>
<td class="paramname"><em>is_arc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceoperations__research.html#a272bcc4d6ee0e87a7fc430a5cb13c582">NodeIndex</a>&#160;</td>
<td class="paramname"><em>num_nodes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html#aff90108523eb5a8ec3549adc67355aa1">CliqueCallback</a>&#160;</td>
<td class="paramname"><em>clique_callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00163">163</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a14ad57c326955d7c5be67f0e444ff9eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14ad57c326955d7c5be67f0e444ff9eb">&#9670;&nbsp;</a></span>Run()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a> Run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00553">553</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<a id="a39523d6296394d5e4321c82896b3834c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39523d6296394d5e4321c82896b3834c">&#9670;&nbsp;</a></span>RunIterations()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a> RunIterations </td>
<td>(</td>
<td class="paramtype">int64&#160;</td>
<td class="paramname"><em>max_num_iterations</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00546">546</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<a id="a717c6345b186d47030d10c27c2fbebe5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a717c6345b186d47030d10c27c2fbebe5">&#9670;&nbsp;</a></span>RunWithTimeLimit() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a> RunWithTimeLimit </td>
<td>(</td>
<td class="paramtype">int64&#160;</td>
<td class="paramname"><em>max_num_iterations</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TimeLimit *&#160;</td>
<td class="paramname"><em>time_limit</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00508">508</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<a id="a8594a59f12eedf7ed0d8f8d2e56ca751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8594a59f12eedf7ed0d8f8d2e56ca751">&#9670;&nbsp;</a></span>RunWithTimeLimit() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceoperations__research.html#abd4e546b0e3afb0208c7a44ee6ab4ea8">BronKerboschAlgorithmStatus</a> RunWithTimeLimit </td>
<td>(</td>
<td class="paramtype">TimeLimit *&#160;</td>
<td class="paramname"><em>time_limit</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="cliques_8h_source.html#l00203">203</a> of file <a class="el" href="cliques_8h_source.html">cliques.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="cliques_8h_source.html">cliques.h</a></li>
</ul>
</div><!-- contents -->
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>