Files
ortools-clone/docs/cpp_graph/cliques_8h.html
2019-06-29 18:18:08 +02:00

142 lines
11 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">OR-Tools 7.2</span>
</div>
</div>
<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="pages.html"><span>Related&#160;Pages</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_725f3a5915051842f84e3ea508be2a62.html">graph</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">cliques.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;functional&gt;</code><br />
<code>#include &lt;numeric&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &quot;absl/strings/str_cat.h&quot;</code><br />
<code>#include &quot;ortools/base/int_type.h&quot;</code><br />
<code>#include &quot;ortools/base/int_type_indexed_vector.h&quot;</code><br />
<code>#include &quot;ortools/base/logging.h&quot;</code><br />
<code>#include &quot;ortools/util/time_limit.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for cliques.h:</div>
<div class="dyncontent">
<div class="center"><img src="cliques_8h__incl.png" border="0" usemap="#cliques_8h" alt=""/></div>
<map name="cliques_8h" id="cliques_8h">
<area shape="rect" title=" " alt="" coords="1785,5,1859,31"/>
<area shape="rect" title=" " alt="" coords="5,85,84,111"/>
<area shape="rect" title=" " alt="" coords="107,85,176,111"/>
<area shape="rect" title=" " alt="" coords="200,85,257,111"/>
<area shape="rect" title=" " alt="" coords="281,85,424,111"/>
<area shape="rect" title=" " alt="" coords="448,85,604,111"/>
<area shape="rect" title=" " alt="" coords="627,85,696,111"/>
<area shape="rect" title=" " alt="" coords="720,85,779,111"/>
<area shape="rect" title=" " alt="" coords="803,85,873,111"/>
<area shape="rect" title=" " alt="" coords="896,85,979,111"/>
<area shape="rect" title=" " alt="" coords="1003,85,1118,111"/>
<area shape="rect" title=" " alt="" coords="1142,79,1267,117"/>
<area shape="rect" title=" " alt="" coords="1291,85,1443,111"/>
<area shape="rect" title=" " alt="" coords="1467,79,1611,117"/>
<area shape="rect" title=" " alt="" coords="1635,85,1732,111"/>
<area shape="rect" title=" " alt="" coords="1756,85,1810,111"/>
<area shape="rect" title=" " alt="" coords="1835,85,1886,111"/>
<area shape="rect" title=" " alt="" coords="1910,85,2062,111"/>
<area shape="rect" title=" " alt="" coords="2085,85,2238,111"/>
<area shape="rect" title=" " alt="" coords="2262,85,2339,111"/>
<area shape="rect" title=" " alt="" coords="2362,85,2423,111"/>
<area shape="rect" title=" " alt="" coords="2447,85,2506,111"/>
<area shape="rect" title=" " alt="" coords="2531,85,2582,111"/>
<area shape="rect" title=" " alt="" coords="2606,85,2675,111"/>
<area shape="rect" title=" " alt="" coords="2699,79,2825,117"/>
<area shape="rect" title=" " alt="" coords="2849,85,3008,111"/>
<area shape="rect" title=" " alt="" coords="3033,85,3152,111"/>
<area shape="rect" title=" " alt="" coords="3176,85,3393,111"/>
<area shape="rect" title=" " alt="" coords="3417,85,3555,111"/>
<area shape="rect" title=" " alt="" coords="3578,79,3708,117"/>
<area shape="rect" title=" " alt="" coords="3733,85,3791,111"/>
</map>
</div>
</div>
<p><a href="cliques_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html">operations_research::BronKerboschAlgorithm&lt; NodeIndex &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements the Bron-Kerbosch algorithm for finding maximal cliques. <a href="classoperations__research_1_1BronKerboschAlgorithm.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceoperations__research"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html">operations_research</a></td></tr>
<tr class="memdesc:namespaceoperations__research"><td class="mdescLeft">&#160;</td><td class="mdescRight">Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:af2d89e69d073dc3036a6de24710b416f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#af2d89e69d073dc3036a6de24710b416f">operations_research::CliqueResponse</a> { <a class="el" href="namespaceoperations__research.html#af2d89e69d073dc3036a6de24710b416fa2f453cfe638e57e27bb0c9512436111e">operations_research::CliqueResponse::CONTINUE</a>,
<a class="el" href="namespaceoperations__research.html#af2d89e69d073dc3036a6de24710b416fa615a46af313786fc4e349f34118be111">operations_research::CliqueResponse::STOP</a>
}</td></tr>
<tr class="memdesc:af2d89e69d073dc3036a6de24710b416f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible return values of the callback for reporting cliques. <a href="namespaceoperations__research.html#af2d89e69d073dc3036a6de24710b416f">More...</a><br /></td></tr>
<tr class="separator:af2d89e69d073dc3036a6de24710b416f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a708cf34b342e7d2ed89a3b73dbec4eae"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a708cf34b342e7d2ed89a3b73dbec4eae">operations_research::BronKerboschAlgorithmStatus</a> { <a class="el" href="namespaceoperations__research.html#a708cf34b342e7d2ed89a3b73dbec4eaea8f7afecbc8fbc4cd0f50a57d1172482e">operations_research::BronKerboschAlgorithmStatus::COMPLETED</a>,
<a class="el" href="namespaceoperations__research.html#a708cf34b342e7d2ed89a3b73dbec4eaea658f2cadfdf09b6046246e9314f7cd43">operations_research::BronKerboschAlgorithmStatus::INTERRUPTED</a>
}</td></tr>
<tr class="memdesc:a708cf34b342e7d2ed89a3b73dbec4eae"><td class="mdescLeft">&#160;</td><td class="mdescRight">The status value returned by BronKerboschAlgorithm::Run and BronKerboschAlgorithm::RunIterations. <a href="namespaceoperations__research.html#a708cf34b342e7d2ed89a3b73dbec4eae">More...</a><br /></td></tr>
<tr class="separator:a708cf34b342e7d2ed89a3b73dbec4eae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a509097448ff5705cf3e64d889362bdec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a509097448ff5705cf3e64d889362bdec">operations_research::FindCliques</a> (std::function&lt; bool(int, int)&gt; graph, int node_count, std::function&lt; bool(const std::vector&lt; int &gt; &amp;)&gt; callback)</td></tr>
<tr class="memdesc:a509097448ff5705cf3e64d889362bdec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds all maximal cliques, even of size 1, in the graph described by the graph callback. <a href="namespaceoperations__research.html#a509097448ff5705cf3e64d889362bdec">More...</a><br /></td></tr>
<tr class="separator:a509097448ff5705cf3e64d889362bdec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe4b5a6c0e4019314f288e3f4307c114"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#afe4b5a6c0e4019314f288e3f4307c114">operations_research::CoverArcsByCliques</a> (std::function&lt; bool(int, int)&gt; graph, int node_count, std::function&lt; bool(const std::vector&lt; int &gt; &amp;)&gt; callback)</td></tr>
<tr class="memdesc:afe4b5a6c0e4019314f288e3f4307c114"><td class="mdescLeft">&#160;</td><td class="mdescRight">Covers the maximum number of arcs of the graph with cliques. <a href="namespaceoperations__research.html#afe4b5a6c0e4019314f288e3f4307c114">More...</a><br /></td></tr>
<tr class="separator:afe4b5a6c0e4019314f288e3f4307c114"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>