What Mathematical Concepts Underlie Randomized Algorithm Problems?

  • Thread starter Thread starter Fellowroot
  • Start date Start date
  • Tags Tags
    Algorithms
Fellowroot
Messages
92
Reaction score
0
I find this problem pretty interesting and I'd like to know more about it and what topic of math it comes from.

Amy and Chris stand opposite from each other at a table. Amy has a bag filled with certain shapes and these shapes are squares, circles and triangles. On the table there are 5 separate containers which at max can only hold a single shaped object. At the start of this process all containers are empty. Amy then randomly selects objects from her bag and then places them into the containers. The entire process is measured with steps where each step represents an object being placed into a container. Chirs likes collecting triangles and when a triangle appears in a container he immediately grabs it and removes it. What is the probability that Chirs will no longer be able to collect any more triangles after X amount of steps have passed?

I asked my professor about this and he said that it was a randomized algorithm problem. Could anyone possibly tell me more about this problem and how to go about solving it?

Thanks.
 
Last edited:
Physics news on Phys.org
This sounds to me like a stochastic process called a Markov chain. A Markov chain has a fixed state transition matrix whose elements are the probabilities of transitioning from anyone state to another. The question is when the game you describe will end with non-triangles in all 5 containers. The states are the shapes in the containers. The transition matrix elements are the probabilities that, starting in one state, the next draw by Amy will put a certain shape into a certain container and transition to another state. The transition matrix can be analysed to determine the probabilities of terminating in a state with all containers containing a non-triangle.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Back
Top