Histogram_Distribution Object

2015-01-13

azim58 - Histogram_Distribution Object



o original raw list of numbers
o List of bins with their numbers
o List of bins with the number of elements in each bin
o total number of different bins with a different number of elements
o bin size
o create distribution(bin size, list of numbers for distribution)
- set the bin size
- create all of the bins (a bunch of ArrayLists in Java)
- go through all of the numbers and assign each one to the
appropriate bin
- determine the number of bins with different numbers of
elements and return this distribution



Code for Histogram_Distribution Object