Basic Data Structures — III. Records

Microcomputer ◽  
1977 ◽  
pp. 408-425
Author(s):  
Kenneth L. Bowles
Keyword(s):  
Author(s):  
Federico D’Ambrosio ◽  
Hans L. Bodlaender ◽  
Gerard T. Barkema

AbstractIn this paper, we consider several efficient data structures for the problem of sampling from a dynamically changing discrete probability distribution, where some prior information is known on the distribution of the rates, in particular the maximum and minimum rate, and where the number of possible outcomes N is large. We consider three basic data structures, the Acceptance–Rejection method, the Complete Binary Tree and the Alias method. These can be used as building blocks in a multi-level data structure, where at each of the levels, one of the basic data structures can be used, with the top level selecting a group of events, and the bottom level selecting an element from a group. Depending on assumptions on the distribution of the rates of outcomes, different combinations of the basic structures can be used. We prove that for particular data structures the expected time of sampling and update is constant when the rate distribution follows certain conditions. We show that for any distribution, combining a tree structure with the Acceptance–Rejection method, we have an expected time of sampling and update of $$O\left( \log \log {r_{max}}/{r_{min}}\right) $$ O log log r max / r min is possible, where $$r_{max}$$ r max is the maximum rate and $$r_{min}$$ r min the minimum rate. We also discuss an implementation of a Two Levels Acceptance–Rejection data structure, that allows expected constant time for sampling, and amortized constant time for updates, assuming that $$r_{max}$$ r max and $$r_{min}$$ r min are known and the number of events is sufficiently large. We also present an experimental verification, highlighting the limits given by the constraints of a real-life setting.


Microcomputer ◽  
1977 ◽  
pp. 408-425
Author(s):  
Kenneth L. Bowles
Keyword(s):  

1984 ◽  
pp. 241-252
Author(s):  
Kenneth L. Bowles ◽  
Stephen D. Franklin ◽  
Dennis J. Volper
Keyword(s):  

1984 ◽  
pp. 204-221
Author(s):  
Kenneth L. Bowles ◽  
Stephen D. Franklin ◽  
Dennis J. Volper
Keyword(s):  

2022 ◽  
Vol 22 (1) ◽  
pp. 1-34
Author(s):  
Kevin C. Webb ◽  
Daniel Zingaro ◽  
Soohyun Nam Liao ◽  
Cynthia Taylor ◽  
Cynthia Lee ◽  
...  

A Concept Inventory (CI) is an assessment to measure student conceptual understanding of a particular topic. This article presents the results of a CI for basic data structures (BDSI) that has been previously shown to have strong evidence for validity. The goal of this work is to help researchers or instructors who administer the BDSI in their own courses to better understand their results. In support of this goal, we discuss our findings for each question of the CI using data gathered from 1,963 students across seven institutions.


Microcomputer ◽  
1977 ◽  
pp. 379-407
Author(s):  
Kenneth L. Bowles
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document