{"title":"遗传算法(GA)方法及其内部工作","authors":"","doi":"10.4018/978-1-7998-4105-0.ch005","DOIUrl":null,"url":null,"abstract":"Many practitioners are shy with implementing GAs. Due to this, a lot of researchers avoid using GAs as problem-solving techniques. It is desirable that an implementer of GA must be familiar in working with high-level computer languages. Implementation of GA involves complex coding and intricate computations which are of a repetitive nature. GAs if not implemented with caution will result in vague or bad solutions. This chapter overcomes the obstacles by implementing and defining various data structures required for implementing a simple GA. They will write various functions of GA code in C ++ programming language. In this chapter, initial string population generation, selection, crossover, and mutation operator used to optimize a simple function (one variable function) coded as unsigned binary integer is implemented using C ++ programming language. Mapping of fitness issue is also discussed in application of GAs.","PeriodicalId":101845,"journal":{"name":"Advances in Computational Intelligence and Robotics","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Genetic Algorithm (GA) Methodology and Its Internal Working\",\"authors\":\"\",\"doi\":\"10.4018/978-1-7998-4105-0.ch005\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Many practitioners are shy with implementing GAs. Due to this, a lot of researchers avoid using GAs as problem-solving techniques. It is desirable that an implementer of GA must be familiar in working with high-level computer languages. Implementation of GA involves complex coding and intricate computations which are of a repetitive nature. GAs if not implemented with caution will result in vague or bad solutions. This chapter overcomes the obstacles by implementing and defining various data structures required for implementing a simple GA. They will write various functions of GA code in C ++ programming language. In this chapter, initial string population generation, selection, crossover, and mutation operator used to optimize a simple function (one variable function) coded as unsigned binary integer is implemented using C ++ programming language. Mapping of fitness issue is also discussed in application of GAs.\",\"PeriodicalId\":101845,\"journal\":{\"name\":\"Advances in Computational Intelligence and Robotics\",\"volume\":\"10 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1900-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Advances in Computational Intelligence and Robotics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4018/978-1-7998-4105-0.ch005\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in Computational Intelligence and Robotics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/978-1-7998-4105-0.ch005","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Genetic Algorithm (GA) Methodology and Its Internal Working
Many practitioners are shy with implementing GAs. Due to this, a lot of researchers avoid using GAs as problem-solving techniques. It is desirable that an implementer of GA must be familiar in working with high-level computer languages. Implementation of GA involves complex coding and intricate computations which are of a repetitive nature. GAs if not implemented with caution will result in vague or bad solutions. This chapter overcomes the obstacles by implementing and defining various data structures required for implementing a simple GA. They will write various functions of GA code in C ++ programming language. In this chapter, initial string population generation, selection, crossover, and mutation operator used to optimize a simple function (one variable function) coded as unsigned binary integer is implemented using C ++ programming language. Mapping of fitness issue is also discussed in application of GAs.