http://www.perlmonks.org?node_id=996748


in reply to Re^3: Running a simulation - expected outcome
in thread Running a simulation - expected outcome

Yes, the specs say either of 1 way (up 1 to 6, right 1 to 6, down 1 to 6 or left 1 to 6, where a number is randomly chosen from 1 to 6 for each step).

Replies are listed 'Best First'.
Re^5: Running a simulation - expected outcome
by BrowserUk (Patriarch) on Oct 01, 2012 at 21:28 UTC

    My misreading or overthinking.

    But I think that my main point still applies: because the originator was following a path, his choices at each step are far restricted compared to your pick a random start point each time.

    On average, random walks tend to cover far less than the full field of play, which if the infected squares are randomly distributed means the odds of infection are lessened.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

    network sites: