Modifiers | Name | Description |
---|---|---|
protected static long |
serialVersionUID |
This value is used to automatically generate agent identifiers. |
Fields inherited from class | Fields |
---|---|
class AbstractTurtle |
hiddenQ |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
downhill(String patchVariable) Moves the turtle to the lowest value of a patch variable of eight neighboring patches. |
|
void |
downhill4(String patchVariable) Moves the turtle to the lowest value of a patch variable of four neighboring patches. |
|
String |
toString() This method provides a human-readable name for the agent. |
|
void |
uphill(String patchVariable) Moves the turtle to the highest valued patch of patchVariable in the eight neighboring patches plus the current patch. |
|
void |
uphill4(String patchVariable) Moves the turtle to the highest valued patch of patchVariable in the four neighboring patches plus the current patch. |
This value is used to automatically generate agent identifiers.
Moves the turtle to the lowest value of a patch variable of eight neighboring patches.
patchVariable
- a stringMoves the turtle to the lowest value of a patch variable of four neighboring patches.
patchVariable
- a stringThis method provides a human-readable name for the agent.
Moves the turtle to the highest valued patch of patchVariable in the eight neighboring patches plus the current patch.
patchVariable
- a stringMoves the turtle to the highest valued patch of patchVariable in the four neighboring patches plus the current patch.
patchVariable
- a string