Files
ortools-clone/docs/cpp_graph/eulerian__path_8h.html
Laurent Perron 0ac3fa17eb more linear doc
2019-07-15 17:42:24 -07:00

100 lines
8.8 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><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('eulerian__path_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<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">
<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><!-- doc-content -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>