nextState

fun nextState(): Int

Randomly generates the next state from the current state. Same as using value, value(), or sample()