... | ... | @@ -141,6 +141,7 @@ An `Agent` element has the following **child elements**: |
|
|
| `pos` | 1 | The agent's starting position. It has two floating-point attributes `x` and `y`. |
|
|
|
| `goal` | 0 or 1 | The agent's goal position. It has two floating-point attributes `x` and `y`. If not specified, the agent's goal will be made equal to its starting position, so the agent will remain stationary. |
|
|
|
| `Policy` | 1 | A reference to the agent's policy. It has only one attribute, `id`, a non-negative integer that should refer to one of the policies in the file's `Policies` block. |
|
|
|
| `color` | 0 or 1 | The agent's visualization color for the UMANS GUI. It has three mandatory attributes (`r`, `g`, and `b`), which should all be integers in the range [0-255]. If not specified, a default color will be used. |
|
|
|
|
|
|
**Warning:** If a mandatory element is missing, or if the specified policy does not exist, the agent will not be added to the simulation.
|
|
|
|
... | ... | |