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

115 lines
9.9 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="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">eulerian_path.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &quot;ortools/base/logging.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for eulerian_path.h:</div>
<div class="dyncontent">
<div class="center"><img src="eulerian__path_8h__incl.png" border="0" usemap="#eulerian__path_8h" alt=""/></div>
<map name="eulerian__path_8h" id="eulerian__path_8h">
<area shape="rect" title=" " alt="" coords="42,5,155,31"/>
<area shape="rect" title=" " alt="" coords="5,79,63,104"/>
<area shape="rect" title=" " alt="" coords="88,79,239,104"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="eulerian__path_8h__dep__incl.png" border="0" usemap="#eulerian__path_8hdep" alt=""/></div>
<map name="eulerian__path_8hdep" id="eulerian__path_8hdep">
<area shape="rect" title=" " alt="" coords="33,5,146,31"/>
<area shape="rect" href="christofides_8h.html" title=" " alt="" coords="40,79,140,104"/>
<area shape="rect" href="one__tree__lower__bound_8h.html" title=" " alt="" coords="5,152,174,177"/>
</map>
</div>
</div>
<p><a href="eulerian__path_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="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="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab1cf773de0cae72d0c44efe5b8f4bb89"><td class="memTemplParams" colspan="2">template&lt;typename Graph &gt; </td></tr>
<tr class="memitem:ab1cf773de0cae72d0c44efe5b8f4bb89"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#ab1cf773de0cae72d0c44efe5b8f4bb89">operations_research::IsEulerianGraph</a> (const Graph &amp;graph)</td></tr>
<tr class="memdesc:ab1cf773de0cae72d0c44efe5b8f4bb89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if a graph is Eulerian, aka all its nodes are of even degree. <a href="namespaceoperations__research.html#ab1cf773de0cae72d0c44efe5b8f4bb89">More...</a><br /></td></tr>
<tr class="separator:ab1cf773de0cae72d0c44efe5b8f4bb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b312dd19c90b2af099e6f159869f7ee"><td class="memTemplParams" colspan="2">template&lt;typename NodeIndex , typename Graph &gt; </td></tr>
<tr class="memitem:a6b312dd19c90b2af099e6f159869f7ee"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a6b312dd19c90b2af099e6f159869f7ee">operations_research::IsSemiEulerianGraph</a> (const Graph &amp;graph, std::vector&lt; NodeIndex &gt; *odd_nodes)</td></tr>
<tr class="memdesc:a6b312dd19c90b2af099e6f159869f7ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if a graph is Semi-Eulerian, aka at most two of its nodes are of odd degree. <a href="namespaceoperations__research.html#a6b312dd19c90b2af099e6f159869f7ee">More...</a><br /></td></tr>
<tr class="separator:a6b312dd19c90b2af099e6f159869f7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a743d8c9d6f64531bdeb7bbf18023e9d4"><td class="memTemplParams" colspan="2">template&lt;typename NodeIndex , typename Graph &gt; </td></tr>
<tr class="memitem:a743d8c9d6f64531bdeb7bbf18023e9d4"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; NodeIndex &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a743d8c9d6f64531bdeb7bbf18023e9d4">operations_research::BuildEulerianPathFromNode</a> (const Graph &amp;graph, NodeIndex root)</td></tr>
<tr class="memdesc:a743d8c9d6f64531bdeb7bbf18023e9d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an Eulerian path/trail on an undirected graph starting from node root. <a href="namespaceoperations__research.html#a743d8c9d6f64531bdeb7bbf18023e9d4">More...</a><br /></td></tr>
<tr class="separator:a743d8c9d6f64531bdeb7bbf18023e9d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa63055860fc53f8eed56d23d2571c180"><td class="memTemplParams" colspan="2">template&lt;typename NodeIndex , typename Graph &gt; </td></tr>
<tr class="memitem:aa63055860fc53f8eed56d23d2571c180"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; NodeIndex &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#aa63055860fc53f8eed56d23d2571c180">operations_research::BuildEulerianTourFromNode</a> (const Graph &amp;graph, NodeIndex root)</td></tr>
<tr class="memdesc:aa63055860fc53f8eed56d23d2571c180"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an Eulerian tour/circuit/cycle starting and ending at node root on an undirected graph. <a href="namespaceoperations__research.html#aa63055860fc53f8eed56d23d2571c180">More...</a><br /></td></tr>
<tr class="separator:aa63055860fc53f8eed56d23d2571c180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a034666fe63ca105b735272974006362a"><td class="memTemplParams" colspan="2">template&lt;typename Graph &gt; </td></tr>
<tr class="memitem:a034666fe63ca105b735272974006362a"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; typename Graph::NodeIndex &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a034666fe63ca105b735272974006362a">operations_research::BuildEulerianTour</a> (const Graph &amp;graph)</td></tr>
<tr class="memdesc:a034666fe63ca105b735272974006362a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as above but without specifying a start/end root node (node 0 is taken as default root). <a href="namespaceoperations__research.html#a034666fe63ca105b735272974006362a">More...</a><br /></td></tr>
<tr class="separator:a034666fe63ca105b735272974006362a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49b170b2d03863c465331e67b21f0c33"><td class="memTemplParams" colspan="2">template&lt;typename Graph &gt; </td></tr>
<tr class="memitem:a49b170b2d03863c465331e67b21f0c33"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; typename Graph::NodeIndex &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceoperations__research.html#a49b170b2d03863c465331e67b21f0c33">operations_research::BuildEulerianPath</a> (const Graph &amp;graph)</td></tr>
<tr class="memdesc:a49b170b2d03863c465331e67b21f0c33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an Eulerian path/trail on an undirected graph. <a href="namespaceoperations__research.html#a49b170b2d03863c465331e67b21f0c33">More...</a><br /></td></tr>
<tr class="separator:a49b170b2d03863c465331e67b21f0c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>