namespace_easylocal.html
来自「一个tabu search算法框架」· HTML 代码 · 共 313 行
HTML
313 行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>EasyLocal++ Documentation</title>
<link href="local.css" rel="stylesheet" type="text/css">
</head>
<body lang="en">
<table width="100%" border="0">
<tbody>
<tr>
<td colspan="2"><h1 class="nojustify">EasyLocal++ Documentation</h1>
<hr>
</td>
</tr>
<tr>
<td width="30" align="center"> </td>
<td>
<!-- Generated by Doxygen 1.2.5 on Sat Jun 9 18:59:42 2001 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center>
<hr><h1>easylocal Namespace Reference</h1>
<p>
<h2>Compounds</h2>
<ul>
<li>class <a class="el" href="class_easylocal__AbstractMoveTester.html">easylocal::AbstractMoveTester</a>
<li>class <a class="el" href="class_easylocal__AbstractSolver.html">easylocal::AbstractSolver</a>
<li>class <a class="el" href="class_easylocal__AbstractTester.html">easylocal::AbstractTester</a>
<li>class <a class="el" href="class_easylocal__ComparativeSolver.html">easylocal::ComparativeSolver</a>
<li>class <a class="el" href="class_easylocal__HillClimbing.html">easylocal::HillClimbing</a>
<li>class <a class="el" href="class_easylocal__ListItem.html">easylocal::ListItem</a>
<li>class <a class="el" href="class_easylocal__LocalSearchSolver.html">easylocal::LocalSearchSolver</a>
<li>class <a class="el" href="class_easylocal__MoveRunner.html">easylocal::MoveRunner</a>
<li>class <a class="el" href="class_easylocal__MoveTester.html">easylocal::MoveTester</a>
<li>class <a class="el" href="class_easylocal__MultiRunnerSolver.html">easylocal::MultiRunnerSolver</a>
<li>class <a class="el" href="class_easylocal__NeighborhoodExplorer.html">easylocal::NeighborhoodExplorer</a>
<li>class <a class="el" href="class_easylocal__OutputManager.html">easylocal::OutputManager</a>
<li>class <a class="el" href="class_easylocal__ParameterBox.html">easylocal::ParameterBox</a>
<li>class <a class="el" href="class_easylocal__ParameterData.html">easylocal::ParameterData</a>
<li>class <a class="el" href="class_easylocal__ProhibitionManager.html">easylocal::ProhibitionManager</a>
<li>class <a class="el" href="class_easylocal__Runner.html">easylocal::Runner</a>
<li>class <a class="el" href="class_easylocal__SimpleLocalSearch.html">easylocal::SimpleLocalSearch</a>
<li>class <a class="el" href="class_easylocal__SimulatedAnnealing.html">easylocal::SimulatedAnnealing</a>
<li>class <a class="el" href="class_easylocal__Solver.html">easylocal::Solver</a>
<li>class <a class="el" href="class_easylocal__StateManager.html">easylocal::StateManager</a>
<li>class <a class="el" href="class_easylocal__StateTester.html">easylocal::StateTester</a>
<li>class <a class="el" href="class_easylocal__SteepestDescent.html">easylocal::SteepestDescent</a>
<li>class <a class="el" href="class_easylocal__TabuListManager.html">easylocal::TabuListManager</a>
<li>class <a class="el" href="class_easylocal__TabuSearch.html">easylocal::TabuSearch</a>
<li>class <a class="el" href="class_easylocal__Tester.html">easylocal::Tester</a>
<li>class <a class="el" href="class_easylocal__TokenRingSolver.html">easylocal::TokenRingSolver</a>
<li>union <a class="el" href="union_easylocal__ValueType.html">easylocal::ValueType</a>
</ul>
<h2>Functions</h2>
<ul>
<li>int <a class="el" href="namespace_easylocal.html#a3">Random</a> (int i, int j)
<li>double <a class="el" href="namespace_easylocal.html#a4">distance</a> (fvalue x, fvalue y)
<li>template<class Move> std::ostream& <a class="el" href="namespace_easylocal.html#a5">operator<<</a> (std::ostream &, const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>< Move > &)
</ul>
<h2>Variables</h2>
<ul>
<li>const int <a class="el" href="namespace_easylocal.html#a0">RUNNER_NOT_FOUND</a> = 1
<li>const int <a class="el" href="namespace_easylocal.html#a1">RUNNER_TYPE_MISMATCH</a> = 2
<li>const double <a class="el" href="namespace_easylocal.html#a2">EPS</a> = 1.0E-6
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The easylocal namespace embeds all the classes of the framework.
<p>
<hr><h2>Function Documentation</h2>
<a name="a3" doxytag="easylocal::Random"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
int easylocal::Random (
</b></td>
<td valign="bottom"><b>
int <em>a</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
int <em>b</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Uniform random generator, it picks an integer value in the range [i, j].<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>i</em>
</td><td>
lower bound of the interval </td></tr>
<tr><td valign=top><em>j</em>
</td><td>
upper bound of the interval </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
an integer in the range [i, j] </dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00037">37</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>.
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l00350">easylocal::TabuListManager::InsertIntoList</a>(), and <a class="el" href="EasyLocal_h-source.html#l00036">yyout</a>(). </td>
</tr>
</table>
<a name="a4" doxytag="easylocal::distance"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
double easylocal::distance (
</b></td>
<td valign="bottom"><b>
fvalue <em>x</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
fvalue <em>y</em> )<code> [inline]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Computes the distance between two values in the codomain of the cost function and returns it as a double precision value.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>x</em>
</td><td>
first value </td></tr>
<tr><td valign=top><em>y</em>
</td><td>
second value </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
the distance between x and y </dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00056">56</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>.
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l00967">easylocal::MoveRunner::MakeMove</a>(). </td>
</tr>
</table>
<a name="a5" doxytag="easylocal::operator<<"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Move> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::ostream & easylocal::operator<< (
</b></td>
<td valign="bottom"><b>
std::ostream & <em>os</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>< Move > & <em>tl</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Prints out the current status of the Tabu List Manager.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l00317">317</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a2" doxytag="easylocal::EPS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const double easylocal::EPS = 1.0E-6
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
It is the precision above which the computed difference of the cost function and the expected value should be considered different.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00077">77</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="easylocal::RUNNER_NOT_FOUND"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const int easylocal::RUNNER_NOT_FOUND = 1
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
These are used by the <a class="el" href="class_easylocal__Tester.html">Tester</a> class for returning a code error to the parser.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00061">61</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="easylocal::RUNNER_TYPE_MISMATCH"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const int easylocal::RUNNER_TYPE_MISMATCH = 2
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
These are used by the <a class="el" href="class_easylocal__Tester.html">Tester</a> class for returning a code error to the parser.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00061">61</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td><hr>
<span class="mark">Go to:</span> the <a href="index.html">Main Page</a> of the documentation.
</td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?