easylocal_h.html
来自「一个tabu search算法框架」· HTML 代码 · 共 246 行
HTML
246 行
<!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:17 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.h File Reference</h1>Class declarations.
<a href="#_details">More...</a>
<p>
<code>#include <iostream></code><br>
<code>#include <fstream></code><br>
<code>#include <vector></code><br>
<code>#include <string></code><br>
<code>#include <list></code><br>
<code>#include <cmath></code><br>
<code>#include <cassert></code><br>
<code>#include <ctime></code><br>
<code>#include <cstdio></code><br>
<p>
Include dependency graph for EasyLocal.h:<p><center><img src="EasyLocal_h_incl.gif" border="0" usemap="#EasyLocal.h_map" alt="Include dependency graph"></center>
<map name="EasyLocal.h_map">
</map>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="EasyLocal_h_dep_incl.gif" border="0" usemap="#EasyLocal.hdep_map" alt="Included by dependency graph"></center>
<map name="EasyLocal.hdep_map">
<area href="EasyLocal.html" shape="rect" coords="0,0,69,18">
<area href="EasyLocal_cpp.html" shape="rect" coords="93,0,184,18">
</map>
<p>
<a href="EasyLocal_h-source.html">Go to the source code of this file.</a><h2>Namespaces</h2>
<ul>
<li>namespace <a class="el" href="namespace_easylocal.html">easylocal</a>
</ul>
<h2>Defines</h2>
<ul>
<li>#define <a class="el" href="EasyLocal_h.html#a0">HARD_WEIGHT</a> 1000
<li>#define <a class="el" href="EasyLocal_h.html#a1">fvalue</a> double
</ul>
<h2>Functions</h2>
<ul>
<li>int <a class="el" href="EasyLocal_h.html#a4">yyparse</a> ()
</ul>
<h2>Variables</h2>
<ul>
<li>FILE* <a class="el" href="EasyLocal_h.html#a2">yyin</a>
<li>FILE* <a class="el" href="EasyLocal_h.html#a3">yyout</a>
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class declarations.
<p>
<p>
<p>
This file contains all the class declarations of the EasyLocal++ framework.
<p>
<dl compact><dt>
<b>Author(s): </b><dd>
Andrea Schaerf (<a href="mailto:schaerf@uniud.it">schaerf@uniud.it</a>), Luca Di Gaspero (<a href="mailto:digasper@dimi.uniud.it">digasper@dimi.uniud.it</a>) </dl><dl compact><dt>
<b>Version: </b><dd>
0.1 </dl><dl compact><dt>
<b>Date: </b><dd>
15 Jun 2001 </dl><dl compact><dt>
<b>Note: </b><dd>
This version works both with MS Visual C++ and the GNU C++ compiler. Yet, it is extensively tested only with the GNU compiler.
<p>
</dl>
<p>
Definition in file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.<hr><h2>Define Documentation</h2>
<a name="a0" doxytag="EasyLocal.h::HARD_WEIGHT"></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>
#define HARD_WEIGHT 1000
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
This constant multiplies the value of the Violations function in the hierarchical formulation of the Cost function (i.e., CostFunction(s) = HARD_WEIGHT * Violations(s) + Objective(s)). <dl compact><dt>
<b><a class="el" href="todo.html#_todo000001">Todo: </a></b><dd>
The use of the global HARD_WEIGHT is a rough solution, waiting for an idea of a general mechanism for managing cost function weights. </dl>
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00056">56</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="EasyLocal.h::fvalue"></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>
#define fvalue double
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The fvalue definition represent the codomain of the cost and of the objective function. For default it is set to double, but the user can provide its own definition. In this case, the user must define its own double-valued distance function between fvalues. <dl compact><dt>
<b><a class="el" href="todo.html#_todo000002">Todo: </a></b><dd>
Find a more general mechanism. </dl>
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00071">71</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a4" doxytag="EasyLocal.h::yyparse"></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 yyparse (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
This function is provided by a bison parser for batch experiment file processing
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l02653">easylocal::Tester::ProcessBatch</a>(). </td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a2" doxytag="EasyLocal.h::yyin"></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>
FILE * yyin
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
This is the input file of the ExpSpec language interpreter
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00034">34</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="a3" doxytag="EasyLocal.h::yyout"></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>
FILE * yyout
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
This is the output file of the ExpSpec language interpreter
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00036">36</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 + -
显示快捷键?