Percolation/Mean run density: Difference between revisions
m
Altered a variable identifier.
(New post.) |
m (Altered a variable identifier.) |
||
Line 779:
int length = aLength;
while ( length-- > 0 ) {
int nextBit = (
if ( previousBit < nextBit ) {
count += 1.0;
Line 789:
}
private static ThreadLocalRandom
private static final int RANDOM_MAXIMUM = Integer.MAX_VALUE - 1;
|