I'm trying to implement the following pseudocode:
But I fail to understand what the line
state_val |= (c(s) == True) << i++
does. To give some context, this pseudocode is found in this paper from MIT, and c(s)
is an operation that returns True
or False
based on s
.