Difference between revisions of "Hill-Climb Action"

From AgentCubes
Jump to navigation Jump to search
imported>Loon911
imported>Loon911
Line 4: Line 4:
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Definition:'''  
 
| align="left" valign="top" width="80" | '''Definition:'''  
| align="left" valign="top" width="100%" | The '''Set''' action: ''sets the value of a specified attribute or simulation property.''
+
| align="left" valign="top" width="100%" | The '''Hill-Climb''' action: ''gives the agent Artificial Intelligence.''
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Parameters:'''  
 
| align="left" valign="top" width="80" | '''Parameters:'''  

Revision as of 10:49, 17 June 2019

Hill-climb.PNG

Definition: The Hill-Climb action: gives the agent Artificial Intelligence.
Parameters:

AttributeName: name of the attribute to set

Option: You may choose Four Directions which will set the AI to look at the AttributeName of left right up down. Or you can set the option to look at the AttributeName from all 8 directions which includes all diagonal directions.

Example: AgentcubesOnline hill-climb example

This example shows how the action hill-climb makes the bug move to the target.