AI_BALANCER revised completely

-- Revised and Added documentation.
-- Added pictures to documentation.
-- Add/Exit clients is working. AI balances perfectly.
-- FSM bug fixed. SUBS should not execute OnAfter, OnEnter
This commit is contained in:
FlightControl
2017-01-08 21:07:25 +01:00
parent 1f90c0c766
commit 51780b1d9b
75 changed files with 60286 additions and 176 deletions

View File

@@ -464,12 +464,24 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
<td class="name" nowrap="nowrap"><a href="##(FSM).AddTransition">FSM:AddTransition(From, Event, To)</a></td>
<td class="summary">
<p>Add a new transition rule to the FSM.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).CallScheduler">FSM.CallScheduler</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).ClassName">FSM.ClassName</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).Events">FSM.Events</a></td>
<td class="summary">
</td>
</tr>
<tr>
@@ -536,18 +548,48 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
<td class="name" nowrap="nowrap"><a href="##(FSM).New">FSM:New(FsmT)</a></td>
<td class="summary">
<p>Creates a new FSM object.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).Scores">FSM.Scores</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).SetStartState">FSM:SetStartState(State)</a></td>
<td class="summary">
<p>Sets the start state of the FSM.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM)._EndStates">FSM._EndStates</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM)._Processes">FSM._Processes</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM)._Scores">FSM._Scores</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM)._StartState">FSM._StartState</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM)._Transitions">FSM._Transitions</a></td>
<td class="summary">
</td>
</tr>
<tr>
@@ -620,12 +662,30 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
<td class="name" nowrap="nowrap"><a href="##(FSM).current">FSM.current</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).endstates">FSM.endstates</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).is">FSM:is(state)</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).options">FSM.options</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(FSM).subs">FSM.subs</a></td>
<td class="summary">
</td>
</tr>
</table>
@@ -1101,6 +1161,20 @@ The To state.</p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).CallScheduler" >
<strong>FSM.CallScheduler</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -1115,6 +1189,20 @@ The To state.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).Events" >
<strong>FSM.Events</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -1315,6 +1403,20 @@ A string containing the start state.</p>
<p><em><a href="##(FSM)">#FSM</a>:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).Scores" >
<strong>FSM.Scores</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -1343,6 +1445,48 @@ A string defining the start state.</p>
<dt>
<em></em>
<a id="#(FSM)._EndStates" >
<strong>FSM._EndStates</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM)._Processes" >
<strong>FSM._Processes</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM)._Scores" >
<strong>FSM._Scores</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
<dt>
<em>#string</em>
<a id="#(FSM)._StartState" >
<strong>FSM._StartState</strong>
</a>
@@ -1351,6 +1495,20 @@ A string defining the start state.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM)._Transitions" >
<strong>FSM._Transitions</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -1622,7 +1780,6 @@ A string defining the start state.</p>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).current" >
<strong>FSM.current</strong>
</a>
@@ -1631,6 +1788,20 @@ A string defining the start state.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).endstates" >
<strong>FSM.endstates</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -1652,6 +1823,33 @@ A string defining the start state.</p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(FSM).options" >
<strong>FSM.options</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(FSM).subs" >
<strong>FSM.subs</strong>
</a>
</dt>
<dd>
</dd>
</dl>