Indexed ArrayList: 00:00:13.129 Indexed LinkedList: 00:09:51.512 Iterated ArrayList: 00:00:13.054 Iterated LinkedList: 00:00:17.147## Results and Discussion Your submission must include: * Benchmarking results for: * [balloon.dot](balloon.dot) with $100$ desired dots * [balloon.dot](balloon.dot) with $1000$ desired dots * [skull.dot](skull.dot) with $9000$ desired dots * Asymptotic time analysis for four of the following eight situations (do the first four if your last name begins with a letter in the first half of the alphabet, otherwise do the last four), assuming $n$ is the number of points in the original list. Your justification can be written sentences explaining the basis for your answer and/or equations expressing $T(n)$ * If your last name begins with a letter in the first half of the alphabet do these: * `removeDots()` when using an `ArrayList` with $n - 1$ desired dots. * `removeDots()` when using an `ArrayList` with $3$ desired dots. * `removeDots()` when using a `LinkedList` with $n - 1$ desired dots. * `removeDots()` when using a `LinkedList` with $3$ desired dots. * If your last name begins with a letter in the last half of the alphabet do these: * `removeDots2()` when using an `ArrayList` with $n - 1$ desired dots. * `removeDots2()` when using an `ArrayList` with $3$ desired dots. * `removeDots2()` when using a `LinkedList` with $n - 1$ desired dots. * `removeDots2()` when using a `LinkedList` with $3$ desired dots. * Your analysis must include a discussion justifying the $O( ? )$ answer for each scenerio. ## Just For Fun Ambitious students may wish to: * Try replacing `lineTo()` with `quadraticCurveTo()` or `bezierCurveTo()`. * Add number annotations next to each dot. * Create a print to PDF option. * Overlay the reduced-dot picture on top of the picture with all the dots in the file. You may wish to display the original picture in a lighter color. * Create an interactive game where the user can draw lines between the dots, but only if they select the dots in the right order. * Create a custom binary file format to store pictures. ## Lab Deliverables > See your professor's instructions for details on submission guidelines and due dates. > * Dr. Taylor's students: See below > * All other students should refer to Blackboard > > If you have any questions, consult your instructor. ## Acknowledgment This laboratory assignment was developed by [Dr. Chris Taylor](/taylor/).
Lab
3
Get started now
Tuesday, 20-Mar-2018 15:16:57 EDT