I searched extensively and cant figure out what the infinity sign is meant in this pseudocode.
closed as off-topic by Becuzz, Robert Harvey, Greg Burghardt, gnat, Jörg W Mittag Apr 28 '18 at 16:31
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking for assistance in explaining, writing or debugging code are off-topic here. These can be asked on Stack Overflow if they include the desired behavior, a specific problem or error, and the shortest code necessary to reproduce it in the question (see Minimal, Complete, and Verifiable Example)." – Becuzz, Robert Harvey, Greg Burghardt, gnat, Jörg W Mittag
That line (3) is simply saying initialize the Minimum value to the highest feasible value. In pseudocode that is infinity. If min was UInt32 in real code, then min would be UInt32.Max.
In other words, start off min at a really high value, so when searching iteratively for progressively lower values (by comparing to the previous value), then the first value is something so high that the next value will always become the next min.