Post Reply 
Ehrenfest's urn
12-30-2021, 10:30 PM
Post: #5
RE: Ehrenfest's urn
Thanks for the interesting post, this problem is new to me.

Section 2.1 of this article suggests an alternate representation of the urns that may lead to a simpler program. Instead of two lists, one initially empty, one has a single list of (initially) all zeros. At each iteration, the state of a randomly selected element is flipped using NOT. The number of balls in urn "A" is the number of zeros in the list; the number of balls in urn "B" is similarly the number of ones.

My PPL is a bit rusty but it should be fairly simple.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ehrenfest's urn - zahi48g - 12-29-2021, 10:16 PM
RE: Ehrenfest's urn - toml_12953 - 12-29-2021, 11:11 PM
RE: Ehrenfest's urn - zahi48g - 12-29-2021, 11:53 PM
RE: Ehrenfest's urn - Didier Lachieze - 12-30-2021, 05:28 AM
RE: Ehrenfest's urn - John Keith - 12-30-2021 10:30 PM
RE: Ehrenfest's urn - zahi48g - 01-03-2022, 11:10 PM
RE: Ehrenfest's urn - toml_12953 - 01-04-2022, 02:09 AM



User(s) browsing this thread: 1 Guest(s)