虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

public-Resource

  • #if !defined(AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_) #define AFX_GAQUEEN_H_

    #if !defined(AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_) #define AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CGAQueen { public: CGAQueen(int nPopulation,int nIteration,float Mutation,int mChBoard) virtual ~CGAQueen() void Clear() // to clear chess board with 0 value void InitialPopulation() // to create the first and initial randompopulation void FillArea(int index) // to fill chess board with desired chromosome int CostFunc(int index) // determine the cost of matrix[index][index] void PopulationSort() // to sort population from the best to the worst void GenerateCrossOverMatrix() // a way to create children from parent is CcrossOver void Mating() // to create children from parents void Ap

    标签: AFX_GAQUEEN_H INCLUDED defined define

    上传时间: 2015-12-27

    上传用户:wuyuying

  • Dijkstra算法求最短路径(C#版) using System using System.Collections using System.Text namespace Greedy

    Dijkstra算法求最短路径(C#版) using System using System.Collections using System.Text namespace Greedy { class Marx { private int[] distance private int row private ArrayList ways = new ArrayList() public Marx(int n,params int[] d) { this.row = n distance = new int[row * row] for (int i = 0 i < row * row i++) { this.distance[i] = d[i]

    标签: System using Collections namespace

    上传时间: 2013-12-29

    上传用户:liglechongchong

  • This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY without

    This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details.

    标签: distributed WARRANTY program WITHOUT

    上传时间: 2016-01-11

    上传用户:thesk123

  • baidu 本程序是用JNI技术实现的读取硬盘序列号 将ChenminDiskIDJoc.jar 加入环境变量 这两个文件放入window 文件夹 或者JDK的bin文件夹 或者你的应用文件

    baidu 本程序是用JNI技术实现的读取硬盘序列号 将ChenminDiskIDJoc.jar 加入环境变量 这两个文件放入window 文件夹 或者JDK的bin文件夹 或者你的应用文件夹 DiskID32.dll DiskID.dll public static String chenmin.io.DiskID.Factory() 返回硬盘厂家 public static String chenmin.io.DiskID.DiskID() 返回硬盘序列号 ChenminDiskIDTest.bat 将启动直接演示一个读取硬盘序列号的测试 测试读取硬盘序列号的源代码在ChenminDiskIDTest.jar中

    标签: ChenminDiskIDJoc window baidu JNI

    上传时间: 2016-01-22

    上传用户:康郎

  • CHAPT12Chapt12.cpp Part of the 32-bit test progrma for the Win32Port class. CHAPT12Chapt12.dsp The

    CHAPT12\Chapt12.cpp Part of the 32-bit test progrma for the Win32Port class. CHAPT12\Chapt12.dsp The Visual C++ project file for the program. CHAPT12\Chapt12.dsw The Visual C++ workspace file for the program. CHAPT12\Chapt12.h The header file for the app s application class CHAPT12\Chapt12.ico The icon used in Chapt12.exe CHAPT12\Chapt12.rc The resource file use in the test program. CHAPT12\Chapt12Dlg.cpp The implementation of the dialog class CHAPT12\Chapt12Dlg.h The declarations of the dialog class CHAPT12\MyWin32Port.h Definition for a class derived from Win32Port. CHAPT12\resource.h The resource IDs

    标签: CHAPT Chapt 12 the

    上传时间: 2013-12-17

    上传用户:yan2267246

  • CHAPT13AnsiWinTerm.cpp Class used in Win32 terminal emulation CHAPT13AnsiWinTerm.h Header file for

    CHAPT13\AnsiWinTerm.cpp Class used in Win32 terminal emulation CHAPT13\AnsiWinTerm.h Header file for the AnsiWinTerm class CHAPT13\Chapt13.cpp 32-bit test program of terminal emulation CHAPT13\Chapt13.dsp Visual C++ project file CHAPT13\Chapt13.dsw Visual C++ workspace file CHAPT13\Chapt13.rc The resource file used in the test program CHAPT13\resource.h IDs defined in the resource file CHAPT13\Win32Term.cpp The Win32 general purpose terminal class CHAPT13\Win32Term.h Definition of the class CHAPT13\Debug\Chapt13.exe 32-bit executable of the test program.

    标签: AnsiWinTerm CHAPT emulation terminal

    上传时间: 2016-02-03

    上传用户:秦莞尔w

  • μC/OS-II Goals Probably the most important goal of μC/OS-II was to make it backward compatible with

    μC/OS-II Goals Probably the most important goal of μC/OS-II was to make it backward compatible with μC/OS (at least from an application’s standpoint). A μC/OS port might need to be modified to work with μC/OS-II but at least, the application code should require only minor changes (if any). Also, because μC/OS-II is based on the same core as μC/OS, it is just as reliable. I added conditional compilation to allow you to further reduce the amount of RAM (i.e. data space) needed by μC/OS-II. This is especially useful when you have resource limited products. I also added the feature described in the previous section and cleaned up the code. Where the book is concerned, I wanted to clarify some of the concepts described in the first edition and provide additional explanations about how μC/OS-II works. I had numerous requests about doing a chapter on how to port μC/OS and thus, such a chapter has been included in this book for μC/OS-II.

    标签: OS-II compatible important Probably

    上传时间: 2013-12-02

    上传用户:jkhjkh1982

  • 两种解决方案 Richard just finished building his new house. Now the only thing the house misses is a cute l

    两种解决方案 Richard just finished building his new house. Now the only thing the house misses is a cute little wooden fence. He had no idea how to make a wooden fence, so he decided to order one. Somehow he got his hands on the ACME Fence Catalogue 2002, the ultimate resource on cute little wooden fences. After reading its preface he already knew, what makes a little wooden fence cute. A wooden fence consists of N wooden planks, placed vertically in a row next to each other. A fence looks cute if and only if the following conditions are met: ?The planks have different lengths, namely 1, 2, . . . , N plank length units. ?Each plank with two neighbors is either larger than each of its neighbors or smaller than each of them. (Note that this makes the top of the fence alternately rise and fall.)

    标签: house the finished building

    上传时间: 2014-01-26

    上传用户:541657925

  • ALICE 利用AIML (Artificial Intelligence Markup Language)来形成对你的查询和输入的响应。不像其它花费数千美元的商业聊天机器人软件

    ALICE 利用AIML (Artificial Intelligence Markup Language)来形成对你的查询和输入的响应。不像其它花费数千美元的商业聊天机器人软件,ALICE可以按照 GNU Public License免费使用。

    标签: Intelligence Artificial Language Markup

    上传时间: 2014-01-24

    上传用户:xsnjzljj

  • if(e.getActionCommand()=="参数法画圆"){ p=11 } } //actionPerformed //实现接口Window

    if(e.getActionCommand()=="参数法画圆"){ p=11 } } //actionPerformed //实现接口WindowListener的所有方法,用于处理发生在窗口上的事件 public void windowClosing(WindowEvent e)

    标签: getActionCommand actionPerformed Window if

    上传时间: 2016-02-27

    上传用户:busterman