此为用C#写的A*算法源代码 using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace EtSoft.AStarLib { public class AStar { private StarNodeCollection openList = new StarNodeCollection(); private StarNodeCollection close
Triangle Evolution Triangle Evolution (TE) is an evolutionary algorithm for global optimization proposed by B. Yu and C.T. Luo. This is a demo program of TE written in Oct. 2006. You can easily define or add your own function to be optimized. Please
// 线段裁剪CSView.cpp : implementation of the CCSView class // #include "stdafx.h" #include "线段裁剪CS.h" #include "线段裁剪CSDoc.h" #include "线段裁剪CSView.h" #define left 200 //默认图形窗口 #define right 400 #define bottom 100 #define top 300 #define l 1 //区域编码 #defi
LEDA是一个商业化的算法函数库,LEDA就是Library of Efficient Data structure and Algorithm一个常用ADT的C++实现,推荐下载。简介:LEDA is a library of the data types and algorithms of combinatorial computing. The main features are: LEDA provides a sizable collection of data types and
ComplexSet复数集合算法的C++实现,还包括一些参考资料:贪心算法、排课程序、选课程序。苦中排课程序内又包括了几种不同算法实现的程序,供学习参考。 Filename : ComplexSet.cpp Intro : This is a Class of Set whoes elements are complex Functions: (1)The Union of two Sets (overload operator +,+=) (2)The Intersectio
AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy
Usage: Simply double click on server.exe and client.exe By default, the server starts on 127.0.0.1(localhost) and uses the port 31416. If you want to specify another port, add options while executing the server.py. This can be done by either executi