Skip to content

DShard

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any None
Output ➡️ The resulting output of the shard None
Name No The name of the shard to transform into. `` String
Parameters No The parameters to pass to the new shard. [] [Any]

This shard is a dynamic shard that will transform into the shard specified in the Name parameter at runtime. This shard can be used in conjunction with Mutate and Evolve to create complex genetic algorithm implementations.

Details

Each element of the sequence of values provided in the Parameters parameter will be passed to the corresponding parameter of the final shard that DShard transforms into. The first element in the sequence will be passed to the parameter with index 0, the second will be passed to the parameter with index 1, and so on.