Icon

8. Recursive Loop

There has been no title set for this workflow's metadata.

Recursive Loop

This loop implements the same task as the workflow named "Counting Loop 1".
However, in Counting Loop 1 we were adding the iteration number to the x value, because that loop has no memory of previous iterations.
The recursive loop actually can pass the current results to the next iteration through the second input port of the Recursive Lopp End node.
Because of its memory, in this loop we can use x = x+1 and at each step the x value will be incremented of 1.
Results however is the same as in Counting Loop 1, as you can see from the Scatter Plot View.

Annotations and comments
  • Workflow: Recursive Loop This loop implements the same task as the workflow named Counting Loop 1. However, in Counting Loop 1 we were adding the iteration number to the x value, because that loop has no memory of previous iterations. The recursive loop can actually pass the current results to the next iteration through the second input port of the Recursive Loop End node. Because of its memory, in this loop we can use x = x+1 and at each step the x value will be incremented of 1. The result, however, is the same as in Counting Loop 1, as you can see from the Scatter Plot View.
  • color by cluster
  • 3 cluster 2 coordinates
  • pass back x and y
  • original data plot
  • x-shifted data plot

Nodes

Extensions

Links