Docsity

chapter 8 de matériaux, Schemes and Mind Maps of Materials science

Partial preview of the text

Download chapter 8 de matériaux and more Schemes and Mind Maps Materials science in PDF only on Docsity!

Chapter 8 Genetic Algorithm Implementation Using Matlab 8.1 Introduction MATLAB (Matrix Laboratory), a product of Mathworks, is a scientific software package designed to provide integrated numeric computation and graphics visu- alization in high-level programming language. Dr Cleve Moler, Chief scientist at MathWorks, Inc., originally wrote MATLAB, to provide easy access to matrix soft- ware developed in the LINPACK and EISPACK projects. The very first version was written in the late 1970s for use in courses in matrix theory, linear algebra, and numerical analysis. MATLAB is therefore built upon a foundation of sophisticated matrix software, in which the basic data element is a matrix that does not require predimensioning. MATLAB has a wide variety of functions useful to the genetic algorithm practi- tioner and those wishing to experiment with the genetic algorithm for the first time. Given the versatility of MATLAB’s high-level language, problems can be coded in m-files in a fraction of the time that it would take to create C or Fortran pro- grams for the same purpose. Couple this with MATLAB’s advanced data analysis, visualisation tools and special purpose application domain toolboxes and the user is presented with a uniform environment with which to explore the potential of genetic algorithms. The Genctic Algorithm Toolbox uses MATLAB matwix functions to build a set of versatile tools for implementing a wide range of genetic algorithm methods. The Genetic Algorithm Toolbox is a collection of routines, written mostly in m-files, which implement the most important functions in genetic algorithms. 8.2 Data Structures MATLAB essentially supports only one data type, a rectangular matrix of real or complex numeric elements. The main data structures in the Genetic Algorithm toolbox are: ® chromosomes © objective function values e fitness values