CS2420 Work / Homework

Homework 11

04/10/2014 00:15
Today I began this assignment, and I am writing premortem for this point.Last assignment didn't go well and this is basically a 3d version of it. But luckily I learned a few things I want to write down. One, is that I should implement a Bi Tree immediately, and modify it instead of what I did last...

Homework 10

04/08/2014 15:30
Homework 9 implemented a KD Tree to make a boid simulator - simulating birds flocking. The birds flock so that they don't crowd each other, they steer torwards a common point of heading, and they steer torwards an average center. I made mine so that all these factors are weighted into the angle of...

Homework 8

03/23/2014 17:10
AVL TreeMy AVL Tree is very similar to the Binary search tree. The key difference of course is that it self balances upon insertion on new elements by rotating each side of itself to be biased torwards that side (as a preparation for the next roation, and only if it isn't already), and then doing a...

Homework 7

03/08/2014 10:49
Binary Search TreeSo a Binary Search Tree was this week's assignment. It is a data structure that stretches from a primary node called the root. Every node will have a comparable value, and so the tree is a way of helping to store data in a sorted order, and also to find the data quickly. It does...

Homework 5 Sorting

02/15/2014 11:47
This is a graph showing the running times of various sorting algorithms at 10, 100, and 1000 integer elements each. At 10000 elements, most everything has stack overflow from insufficient memory storage because of the recursive algorithms. Those that did complete took hundreds of seconds. In short,...

Homework 4 Sudoku

02/08/2014 11:47
 Homework 4 reads sudoku puzzles, solves them, and displays of course. As I say in my comments... * author Ryan M Phillips * Feb 8 2014 * CS2420-EAE * * Class defines a Sudoku puzzle * It will read a sudoku puzzle file, the name of which is a parameter * It holds the puzzle solution with...

Homework 3 Part 2

02/01/2014 03:47

Homework 3

02/01/2014 03:41
So Homework 3 is what is called Seam Carving It uses getRGB to judge pixel values and find seams that cumulatively have the lowest values. It then removes those seams in order to resize the image. This is used both for vertical and horizontal seams, and uses Dynamic Programming algorithms to solve...

Homework 1

01/20/2014 18:21
 I have spent all weekend trying to figure out what the problem to this assignment is, I've emailed the teacher and not really gotten anywhere. I keep getting null pointer exception. Cannot figure out why. I have a main class that seems to run all the functions without any problem. I will have...

Homework 0

01/10/2014 14:18
   Differences between Java and Actionscript import java files instead of flash files java needs to import colors, and other things when declaring a variable in the constructor, it doesn't need ': TYPE', instead, the type is before the variable name parameter fields in java don't define...