Uses of Class
io.github.skenvy.Collatz.HailstoneSequence
-
-
Uses of Collatz.HailstoneSequence in io.github.skenvy
Methods in io.github.skenvy that return Collatz.HailstoneSequence Modifier and Type Method Description static Collatz.HailstoneSequence
Collatz. hailstoneSequence(BigInteger initialValue, int maxTotalStoppingTime)
Returns a list of successive values obtained by iterating the Collatz function, until either 1 is reached, or the total amount of iterations exceeds maxTotalStoppingTime.static Collatz.HailstoneSequence
Collatz. hailstoneSequence(BigInteger initialValue, BigInteger p, BigInteger a, BigInteger b, int maxTotalStoppingTime, boolean totalStoppingTime)
Returns a list of successive values obtained by iterating a Collatz-esque function, until either 1 is reached, or the total amount of iterations exceeds maxTotalStoppingTime, unless totalStoppingTime is False, which will terminate the hailstone at the "stopping time" value, i.e.
-