Chris Bartlett CSC416 Genetic Algorithm

Outline

Through reproduction, organisms are able to pass on their unique traits to their children. Due to this, when an organism develops a mutation that increases its rate of survival, that mutation may be passed on, thereby increasing the population’s rate of survival. An example of this is when insects having a natural immunity to a pesticide pass on that trait. Through selection, the population gradually develops an immunity to the pesticide. This genetic algorithm displays how that immunity can develop and spread to future generations over time.

Individuals

The individuals in this program are insects (as pesticides and immunity to a pesticide occurs across species, a specific insect type is not given).

● ● ●

Living insects are represented by the symbol: O Immune insects are represented by the symbol: @ Deceased insects are represented by the symbol: X (X O O O O O O O O O O O O X O @ @ O X O O O O O @)

Each row is thought of as being an area. During a sweep with pesticide, it’s possible that some areas will not be sprayed. It’s also possible that some areas may be sprayed multiple times. This is randomized to represent an area’s proactiveness in controlling the insect population.

Default: 25

Mutation

In real-world terms, this is when an insect acquires an immunity to the pesticide. When the initial population is created, some insects will have already had this trait developed. Through later generations, this trait is passed on. In terms of the program, a list is created with the positions of O’s in each area, and each O has a random chance of turning into an @.

(O O O O O O O O @ O O O O O O O O O O O O @ O O O) (O O O O O O O O @ O O O @ O O O O O O O O @ O O O)

Default: 5%

Pesticide

In real-world terms, this is when an area is sprayed with pesticide potentially killing off insects that are not immune. In terms of the program, a list of the positions where there’s a living insect (O’s) is created. For each living insect that’s not immune, there’s a chance that it’ll be killed off by the pesticide (changed to an X).

(O O O O O O O O @ O O O O O O O O O O O O O @ O O) (X O X X X O O O @ O O X O X O O O X O O O X @ O O)

Default: 75

Crossover

In real-world terms, this is when insects mate and create children. Not all insects will mate, nor will all matings create children. In terms of the program, only recovery from the pesticide is considered. As such, a list is created with the positions of deceased insects (X’s), and for each set of potential parents (for every 2 living insects), there is a chance that they’ll mate and produce one child.

(X X X O X X X X X X O O X X X O X X X X @ X X O X) 3 sets of parents (X X X O O X X X X X O O X X X O X X O X @ X X O X) Produced 2 children

Default: 60

Fitness

In real-world terms, fitness is considered to be a metric for how successful an organism is at reproducing. When a pesticide is introduced to an insect’s environment, large numbers of them may be wiped out. Therefore, possessing an immunity to the pesticide enables the continued survival of the species. Due to this, the fitness of the population is determined by the average of how many immune insects live within each area. In terms of the program, the total number of immune insects per area is calculated and then averaged. Additionally, the percentage of living members in the entire population is calculated.

Demo

Genetic Algorithm.pdf

Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Genetic Algorithm.pdf. Genetic Algorithm.pdf. Open. Extract.

153KB Sizes 0 Downloads 185 Views

Recommend Documents

Genetic Counselors' Religiosity & Spirituality: Are Genetic ...
Abstract Although there is evidence that the religious. beliefs of genetic counselors (GCs) can induce internal .... perform the regressions, we used a dummy code for. whether or not an individual is a genetic counselor. In ... Arkansas, Oklahoma, Lo

Abstract Contents Genetic Programming - Cartesian Genetic ...
Jul 7, 2010 - Dept of Computer Science. Memorial ... ❖The automatic evolution of computer programs .... P ro ba bilit y o f S uc c e s s f o r 10 0 R uns. 0.2. 0.4.

Abstract Contents Genetic Programming - Cartesian Genetic ...
Jul 7, 2010 - Abstract. Cartesian Genetic Programming is a form of genetic ... 3. / Divide data presented to inputs (protected) ..... The To Do list isn't too big.

The Genetic Algorithm as a Discovery Engine - Cartesian Genetic ...
parts we discover an amazing number of new possibili- ties. This leads us to the .... of the important themes which has arisen in the nascent field of Evolvable ...

Research Note Genetic variability, heritability and genetic advance for ...
Genetic variability, heritability and genetic advance for yield and yield components ... moderate genetic advance. Keywords: .... and Rural America. Anonymous ...

beyond - Genetic Literacy Project
process for GM technology is almost two-years longer than it was prior to 2002. • Discovery, development and authorization of a new biotech derived crop trait is ...

Genetic Drift - GitHub
Report for class data. 1 ... Once we have class data, we can see if our simulations match our expectations! 2.1 Data p. N stable fixed ... What is the best estimate?

beyond - Genetic Literacy Project
process for GM technology is almost two-years longer than it was prior to 2002. • Discovery, development and authorization of a new biotech derived crop trait is ...

Genetic Testing
Feb 29, 2008 - and carriers of recessive genes” (Table 1). ... a genetic test performed on you subjects you “to losing health care coverage, ... inevitably “we all will, with certainty, grow old and die,” and even with the best possible genet

Genetic Testing Note.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Genetic Testing Note.pdf. Genetic Testing Note.pdf. Open. Extract.Missing:

Genetic Terrain Programming
both aesthetic and real terrains (without requiring a database of real terrain data). Additionally ... visualisation of weather and other environmental attributes;.

Cartesian Genetic Programming1
1 School of Computer Science, University of Birmingham, Birmingham, England, B15. 2TT .... addressed in a Cartesian coordinate system. CGP has a some of ...

Genetic Algorithms and Artificial Life
In the 1950s and 1960s several computer scientists independently studied .... logical arms races, host-parasite co-evolution, symbiosis, and resource ow in ...

Genetic Development Supplement.pdf
BWCC MS ELEGIDO 192Z30. MC ELEGIDO 924W6. CCC MS NEWSMAKER 192J12. MC JETHRO 00S3. MISS NMSU 924. NEWS MAKER OF BRINKS 71Z4.

Genetic Terrain Programming
regular structure, good for optimisation (rendering, collision ... optimisation approach, uses a database of pre-selected height map ... GenTP Tool. Results ...

12a. Genetic Engineering.pdf
A way of altering genes without using a viral vector. This is done through the use of cutting tools like restriction. enzymes. o It involves cutting out part of the ...