Iteration Progress Report -- December 12
Austin Rachlin
Pd. 1 Latimer
December 12
PLAN
-
Goal for this iteration
- My major goal is to complete as much of the GA as possible.
-
Expected outcomes for this iteration
- To complete as many of the above tasks as possible.
DESIGN
-
Design for this iteration
- To complete the Genetic Algorithm and have everything run smoothly and as I want it to.
-
"High-level" pseudo-code
- Necessary components:
//Global Variables needed
//Matrix of all rules
//Reassign values after roulette wheel
//Matrix of rules selected by roulette wheel
//Evaluate the quality of each rule (already done in CA)
//Evaluate the total quality
//Re-evaluate qualities as a proportion of total
//Roulette Wheel
//Use the evaluated quality to assign portions of the wheel
//Random number generator
//Store chosen rules in matrix
//Breeding
//Crossover
//One-Point
//Two-Point
//Random at each spot
//Mutation
//Elitism
CODE
-
Coding for this iteration
-
import java.util.Random;
/**
* @author arachlin
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
//Global Variables needed
//Matrix of all rules
//Reassign values after roulette wheel
//Matrix of rules selected by roulette wheel
public class GA
{
public static void main(rule Rule)
{
}
//Evaluate the quality of each rule (already done in CA)
//Evaluate the total quality
//Re-evaluate qualities as a proportion of total
public static void EvalArray()
{
}
//Roulette Wheel
//Use the evaluated quality to assign portions of the wheel
//Random number generator
//Store chosen rules in matrix
public static void Roulette()
{
}
//Breeding
public static void Breeding()
{
}
//Crossover
//One-Point
public static void One_Point_Crossover()
{
}
//Two-Point
public static void Two_Point_Crossover()
{
}
//Random at each spot
public static void One_to_one()
{
}
//Mutation
public static void Mutation()
{
}
//Elitism
public static void Elitism()
{
}
}
-
Testing for success
- Success can be tested by whether it runs as expected.
-
Coding standards
TESTING
-
Success checks
- GA completion
- Working program code
- Daily and weekly logs completed
- Iteration progress reports completion
- Streamlined and thorough website