Math SymbolsMath symbols The formalized behavior references a variety of input and output symbols, which can stand for variables or functions of the agent's software. Constants are constant decimal values. | Name | Type | Measure | Description / Parameters | | random | decimal | | A random number between 0 and 1 | | | | | sgn | decimal | -1/1 | the sign of a number | | | | Parameter | Type | Measure | Range | Description | | sgn.value | decimal | | decimal | The value for that the sign shall be calculated |
| | abs | decimal | | the absolute value of a number | | | | Parameter | Type | Measure | Range | Description | | abs.value | decimal | | decimal | The value for that the absolute value shall be calculated |
| | min | decimal | mm | Calculates the minimum of two values | | | | Parameter | Type | Measure | Range | Description | | min.value0 | decimal | mm | .. | one value | | min.value1 | decimal | mm | .. | other value |
| | max | decimal | mm | Calculates the max of two values | | | | Parameter | Type | Measure | Range | Description | | max.value0 | decimal | mm | .. | one value | | max.value1 | decimal | mm | .. | other value |
| | sin | decimal | | the sin function | | | | Parameter | Type | Measure | Range | Description | | sin.angle | decimal | deg | -180..180 | angle |
| | cos | decimal | | the cos function | | | | Parameter | Type | Measure | Range | Description | | cos.angle | decimal | deg | -180..180 | alpha |
| | normalize | decimal | deg | Normalized angle | | | | Parameter | Type | Measure | Range | Description | | normalize.angle | decimal | deg | | Angle to be normalized |
| | clip | decimal | | Clip a value into a range | | | | Parameter | Type | Measure | Range | Description | | clip.value | decimal | | | Value to be clipped | | clip.min | decimal | | | Minimum | | clip.max | decimal | | | Maximum |
| | vector.abs | decimal | | Euklidean norm of a vector | | | | Parameter | Type | Measure | Range | Description | | vector.abs.x | decimal | | | | | vector.abs.y | decimal | | | |
|
|