142 lines
11 KiB
HTML
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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File 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> |
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<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 <functional></code><br />
|
|
<code>#include <numeric></code><br />
|
|
<code>#include <vector></code><br />
|
|
<code>#include "absl/strings/str_cat.h"</code><br />
|
|
<code>#include "ortools/base/int_type.h"</code><br />
|
|
<code>#include "ortools/base/int_type_indexed_vector.h"</code><br />
|
|
<code>#include "ortools/base/logging.h"</code><br />
|
|
<code>#include "ortools/util/time_limit.h"</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  </td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1BronKerboschAlgorithm.html">operations_research::BronKerboschAlgorithm< NodeIndex ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </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"> </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">  </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"> </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"> </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  </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"> </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"> </td></tr>
|
|
<tr class="memitem:a708cf34b342e7d2ed89a3b73dbec4eae"><td class="memItemLeft" align="right" valign="top">enum  </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"> </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"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a509097448ff5705cf3e64d889362bdec">operations_research::FindCliques</a> (std::function< bool(int, int)> graph, int node_count, std::function< bool(const std::vector< int > &)> callback)</td></tr>
|
|
<tr class="memdesc:a509097448ff5705cf3e64d889362bdec"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:afe4b5a6c0e4019314f288e3f4307c114"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#afe4b5a6c0e4019314f288e3f4307c114">operations_research::CoverArcsByCliques</a> (std::function< bool(int, int)> graph, int node_count, std::function< bool(const std::vector< int > &)> callback)</td></tr>
|
|
<tr class="memdesc:afe4b5a6c0e4019314f288e3f4307c114"><td class="mdescLeft"> </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"> </td></tr>
|
|
</table>
|
|
</div><!-- contents -->
|
|
</div>
|
|
<div id="footer-container">
|
|
<div id="footer">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|