Description: 基于二进制编码遗传算法的PID整定,二进制编码串的长度为10-based on the binary-coded genetic algorithm PID tuning, the strings of binary coding length of 10 Platform: |
Size: 2102 |
Author:liaihua |
Hits:
Description: 基于二进制编码遗传算法的PID整定,二进制编码串的长度为10-based on the binary-coded genetic algorithm PID tuning, the strings of binary coding length of 10 Platform: |
Size: 2048 |
Author:liaihua |
Hits:
Description: This code and accompanying explanation is designed to be a genetic algorithm. It uses the roulette wheel method to optimize the function x^2 using six digit binary strings. The accompanying document goes through the algorithm and the code step-by-step. Platform: |
Size: 46080 |
Author:anatolia |
Hits:
Description: three udf function
This is a real single point crossover function for genetic algorithm based projects
under vb.net or excel vba
usage
a1=crosover(a1, b1, m, 1)
b1 = crosover(a1, b1, m, 2)
crossover with a1 and b1 are strings, m is a random number between len(a1) or len(b1)
b1 = crosover(a1, b1, m, 2) crossover b1 and a1 are strings, m is a random number between len(a1) or len(b1)
The second is a mutation function
The third function converts decimal to binary
with the given digit.
example
decimal(2)=binary(10) normal eveybody can write so function
my function will show the binary with n digit if n=20
DECTOBINDI(2, 20)=00000000000000000010
It can be used to write genetic algorithm based functions
Finally normal function decto bin to understand differencases. -three udf function
This is a real single point crossover function for genetic algorithm based projects
under vb.net or excel vba
usage
a1=crosover(a1, b1, m, 1)
b1 = crosover(a1, b1, m, 2)
crossover with a1 and b1 are strings, m is a random number between len(a1) or len(b1)
b1 = crosover(a1, b1, m, 2) crossover b1 and a1 are strings, m is a random number between len(a1) or len(b1)
The second is a mutation function
The third function converts decimal to binary
with the given digit.
example
decimal(2)=binary(10) normal eveybody can write so function
my function will show the binary with n digit if n=20
DECTOBINDI(2, 20)=00000000000000000010
It can be used to write genetic algorithm based functions
Finally normal function decto bin to understand differencases. Platform: |
Size: 3072 |
Author:falacal |
Hits:
Description: 遗传算法是计算数学中用于解决最佳化的搜索算法,是进化算法的一种。进化算法最初是借鉴了进化生物学中的一些现象而发展起来的,这些现象包括遗传、突变、自然选择以及杂交等。遗传算法通常实现方式为一种计算机模拟。对于一个最优化问题,一定数量的候选解(称为个体)的抽象表示(称为染色体)的种群向更好的解进化。传统上,解用二进制表示(即0和1的串),但也可以用其他表示方法。进化从完全随机个体的种群开始,之后一代一代发生。在每一代中,整个种群的适应度被评价,从当前种群中随机地选择多个个体(基于它们的适应度),通过自然选择和突变产生新的生命种群,该种群在算法的下一次迭代中成为当前种群。(Genetic algorithm (GA) is a search algorithm for solving optimization in computational mathematics. It is a kind of evolutionary algorithm. Evolutionary algorithms were originally developed by drawing on some phenomena in evolutionary biology, including inheritance, mutation, natural selection, and hybridization. The genetic algorithm is usually implemented as a computer simulation. For an optimization problem, a number of candidate solutions (known as individuals) are expressed in an abstract representation (called chromosomes) to a better solution. Traditionally, binary representations (i.e., strings of 0 and 1) are used, but other representations can be used. Evolution) Platform: |
Size: 5120 |
Author:木冉
|
Hits: