picture deleted
added deep copy of genomes
Deep genome copy, Pictures added
gene initalizes vertecies to 0,0
genome constructor takes width,height arguments, sets global variables
fixed format, changed call to genome utilites to use genome's wdith and
height rather than img's
cross over and assertiontest
Hamming scorring added. Genome copy pointer error fixed. Assertion test
progress
Assertion Test tweeks
Assertion Test tweeks
crossover indexing fix
adding hamming distance and Hans' unit test. added breaks to the
crossover switch
crossOver index fix(real this time
)
Merge branch 'master' of https://github.com/hhweeks/TriangleGenome
TriangleGenomeGUI changing triangle image when imageWindow is tweaked
Merge branch 'master' of https://github.com/hhweeks/TriangleGenome.git
gene toString() added. CrossOver consitancy changes.
Update GenomeUtilities.java

Made changes to drawNTriangles method to fix a bug where a new Genome would consistently stay the same height and width of MonaLisa.png even if the target image had been changed to a larger or smaller image. Code has also been added to facilitate the hiding of a previous Genome in the GUI if a new Genome is smaller than the old one
Update TriangleGenomeGUI.java

-Added all the required elements to the GUI
-imageSelect is now dynamically populated from the images/ directory as opposed to being hardcoded
-fitness is now displayed on the GUI
-next and reset buttons now display a new Genome

BUGS
- when a new Genome is displayed, some buttons disappear, but reappear when the window is resized or you click where the button should be
- when a new target image is selected, ALL buttons disappear, but reappear when the window is resized or you click where the button should be
- fitness can only seem to be calculated for MonaLisa.png. A ArrayIndexOutOfBoundsException is thrown. I believe this could have something to do with only working with images with the same dimensions as MonaLisa.png, although I have not been able to test that theory out
Having troubles with github