资源简介
基于非支配排序的多目标优化算法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代码
- ldpc编译码c代码
- USB识别 HID识别 MFC代码
- MFC代码大全经典+技巧
- resample函数的C语言实现
- svr-c语言和matlab代码.zip
- 数值计算 c代码及简单的MFC界面
- mcp4531 数字电位器c语言驱动和电路
- matlab转C代码
- PIC18F4520 C代码
- OGRE嵌入MFC代码以及嵌入过程说明
- VC++2010 VC上位机 20个教程 零基础 极速
- 双三次样条插值算法代码
- 聚类分析ISODATA,C代码
- 文本编辑器C代码.
- avilib库源C代码
- otsu二值化c代码
- 一种有限状态机(FSM)的实现方式
- 飞行弹道计算C语言
- 多目标粒子群算法C代码
- 微机接口技术8255A仿真实验含C代码、
- Jacobi迭代法解方程(C语言代码)
- 国密SM2算法C代码
- 姿态解算c代码
- kcf目标跟踪C代码
- c语言解决迷宫问题
- 基于MFC和OPENGL的五轴G代码仿真
- PDU短信解码C代码注意,仅解码
- Linux下C语言2048游戏代码
- 数据结构课程设计,飞机订票系统源
评论
共有 条评论