Assignment 2 Report
Assignment 2 Report
Jacob Hyatt
#
COSC, Brock University
1
[email protected]
V. EXPERIMENTAL SETUP
I. INTRODUCTION FOR BOTH CIPHERS PROVIDED IN THE ASSIGNMENT PDF, A CROSSOVER
This document describes correlations between RATE OF100% AND MUTATION RATE OF 0%, A CROSSOVER RATE OF
different parameters and how they affect the output 100% AND A MUTATION RATE OF 10%, A CROSSOVER RATE OF 90%
AND A MUTATION RATE OF 0%, A CROSSOVER RATE OF 90%, AND
of a Genetic algorithm that aims to find a cipher key
MUTATION RATE OF 10%, WERE ALL TESTED ALONG WITH A CUSTOM
in different lengths of ciphers and lengths of SET OF 50% CROSSOVER RATE AND A 5% MUTATION RATE.
chromosomes/keys.
VI. RESULTS
II. PROBLEM
The problem with this specific problem is that the
parameters and how they affect the final fitness is VII. DISCUSSIONS AND CONCLUSIONS
slightly random which means that finding the
FINDINGS OF THE FIRST CIPHER WHICH USED A KEY/CHROMOSOME
optimal parameters is difficult without testing SIZE OF 26 FOUND RESULTS OF:
multiple parameters with a variety of problems.
III. SOLUTIONS
With optimal solutions this can help find
parameters that are on average the optimal solution
which then can be carried to other related problems.
IV. BACKGROUND
Found that the fitness found a best of 0.2638 MINIMUM FITNESS OF CIPHER ONE WAS RECORDED AT 0.1648991
WHILE THE MINIMUM FITNESS OF CIPHER TWO WAS 0.3786434
FINDINGS OF THE SECOND CIPHER FOUND THAT THE FITNESS WAS
GREATER THAN THE FIRST CIPHER, WHICH IS EXPECTED SINCE THE MAXIMUM FINAL FITNESS
POPULATION REMAINED THE SAME WHILE THE SIZE OF THE
KEY/CIPHER INCREASED. MAX FITNESS OF CIPHER ONE WAS RECORDED AT 0.6944101 WHILE
THE MAX OF THE SECOND CIPHER WAS RECORDED AT 0.6978943
ANALYSIS
REFERENCES