⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_u_o_f_id.html

📁 遗传算法vc++语言版源程序,台湾大学编写。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>UOFId Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.5 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>    <li><a href="dirs.html"><span>Directories</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>UOFId Class Reference</h1><!-- doxytag: class="UOFId" -->Basic class.  <a href="#_details">More...</a><p><code>#include &lt;UOFId.h&gt;</code><p><p>Inheritance diagram for UOFId:<p><center><img src="class_u_o_f_id.png" usemap="#UOFId_map" border="0" alt=""></center><map name="UOFId_map"><area href="class_assign_val.html" alt="AssignVal" shape="rect" coords="105,56,200,80"><area href="class_crossover.html" alt="Crossover" shape="rect" coords="105,112,200,136"><area href="class_move.html" alt="Move" shape="rect" coords="105,168,200,192"><area href="class_mutator.html" alt="Mutator" shape="rect" coords="105,224,200,248"><area href="class_selector.html" alt="Selector" shape="rect" coords="105,280,200,304"><area href="class_u_o_f_constraint.html" alt="UOFConstraint" shape="rect" coords="105,336,200,360"><area href="class_u_o_f_evaluator.html" alt="UOFEvaluator" shape="rect" coords="105,392,200,416"><area href="class_u_o_f_info.html" alt="UOFInfo" shape="rect" coords="105,448,200,472"><area href="class_u_o_f_problem.html" alt="UOFProblem" shape="rect" coords="105,504,200,528"><area href="class_u_o_f_solution.html" alt="UOFSolution" shape="rect" coords="105,560,200,584"><area href="class_u_o_f_solver.html" alt="UOFSolver" shape="rect" coords="105,616,200,640"></map><a href="class_u_o_f_id-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">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_o_f_id.html#c8473f235c96595e38ff044b1d3a0ab7">sameClass</a> (const <a class="el" href="class_u_o_f_id.html">UOFId</a> &amp;b) const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function examine the input class is the same with this class.  <a href="#c8473f235c96595e38ff044b1d3a0ab7"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_o_f_id.html#38b04af1725fe262daabc201781ea16a">className</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function returns the name of this class.  <a href="#38b04af1725fe262daabc201781ea16a"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_o_f_id.html#5aeba0c72b1f48bea25b7d78c936a258">classID</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function returns the ID of this class.  <a href="#5aeba0c72b1f48bea25b7d78c936a258"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_o_f_id.html#b8b4a7eba09e8ea056ab0837c2af32b3">LogHeader</a> (ostream &amp;)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function output the LogHeader of this class to output stream.  <a href="#b8b4a7eba09e8ea056ab0837c2af32b3"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Basic class. <p>All classes in UOF are inherited from this class. Each class from UOFId is assigned to a unique id for identification <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="5aeba0c72b1f48bea25b7d78c936a258"></a><!-- doxytag: member="UOFId::classID" ref="5aeba0c72b1f48bea25b7d78c936a258" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual int UOFId::classID           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This function returns the ID of this class. <p>Classes inherited from this class should override this funciton to get correct ID     </td>  </tr></table><a class="anchor" name="38b04af1725fe262daabc201781ea16a"></a><!-- doxytag: member="UOFId::className" ref="38b04af1725fe262daabc201781ea16a" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual const char* UOFId::className           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This function returns the name of this class. <p>Classes inherited from this class should override this funciton to get correct name     </td>  </tr></table><a class="anchor" name="b8b4a7eba09e8ea056ab0837c2af32b3"></a><!-- doxytag: member="UOFId::LogHeader" ref="b8b4a7eba09e8ea056ab0837c2af32b3" args="(ostream &amp;)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual void UOFId::LogHeader           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This function output the LogHeader of this class to output stream. <p>Classes inherited from this class should override this funciton to output the correct LogHeader. The LogHeader function should output the necessary information of this class such as current setting.     </td>  </tr></table><a class="anchor" name="c8473f235c96595e38ff044b1d3a0ab7"></a><!-- doxytag: member="UOFId::sameClass" ref="c8473f235c96595e38ff044b1d3a0ab7" args="(const UOFId &amp;b) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int UOFId::sameClass           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_u_o_f_id.html">UOFId</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>b</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This function examine the input class is the same with this class. <p>return 1 if class b is the same with this, return 0 else <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>the UOFId class for comparison </td></tr>  </table></dl>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li>E:/MyDocument/MyProjects/UnifiedOptimizationFrameworkAlpha/UOFId.h</ul><hr size="1"><address style="align: right;"><small>Generated on Thu Sep 14 13:49:10 2006 by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -