Difference between revisions of "Move-Random Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
m
imported>Corrina
Line 1: Line 1:
[[image:Move random action.png|200px]]
+
[[Image:Move random action.png|200px|Move random action.png]]  
  
[[image:Move random expand.png|200px]]
+
[[Image:Move random expand.png|200px|Move random expand.png]]  
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
{| cellpadding="10" cellspacing="0" border="0" width="100%"
<tr>
+
|-
<td align="left" valign="top" width="80"><b>Definition:</b></td>
+
| align="left" valign="top" width="80" | '''Definition:'''
<td align="left" valign="top" width="100%">The <strong>Move-Random</strong> When all conditions are satisfied, this action moves an agent randomly any number of cells away from the original location as specified by a number or formula in the Formula parameter.</td>
+
| align="left" valign="top" width="100%" | '''Move-Random '''Action: ''When conditions are satisfied, this action moves an agent randomly any number of cells away from the original location as specified by a number or formula in the Formula parameter.''
</tr>
+
|-
<tr>
+
| align="left" valign="top" width="80" | '''Parameters:'''
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
+
| align="left" valign="top" width="100%" | [[VAT Formula parameter|formula]]
<td align="left" valign="top" width="100%">[[Formula parameter|formula]]</td>
+
|-
</tr>
+
| align="left" valign="top" width="80" | '''Additional Parameters:'''
<tr>
+
| align="left" valign="top" width="100%" | [[Animation parameter|animation]], [[Animation time parameter|time]]: the move random action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls. If checked, the ''Stay on Same Layer'' check box constraints the random movement in the current layer; otherwise, the random movement can take move the agent in any layer. If checked, the ''Only on empty cells'' check box only moves the agent on empty spots in the world, not piling it on any other agents in the target location.
<td align="left" valign="top" width="80"><b>Additional Parameters:</b></td>
+
|-
<td align="left" valign="top" width="100%">[[Animation parameter|animation]], [[Animation time parameter|time]]: the move random action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls. If checked, the ''Stay on Same Layer'' check box constraints the random movement in the current layer; otherwise, the random movement can take move the agent in any layer. If checked, the ''Only on empty cells'' check box only moves the agent on empty spots in the world, not piling it on any other agents in the target location.</td>
+
| align="left" valign="top" width="80" | '''Example:'''
</tr>
+
| align="left" valign="top" width="100%" | ???WHICH EXAMPLE??? [[Image:Move random action example.png|500px]]
<tr>
+
|}
<td align="left" valign="top" width="80"><b>Example:</b></td>
 
<td align="left" valign="top" width="100%">???WHICH EXAMPLE???
 
[[Image:Move random action example.png|500px]]</td>
 
</tr>
 
 
 
</table>
 
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 18:44, 20 April 2012

Move random action.png

Move random expand.png

Definition: Move-Random Action: When conditions are satisfied, this action moves an agent randomly any number of cells away from the original location as specified by a number or formula in the Formula parameter.
Parameters: formula
Additional Parameters: animation, time: the move random action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls. If checked, the Stay on Same Layer check box constraints the random movement in the current layer; otherwise, the random movement can take move the agent in any layer. If checked, the Only on empty cells check box only moves the agent on empty spots in the world, not piling it on any other agents in the target location.
Example: ???WHICH EXAMPLE??? 500px