Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms AI-NN-PR
Title: include Download
 Description: Using genetic algorithm for solving square root of 2, Roots, No. 2, that is, of equation f (x) = x* x-2 = 0 the positive integer solution, x = 1 Shi f (1) < 0, x = 2 Shi f (2) " 0, by the intermediate value theorem, then there is a 1-2 middle of the root, according to the fundamental theorem of algebra and the symmetry of the root to know that is what we are looking for the root (nonsense, junior high school students all know that 1.414 or so), from the target function to fitness function, we have chosen to individuals are in [1,2] between the fitness function that I can take j (x) = 40/(2+ | x* x-2 |)-10, from the x' s j known range of the range is (0,10) x and y cross on the use of taking the average (x+ y)/2, taking 0.9 crossover probability, mutation probability of 0,
 Downloaders recently: [More information of uploader 875814305]
 To Search:
  • [GA] - The basic realization of genetic algorit
  • [GA] - c++ to achieve a good basic genetic algo
File list (Check if you may need any files):
include.doc
    

CodeBus www.codebus.net