下载频道> 资源分类> 编程语言> VC源码> VC++游戏编写中的求解最短路径算法源码-源码程序

标题:VC++游戏编写中的求解最短路径算法源码-源码程序
分享到:

所属分类: VC源码 资源类型: 文件大小: 17.38 KB 上传时间: 2017-06-11 22:00:58 下载次数: 47 资源积分:1分 提 供 者: admin 20170611100106520
内容:
VC++游戏编写中的求解最短路径算法源码-源码程序,VC游戏编写中的求解最短路径算法源码,本示例是自动寻径演示,篮点是起点,红点是终点,按确定键开始。 注:编译后运行的时候请把EXE文件从Debug目录中拷贝到项目根目录中,若不然会出错。
  编著、程序设计:唐明理
  程序顺序:
  初始化队列、待处理节点入队列, 依靠对目的地估价距离插入排序,将离目的地估计最近的方案出队列,释放栈顶节点,释放申请过的所有节点,估价函数,估价 x,y 到目的地的距离,估计值必须保证比实际值小, 尝试下一步移动到 x,y 可行否,如果曾经有更好的方案移动到 (x,y) 失败,记录这次到 (x,y) 的距离为历史最佳距离……
VC ++ game preparation in the shortest path algorithm source code - source code procedures, VC games in the preparation of the shortest path algorithm source code, the example is automatic routing guide, the basket is the starting point, the red dot is the end, press the OK button to start. Note: Please compile the EXE file from the Debug directory to copy the project to the root directory, if not an error.
Edited, programming: Tang Mingli
Program sequence:
Initialize the queue, wait nodes into the queue, rely on the destination to estimate the distance from the insertion of the sort, will be estimated from the destination of the nearest program out of the queue, the release of the top node, the release of all the nodes, valuation function, valuation x, y to the purpose The distance to the estimate must be guaranteed to be smaller than the actual value, try the next step to move to x, y viable no, if there was a better solution to move to (x, y) failed, record this time to (x, y) Distance is the best distance from history ...

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

VC++游戏编写中的求解最短路径算法源码-源码程序
VC++游戏编写中的求解最短路径算法源码-源码程序\code
VC++游戏编写中的求解最短路径算法源码-源码程序\code\RES
VC++游戏编写中的求解最短路径算法源码-源码程序\code\FINDPT.CPP
VC++游戏编写中的求解最短路径算法源码-源码程序\code\FINDPT.H
VC++游戏编写中的求解最短路径算法源码-源码程序\code\MAP.DAT
VC++游戏编写中的求解最短路径算法源码-源码程序\code\RESOURCE.H
VC++游戏编写中的求解最短路径算法源码-源码程序\code\RES\求解最短路径.ico
VC++游戏编写中的求解最短路径算法源码-源码程序\code\RES\求解最短路径.rc2
VC++游戏编写中的求解最短路径算法源码-源码程序\code\StdAfx.cpp
VC++游戏编写中的求解最短路径算法源码-源码程序\code\StdAfx.h
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.clw
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.cpp
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.dsp
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.dsw
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.h
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径.rc
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径Dlg.cpp
VC++游戏编写中的求解最短路径算法源码-源码程序\code\求解最短路径Dlg.h
VC++游戏编写中的求解最短路径算法源码-源码程序\www.gusucode.com.txt
VC++游戏编写中的求解最短路径算法源码-源码程序\【谷速代码】-免费源码.url
VC++游戏编写中的求解最短路径算法源码-源码程序\程序说明.txt

关键词: 源码 算法 程序

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘
沪ICP备19040327号-3
公安备案号:沪公网安备 31011802003874号
库纳格流体控制系统(上海)有限公司 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved