资源简介
基于非支配排序的多目标优化算法nsga2标准C代码
代码片段和文件信息
/* This is a Multi-objective GA program.
**********************************************************************
* This program is the implementation of the NSGA-2 proposed by *
* *
* Prof. Kalyanmoy Deb and his students . *
* *
* copyright Kalyanmoy Deb
**********************************************************************
The user have to give the input manualy or through a data file.
The user needs to enter objective functions in func-con.h
The code can also take care of the constraints. Enter the constraints
in the space provided in the func-con.h file.
Constraints must be of the following type:
g(x) >= 0.0
Also normalize all constraints (see the example problem in func-con.h)
If your program asks you to increase the values of some parameters in the
program come to main program and accordingly changed the values which are
defined against #define ...
The program generates few output files. These are described as
1.output.out
* This file has the detailed record for all the variables
* the fitness values constraint values overall constraint
violation (penalty) and their ranks for all the members
* of old population in the left hand side of the |**|
* and of new population in the right hand side.
2.all_fitness.out
* This file prints the record of all the fitness values for
* different individual of new popultion created at all
* generations.
3.g_rank_record.out
* This file maintains the record of individuals in global pop-
* -ulation at different ranks for all the generations.
4.ranks.out
* This file prints the number of individual at different ranks
* in old and new population and finds rank ratios
5.final_fitness.out
* This file has the fitness value of all feasible and
non-dominated individuals at the final generation
6.final_var.out
* This file has the all the variables of the feasible
and non-dominated individuals at the final generation.
The i-th solutions here corresponds to the i-th solution
in the final_fitness.out file.
7.plot.out This file contains gnuplot-based file for plotting
the non-dominated feasible solutions obtained by the code.
*************************************************************************
* This is recommended to delete or rename all the *.out files
* obtained from the previous runs as some files are opened in
* append mode so they give false resemblence of data if the
* user is not careful
Compilation procedure: gcc nsga2.c -lm
Run ./a.out with or without an input file
Input data files: Three files are included but at one time one is needed
depending on the type of va
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-03-22 20:16 nsga2code\
文件 1500 2002-01-05 10:22 nsga2code\crossover.h
文件 942 2002-01-05 10:22 nsga2code\decode.h
文件 3241 2002-01-05 10:22 nsga2code\dfit.h
文件 2868 2002-01-05 10:22 nsga2code\func-con.h
文件 774 2002-01-05 10:22 nsga2code\init.h
文件 60 2002-01-05 10:22 nsga2code\inp-b
文件 59 2002-01-05 10:22 nsga2code\inp-r
文件 64 2002-01-05 10:22 nsga2code\inp-rb
文件 633 2002-01-05 10:22 nsga2code\input-binary
文件 885 2002-01-05 10:22 nsga2code\input-rb+bin
文件 423 2002-01-05 10:22 nsga2code\input-real
文件 7544 2002-01-05 10:22 nsga2code\input.h
文件 12548 2002-01-05 10:22 nsga2code\keepaliven.h
文件 692 2002-01-05 10:22 nsga2code\mut.h
文件 15616 2002-01-05 10:22 nsga2code\nsga2.c
文件 5314 2002-01-05 10:22 nsga2code\rancon.h
文件 4011 2002-01-05 10:22 nsga2code\random.h
文件 4297 2002-01-05 10:22 nsga2code\ranking.h
文件 3051 2002-01-05 10:22 nsga2code\realcross2.h
文件 838 2002-01-05 10:22 nsga2code\realinit.h
文件 1445 2002-01-05 10:22 nsga2code\realmut1.h
文件 2685 2002-01-05 10:22 nsga2code\realselect.h
文件 3722 2002-01-05 10:22 nsga2code\report.h
文件 1668 2002-01-05 10:22 nsga2code\roullette.h
文件 2760 2002-01-05 10:22 nsga2code\select.h
文件 1294 2002-01-05 10:22 nsga2code\uniformxr.h
- 上一篇:互相关C语言程序xcorr
- 下一篇:人员信息管理系统c++版超详细
相关资源
- 飞行弹道计算C语言
- 多目标粒子群算法C代码
- 微机接口技术8255A仿真实验含C代码、
- Jacobi迭代法解方程(C语言代码)
- 国密SM2算法C代码
- 姿态解算c代码
- kcf目标跟踪C代码
- c语言解决迷宫问题
- 基于MFC和OPENGL的五轴G代码仿真
- PDU短信解码C代码注意,仅解码
- Linux下C语言2048游戏代码
- 数据结构课程设计,飞机订票系统源
- NSGA2源代码,C++源代码
- 密码学快速取模指数算法C代码
- 二维FDTD正演C代码
- 基于GMM的说话人识别C代码
- IP TCP UDP校验和计算
- 图像处理 FFT快速傅里叶变换 C代码
- C语言算法之枚举法acm例题
- ATSHA204加密芯片资料含c代码
- 华为C语言规范-高清.pdf
- 反编译c语言的工具
- C代码注释删除工具 cmnt_rid_c
- 基于SIM7000防盗标签之IIC代码
- 控制台实现俄罗斯方块的c代码
- 离散傅里叶变换(DFT) C代码
- C语言写的把你抽签系统
- 哈夫曼编码器c代码
- 128192256 bitAES 高级加密标准 C代码
- vc代码自动生成工具
评论
共有 条评论