📄 type_gactionpathcritic.html
字号:
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GActionPathCritic</b></big></big></big><br><br></td><td> This tells the search algorithm how bad a particular vector in the search space is</td></tr></table><br><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GActionPathCritic</b></big>(double* pStartState, int nVectorSize, int nActionCount)<br><div style="margin-left: 80px;"><font color=brown> nVectorSize is the number of dimensions in the search space</font></div><br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GActionPathCritic</b></big>()<br></div><br><big><big><i>Abstracts</i></big></big><br><div style="margin-left: 40px;">double <big><b>ComputeError</b></big>(<a href="type_GActionPath.html">GActionPath</a>* pPath, int nAction, double* pNewState)<br><div style="margin-left: 80px;"><font color=brown> Computes the error of the given path which ends in the given state vector</font></div><br>void <big><b>DoAction</b></big>(<a href="type_GActionPath.html">GActionPath</a>* pPath, int nAction, double* pState)<br><div style="margin-left: 80px;"><font color=brown> Computes the change in state caused by the given action</font></div><br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">double <big><b>CritiqueAction</b></big>(<a href="type_GActionPath.html">GActionPath</a>* pPath, int nAction, double* pNewState)<br><div style="margin-left: 80px;"><font color=brown> Compute the error of the given action which results in the given state vector</font></div><br>int <big><b>GetActionCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of possible actions</font></div><br>double <big><b>GetBestError</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the error computed for the best path ever passed to the Critique method</font></div><br><a href="type_GActionPath.html">GActionPath</a>* <big><b>GetBestPath</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the best path that was yet passed to the Critique method</font></div><br><a href="type_GActionPath.html">GActionPath</a>* <big><b>GetPath</b></big>(int* n)<br>int <big><b>GetVectorSize</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the dimensionality of the state vector</font></div><br></div><br></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -