217 lines
8.5 KiB
HTML
217 lines
8.5 KiB
HTML
<!-- Good morning, Mr. Phelps. -->
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>or-tools/examples/cpp/: RandomMatrix Class Reference - Doxy</title>
|
|
<link rel="shortcut icon" href="../../../favicon.ico">
|
|
<!-- Both stylesheets are supplied by Doxygen, with maybe minor tweaks from Google. -->
|
|
<link href="../../../doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="../../../tabs.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
|
|
<body topmargin=0 leftmargin=20 bottommargin=0 rightmargin=20 marginwidth=20 marginheight=0>
|
|
<!-- Second part of the secret behind Doxy logo always having the word "Doxy" with the color of the day. -->
|
|
<style>
|
|
a.doxy_logo:hover {
|
|
background-color: #287003
|
|
}
|
|
</style>
|
|
|
|
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
|
<!-- Top horizontal line with the color of the day. -->
|
|
<tr valign=top>
|
|
<td colspan=3 bgcolor=#287003 height=3></td>
|
|
</tr>
|
|
|
|
<!-- Header row with the links at the right. -->
|
|
<tr valign=top>
|
|
<td colspan=3 align=right>
|
|
<font size=-1>
|
|
Generated on: <font color=#287003><b>Thu Mar 29 07:46:58 PDT 2012</b></font>
|
|
for <b>custom file set</b>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Header row with the logo and the search form. -->
|
|
<tr valign=top>
|
|
<!-- Logo. -->
|
|
<td align=left width=150>
|
|
<table width=150 height=54 cellpadding=0 cellspacing=0 border=0>
|
|
<tr valign=top>
|
|
<!-- First part of the secret behind Doxy logo always having the word "Doxy" with the color of the day. -->
|
|
<td bgcolor=#287003>
|
|
<a class="doxy_logo" href="../../../index.html"><img src="../../../doxy_logo.png" alt="Doxy" border=0></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Tiny vertical space below the form. -->
|
|
<tr valign=top>
|
|
<td colspan=3 height=3></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Header navigation row. -->
|
|
<div class="memproto">
|
|
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
|
<tr>
|
|
<td align=left style="padding-left: 20px"><font size=+1><b><tt><font color=#333333>//
|
|
<a href="../../../index.html"><font color=#287003>doxy</font></a>/</font>
|
|
<a href="../../../or-tools/index.html">or-tools</a>/
|
|
<a href="../../../or-tools/examples/index.html">examples</a>/
|
|
<a href="../../../or-tools/examples/cpp/index.html">cpp</a>/
|
|
</tt></b></font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br />
|
|
<!-- No subdirs found. -->
|
|
<!-- End of header. -->
|
|
<!-- Generated by Doxygen 1.5.6 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>RandomMatrix Class Reference</h1><!-- doxytag: class="RandomMatrix" -->Random matrix.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="classRandomMatrix-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRandomMatrix.html#5d630a77b5b6f849563ec3fd095d1ea7">RandomMatrix</a> (int size)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRandomMatrix.html#ce6fb68cc26e25d441fbe68a5b4373f9">Initialize</a> ()</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classRandomMatrix.html#6156d3223e8878a77bf9cf2f7f8f8c71">Distance</a> (RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const </td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Random matrix.
|
|
<p>Definition at line <a class="el" href="tsp_8cc-source.html#l00068">68</a> of file <a class="el" href="tsp_8cc-source.html">tsp.cc</a>.</p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="5d630a77b5b6f849563ec3fd095d1ea7"></a><!-- doxytag: member="RandomMatrix::RandomMatrix" ref="5d630a77b5b6f849563ec3fd095d1ea7" args="(int size)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">RandomMatrix::RandomMatrix </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>size</em> </td>
|
|
<td> ) </td>
|
|
<td><code> [inline, explicit]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
<p>Definition at line <a class="el" href="tsp_8cc-source.html#l00070">70</a> of file <a class="el" href="tsp_8cc-source.html">tsp.cc</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="ce6fb68cc26e25d441fbe68a5b4373f9"></a><!-- doxytag: member="RandomMatrix::Initialize" ref="ce6fb68cc26e25d441fbe68a5b4373f9" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void RandomMatrix::Initialize </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
<p>Definition at line <a class="el" href="tsp_8cc-source.html#l00071">71</a> of file <a class="el" href="tsp_8cc-source.html">tsp.cc</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="6156d3223e8878a77bf9cf2f7f8f8c71"></a><!-- doxytag: member="RandomMatrix::Distance" ref="6156d3223e8878a77bf9cf2f7f8f8c71" args="(RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int64 RandomMatrix::Distance </td>
|
|
<td>(</td>
|
|
<td class="paramtype">RoutingModel::NodeIndex </td>
|
|
<td class="paramname"> <em>from</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">RoutingModel::NodeIndex </td>
|
|
<td class="paramname"> <em>to</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
<p>Definition at line <a class="el" href="tsp_8cc-source.html#l00087">87</a> of file <a class="el" href="tsp_8cc-source.html">tsp.cc</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li>or-tools/examples/cpp/<a class="el" href="tsp_8cc-source.html">tsp.cc</a></ul>
|
|
</div>
|
|
|
|
<!-- Start of footer. -->
|
|
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
|
<tr valign=top>
|
|
<td colspan=2 height=10></td>
|
|
</tr>
|
|
<tr valign=top>
|
|
<td colspan=2 bgcolor=#287003 height=3></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
|
<br /><br />
|
|
|
|
|
|
</body>
|
|
</html>
|