并行遗传算法.pdfVIP

  • 0
  • 0
  • 约1万字
  • 约 8页
  • 2023-02-16 发布于江苏
  • 举报
// gafx.cpp : 定义控制台应用程序的入口点。 //本程序试用遗传算法来解决Rosenbrock函数的全局最大值计算问题: //max f(x1,x2)=100(x1^2-x2^2)^2+(1-x1)^2 //定义域 -2.048=xi=2.048 ///执行了串行GA与并行GA,并进行了比较 include stdafx.h include omp.h includeiostream include stdlib.h includemath.h includestdio.h includetime.h using namespace std; defin

文档评论(0)

1亿VIP精品文档

相关文档