{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

notes16b

# 75 how do we determine a good ordering approach 1 move

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the items in the list • Example: List of four students S1, S2, S3, S4 Probability of retrieval: S1 ß། 5% S2 ß། 15% S3 ß། 30% S4 ß། 50% Texp = 1* 5/100 + 2*15/100 + 3*30/100 + 4*50/100 = 3.25 Reverse the list à༎ Texp = 1* 50/100 + 2*30/100 + 3*15/100 + 4*5/100 = 1.75 How do we determine a good ordering Approach 1: (“move forward”) - Maintain a count with each item, initially 0 - Update count when item is retrieved July 2nd, 2013 - allow the retrieved item to ‘move forward’ if its count warrants pros: - data is in optimal order eventually à༎ takes time cons: - takes more memory to store count Example: Suppose incidents are as follows: S3, S2, S3, S4, S4, S4,...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern