登录
首页 » 算法 » 爬山 (人工智能)

爬山 (人工智能)

于 2023-08-26 发布 文件大小:59.50 kB
0 117
下载积分: 2 下载次数: 1

代码说明:

这是人工智能的爬山算法。它给最短路径从源节点到目标节点。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 是个进行多字节的除
    是个进行多字节的除法-is a multi-byte division
    2022-05-05 11:44:02下载
    积分:1
  • Anaglifo 立体视觉
    这是由两个摄像头 (立体照相机) 获取 abaglifo 算法。它是在 c + + 编程与 OpenCV。
    2022-07-07 18:04:36下载
    积分:1
  • 河内—汉诺塔问题,递归解决
    汉诺塔问题是源于印度一个古老传说的益智玩具。大梵天创造世界的时候做了三根金刚石柱子,在一根柱子上从下往上按照大小顺序摞着64片黄金圆盘。大梵天命令婆罗门把圆盘从下面开始按大小顺序重新摆放在另一根柱子上。并且规定,在小圆盘上不能放大圆盘,在三根柱子之间一次只能移动一个圆盘。递归解决
    2022-03-31 09:42:57下载
    积分:1
  • 归并排序的c实现
    归并排序的c实现-Merging Sort of achieving c
    2022-03-20 05:58:05下载
    积分:1
  • Lifitime tracer. ***************************************************** Example...
    Lifitime tracer. *** *** *** *** *** *** *** *** ***** Example: #include void foo() { TRACE_LIFETIME usleep(100000) } void main() { foo() } *** *** *** *** *** *** *** *** *** See lifetimes.log: FUNC: void foo(), AV TTL: 00000xxxxx us (main.cpp, 000xxx) TTL: 00000xxxxx us (THREAD ID: 0000xxxx) ****************************************************** Explanation of newly created lifetimes.log: FUNC - function, whose lifetime we measured AV TTL - mean (average) spent time of all functions calls TTL - time spent on each function call THREAD ID - thread that called a function. ***************************************************** Description: - was written for QT project - multithreaded support (Loki::Singleton has multithreaded sync support) **************************************************** Dependencies: - QT - Loki (A. Alexandrescu) -Lifitime tracer. ****************************************************
    2022-02-13 17:25:56下载
    积分:1
  • 随机数产生源码
    自己写的随机数产生源码,1. 使用乘同余法产生[0,1]区间上均匀分布的随机数2.基于[0,1]区间上均匀分布的随机数利用反变换法生成:连续随机变量:均匀分布随机变量、指数分布随机变量、三角分布的随机变量、正态分布的随机变量离散随机变量:离散均匀分布、泊松分布
    2023-05-22 14:35:03下载
    积分:1
  • 贝塞尔曲线示例
    #include < iostream > #include < 矢量 > #include < math.h > #include"BezierPoint.h" 使用命名空间 std ; BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ; 双选择 (双 a,双 b) ; 双 factorial(double num) ; int main(void) { 方法 < < BezierPoint >> 方法警校 ; char endPointCount = 0; 双 inx ; 双 iny ; int ptCount = 0; int 终结点 ; 双 deltaT ; cin >> ptCount >> deltaT ; 为 (int 我 = 0 ; 我 < ptCount; i + +) { cin >> inx >> iny >> 终结点 ; BezierPoint p iny inx) ; 如果 (endPointCount = = 0 & & 终结点 = = 1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; 继续 ; } pts[pts.size()-1].push_back(p) ; 如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; } } 为 (std::s
    2022-03-13 19:08:01下载
    积分:1
  • vc prepared with a scheduling algorithm procedures
    一个用vc编写的调度算法程序-vc prepared with a scheduling algorithm procedures
    2023-09-05 16:35:04下载
    积分:1
  • 大学里数学系必学的一们课程数值分析中的经典――――高斯消去,在矩阵理论和线形代数及运筹学中有极高的重要性...
    大学里数学系必学的一们课程数值分析中的经典算法――――高斯消去法,在矩阵理论和线形代数及运筹学中有极高的重要性-University"s Department of Mathematics will study the courses have a numerical analysis of the classical algorithm-Gaussian elimination method, the matrix theory and linear algebra and tacticians are very high importance.
    2022-10-29 03:40:03下载
    积分:1
  • 机器人的基本原理
    这是对机器人的基本 power point。它给出了初步的了解,关于如何使机器人。如何运作。从哪里开始和需要什么硬件。
    2023-02-04 19:40:03下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载