B followed by C, then X0 = ABC. Enumerate
Consider a memory system which only allows you to do sequential search. For example a read/write tape
drive. If you want to look for a file you have to search sequentially looking at the first file, then the second
file and so on until you find the file. A reasonable strategy would be place the most recently retrieved file
at the front (imagine that the tape system can magically do this). This way the files that are accessed more
often will be ”at the front” and require less searching time in the long run. Consider the case with only 3
files A, B, and C.
1. Let Xn denote the sequence of the memory system after the nth search. For example, if the files were
ordered A and then B followed by C, then X0 = ABC. Enumerate the state space.
2. If X0 = ABC, list all possible states of X1.
3. If pA, pB, and pC = 1 − pA − pB are the probabilities with which files A, B, and C are accessed,
respectively, determine the one-step state transition matrix.
4. If pA = 0.6, pB = 0.10, pC = 0.3, determine the steady state probability for the file order ABC.
5. In general show that the steady state probability of the state ABC is given by πABC =
pApB/(pB + pC)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps