1. As it stands, GA runs under command-line Unix/Linux. Use the javax.swing package to build a GUI that allows a user to set the parameters, run the program, and examine the results. 2. Transform the...


1. As it stands, GA runs under command-line Unix/Linux. Use the javax.swing package to build a GUI that allows a user to set the parameters, run the program, and examine the results.


2. Transform the java application code into a java applet. This applet should allow a web-based user to choose the GA to run (either WordGuess or TSP), the pairing algorithm to run (Top-Down or Tournament), and to change the design parameters


3. WordGuess does not make use of the full generality provided by object-oriented programming techniques. A more general design would not represent genes as characters. One possibility is to provide several representational classes, all inheriting from a modified GA and all being super classes of specific genetic algorithm solutions. Thus we might have CHAR_GA inheriting from GA and WordGuess inheriting from CHARGA. Another possibility is to define chromosomes as collections of genes that are represented by variables of class Object. Using these, or other, approaches, modify GA so that it is more general.






Dec 02, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here