classworldmodel.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 440 行 · 第 1/5 页

HTML
440
字号
Definition at line <a class="el" href="WorldModel_8C-source.html#l00363">363</a> of file <a class="el" href="WorldModel_8C-source.html">WorldModel.C</a>.<p>References <a class="el" href="WorldModel_8h-source.html#l00103">iGoalDiff</a>.<p>Referenced by <a class="el" href="SenseHandler_8C-source.html#l00428">SenseHandler::analyzeHearMessage</a>().    </td>  </tr></table><a name="c17" doxytag="WorldModel::averageParticles"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classVecPosition.html">VecPosition</a> WorldModel::averageParticles </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classVecPosition.html">VecPosition</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>posArray</em>[], </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>iLength</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the average of the particles contained in 'posArray'. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>posArray</em>&nbsp;</td><td>containing all possible global positions of the agent </td></tr><tr><td valign=top><em>iLength</em>&nbsp;</td><td>number of particles in posArray </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>average position of all the particles </dl><p>Definition at line <a class="el" href="WorldModelUpdate_8C-source.html#l01120">1120</a> of file <a class="el" href="WorldModelUpdate_8C-source.html">WorldModelUpdate.C</a>.<p>References <a class="el" href="Geometry_8C-source.html#l00542">VecPosition::getX</a>(), <a class="el" href="Geometry_8C-source.html#l00558">VecPosition::getY</a>(), and <a class="el" href="SoccerTypes_8h-source.html#l00088">UnknownDoubleValue</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00917">calculateStateAgent</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l01254">calculateStateBall</a>().    </td>  </tr></table><a name="c20" doxytag="WorldModel::calculateAngleAgentWithPos"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="Geometry_8h.html#a2">AngDeg</a> WorldModel::calculateAngleAgentWithPos </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classVecPosition.html">VecPosition</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method calculates the global neck angle of the agent using all available flag information and the estimation of the current global position of the agent 'pos'. For each percei

⌨️ 快捷键说明

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