classworldmodel.html

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

HTML
440
字号
<li>Environmental information: specific information about the soccer server<li>Match information: general information about the current state of a match<li><a class="el" href="classObject.html">Object</a> information: all the objects on the soccer field<li>Action information: actions that the agent has performed</ul>The methods can also be divided into different groups:<ul><li>Retrieval methods: directly retrieving information of objects<li>Update methods: update world based on new sensory information<li>Prediction methods: predict future states based on past perceptions<li>High-Level methods: deriving high-level conclusions from basic world state </ul><p><p>Definition at line <a class="el" href="WorldModel_8h-source.html#l00072">72</a> of file <a class="el" href="WorldModel_8h-source.html">WorldModel.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a152" doxytag="WorldModel::WorldModel"></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"> WorldModel::WorldModel </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classServerSettings.html">ServerSettings</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ss</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPlayerSettings.html">PlayerSettings</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ps</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This constructor creates the worldmodel, all variables are initialized by default values <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ss</em>&nbsp;</td><td>reference to class in which all server parameters are stored </td></tr><tr><td valign=top><em>ps</em>&nbsp;</td><td>reference to class in which all client parameters are stored </td></tr></table></dl><p>Definition at line <a class="el" href="WorldModel_8C-source.html#l00059">59</a> of file <a class="el" href="WorldModel_8C-source.html">WorldModel.C</a>.<p>References <a class="el" href="WorldModel_8h-source.html#l00110">agentObject</a>, <a class="el" href="WorldModel_8h-source.html#l00109">Ball</a>, <a class="el" href="WorldModel_8h-source.html#l00092">bNewInfo</a>, <a class="el" href="namespace_3globalScope_4.html#a250a206">BS_ILLEGAL</a>, <a class="el" href="WorldModel_8h-source.html#l00151">bsCheckBall</a>, <a class="el" href="namespace_3globalScope_4.html#a247a191">CMD_MAX_COMMANDS</a>, <a class="el" href="SoccerTypes_8h-source.html#l00489">SoccerCommand::commandType</a>, <a class="el" href="WorldModel_8h-source.html#l00155">cond_newInfo</a>, <a class="el" href="WorldModel_8h-source.html#l00119">Flags</a>, <a class="el" href="SoccerTypes_8C-source.html#l01168">SoccerTypes::getOpponentObjectFromIndex</a>(), <a class="el" href="ServerSettings_8C-source.html#l00639">ServerSettings::getStaminaMax</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01159">SoccerTypes::getTeammateObjectFromIndex</a>(), <a class="el" href="WorldModel_8h-source.html#l00143">iCommandCounters</a>, <a class="el" href="WorldModel_8h-source.html#l00103">iGoalDiff</a>, <a class="el" href="WorldModel_8h-source.html#l00160">iNrHoles</a>, <a class="el" href="WorldModel_8h-source.html#l00161">iNrOpponentsSeen</a>, <a class="el" href="WorldModel_8h-source.html#l00162">iNrTeammatesSeen</a>, <a class="el" href="WorldModel_8h-source.html#l00116">iNrUnknownPlayers</a>, <a class="el" href="WorldModel_8h-source.html#l00120">Lines</a>, <a class="el" href="SoccerTypes_8h-source.html#l00071">MAX_FLAGS</a>, <a class="el" href="SoccerTypes_8h-source.html#l00072">MAX_LINES</a>, <a class="el" href="SoccerTypes_8h-source.html#l00062">MAX_OPPONENTS</a>, <a class="el" href="SoccerTypes_8h-source.html#l00061">MAX_TEAMMATES</a>, <a class="el" href="WorldModel_8h-source.html#l00154">mutex_newInfo</a>, <a class="el" href="namespace_3globalScope_4.html#a240a24">OBJECT_BALL</a>, <a class="el" href="namespace_3globalScope_4.html#a240a113">OBJECT_ILLEGAL</a>, <a class="el" href="WorldModel_8h-source.html#l00112">Opponents</a>, <a class="el" href="WorldModel_8h-source.html#l00140">performedCommands</a>, <a class="el" href="namespace_3globalScope_4.html#a242a121">PM_BEFORE_KICK_OFF</a>, <a class="el" href="WorldModel_8h-source.html#l00083">PS</a>, <a class="el" href="WorldModel_8h-source.html#l00138">queuedCommands</a>, <a class="el" href="WorldModel_8C-source.html#l00342">setPlayMode</a>(), <a class="el" href="WorldModel_8C-source.html#l00308">setSide</a>(), <a class="el" href="Objects_8C-source.html#l00771">AgentObject::setStamina</a>(), <a class="el" href="Objects_8C-source.html#l00094">Object::setType</a>(), <a class="el" href="namespace_3globalScope_4.html#a246a179">SIDE_ILLEGAL</a>, <a class="el" href="WorldModel_8h-source.html#l00082">SS</a>, <a class="el" href="WorldModel_8h-source.html#l00097">strTeamName</a>, <a class="el" href="WorldModel_8h-source.html#l00111">Teammates</a>, and <a class="el" href="WorldModel_8h-source.html#l00114">UnknownPlayers</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a23" doxytag="WorldModel::addOneToGoalDiff"></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"> int WorldModel::addOneToGoalDiff </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method adds one goal to the goal difference. Call this method when your team has scored a goal <dl compact><dt><b>Returns: </b><dd>new goal difference </dl><p>

⌨️ 快捷键说明

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