class_u_o_f_solution.html
来自「遗传算法vc++语言版源程序,台湾大学编写。」· HTML 代码 · 共 497 行 · 第 1/2 页
HTML
497 行
<td class="md" nowrap valign="top"><a class="el" href="class_u_o_f_initializer.html">UOFInitializer</a>* UOFSolution::GetInit </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Get the pointer of the current initializer. <p>This function return the pointer of the current initializer </td> </tr></table><a class="anchor" name="07b5c2738cdd7837897a09b65551a7dc"></a><!-- doxytag: member="UOFSolution::GetScore" ref="07b5c2738cdd7837897a09b65551a7dc" args="()" --><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">double UOFSolution::GetScore </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Get the score of this solution. <p>This function return the evaluated score of this solution </td> </tr></table><a class="anchor" name="c9afc8f0238e29e015fff908a67b78fe"></a><!-- doxytag: member="UOFSolution::operator=" ref="c9afc8f0238e29e015fff908a67b78fe" args="(const UOFSolution &)" --><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"><a class="el" href="class_u_o_f_solution.html">UOFSolution</a> & UOFSolution::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_u_o_f_solution.html">UOFSolution</a> & </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Assign operator. <p>This operator overloads the "=" operation </td> </tr></table><a class="anchor" name="90f56da1f3cf6289d640813cea4c25b4"></a><!-- doxytag: member="UOFSolution::PrintSelf" ref="90f56da1f3cf6289d640813cea4c25b4" args="(ostream &)" --><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 UOFSolution::PrintSelf </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ostream & </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Output this solution. <p>This is an virtual function, User must override this function to work. This function output this solution to the input ostream. Users can override this function to output the information necessary to be displayed. </td> </tr></table><a class="anchor" name="4e3a54c5873f0518fda80dd66e31c5a2"></a><!-- doxytag: member="UOFSolution::score" ref="4e3a54c5873f0518fda80dd66e31c5a2" args="()" --><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 double UOFSolution::score </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Returns the evaluated score. <p>This function calls the evaluator to measure a score for this solution. </td> </tr></table><a class="anchor" name="a77a5264911840b37671081d3800e306"></a><!-- doxytag: member="UOFSolution::SelfInit" ref="a77a5264911840b37671081d3800e306" args="()" --><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 UOFSolution::SelfInit </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>SelfInit initialize this solution through the initializer. <p>This is an virtual function, User must override this function to work. This function initialize this solution through the initializer </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="f63b1dba5f3b1343ac9593abef3606ac"></a><!-- doxytag: member="UOFSolution::m_pEval" ref="f63b1dba5f3b1343ac9593abef3606ac" args="" --><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"><a class="el" href="class_u_o_f_evaluator.html">UOFEvaluator</a>* <a class="el" href="class_u_o_f_solution.html#f63b1dba5f3b1343ac9593abef3606ac">UOFSolution::m_pEval</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>the pointer of the evaluator of the problem </td> </tr></table><a class="anchor" name="9dbf522c1d01e81f13fda97af3a5ad06"></a><!-- doxytag: member="UOFSolution::m_pInit" ref="9dbf522c1d01e81f13fda97af3a5ad06" args="" --><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"><a class="el" href="class_u_o_f_initializer.html">UOFInitializer</a>* <a class="el" href="class_u_o_f_solution.html#9dbf522c1d01e81f13fda97af3a5ad06">UOFSolution::m_pInit</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>the pointer of the initializer of the parameters </td> </tr></table><a class="anchor" name="82b1c1fac82bdbfd427c381ff51ee19e"></a><!-- doxytag: member="UOFSolution::m_score" ref="82b1c1fac82bdbfd427c381ff51ee19e" args="" --><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">double <a class="el" href="class_u_o_f_solution.html#82b1c1fac82bdbfd427c381ff51ee19e">UOFSolution::m_score</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>the score of this solution </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li>E:/MyDocument/MyProjects/UnifiedOptimizationFrameworkAlpha/UOFSolution.h<li>E:/MyDocument/MyProjects/UnifiedOptimizationFrameworkAlpha/UOFSolution.cpp</ul><hr size="1"><address style="align: right;"><small>Generated on Thu Sep 14 13:49:11 2006 by <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 + =
减小字号Ctrl + -
显示快捷键?