RandomPermutation
This block generates a random permutation of its input.
Library
Misc
Description
When activated, this block generates a random permutation of its input on its output.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
seed | Seed (-1 for automatic) | Seed for the random generator (scalar). Seed must be an integer between 0 and 2^32-1. Negative value for seed means automatic selection. | Scalar | |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | input | 1 | |
Port 2 | explicit | output | 1 | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | Time Dependency = initially activated |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |