登录
首页 » 算法 » 修道士和野人问题

修道士和野人问题

于 2022-05-16 发布 文件大小:58.82 kB
0 193
下载积分: 2 下载次数: 1

代码说明:

经典的修道士和野人过河问题, 1、可以选择修道士和野人的人数, 2、可以输出过河的详细方案, 3、代码清晰含注释,

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

发表评论

0 个回复

  • 一些c程序,象棋之马踏棋盘、把术表达式转化未逆波兰表达式、保龄球计分规则、可进行多达50位的大整数运(+X)、铁路调度,演示了堆栈的基本用...
    一些c程序,象棋之马踏棋盘、把算术表达式转化未逆波兰表达式、保龄球计分规则算法、可进行多达50位的大整数运算(+X)、铁路调度算法,演示了堆栈的基本用法-Some c procedures, horse riding chess board, the arithmetic expressions are not translated into Reverse Polish expression, bowling scoring rules algorithm, can be as many as 50 large integer calculations ( X), the railway scheduling algorithm, demonstrated the basic stack Usage
    2023-06-28 08:25:03下载
    积分:1
  • 看论坛上有个要钱的关于数学运表达式的东西,之前写过一个关于数学表达式的单元,现免费发给大家了,当然因为只是临时用才写的,有些粗糙,请原谅。...
    看论坛上有个要钱的关于数学运算表达式的东西,之前写过一个关于数学表达式的单元,现免费发给大家了,当然因为只是临时用才写的,有些粗糙,请原谅。-Have a look forum money on things mathematical expressions, written before the mathematical expression on the cell, is distributed free to the U.S., of course, because it is only a temporary use only written, some rough, please forgive me.
    2022-01-30 19:04:27下载
    积分:1
  • 上身探测器
    在静止图像中的上部人体检测软件。它基于成功的一部分基于对象检测框架,并且包含一个模型来检测附近额叶上部机构。由此产生的探测器返回范围框拟合的头和上部有一半的人的躯干。
    2022-03-20 05:54:36下载
    积分:1
  • 分枝定界,运筹学
    分枝定界法,运筹学-branch-and-bound method, and operations
    2022-04-24 23:01:41下载
    积分:1
  • 给出插值子的,牛顿求解非线性方程,欢迎大家给出意见。...
    给出插值算子的算法,牛顿法求解非线性方程,欢迎大家给出意见。-Interpolation operator is given algorithm, Newton method for solving nonlinear equations, welcome to give their views.
    2022-03-10 14:45:50下载
    积分:1
  • 用C# 生成128CODE条形码图片
    应用背景扫描枪在扫描货品条码时,虽然可以在电脑上显示出扫描到的数字,但是不能显示条码图片。我们在应用的过程中可能需要将条码一起打印出来显示在一张A4纸上。所以可以利用这个类生成相应的128条形码图片,然后插入到word中,并将相应的条码(包含条码图形)打印出来。这类应用在仓库管理中应用较多,比如要把一个货架上的所有箱码打印显示在A4纸上。然后扫描枪只要扫描这张纸上的条码就可以知道这个货架上有哪些货。关键技术代码的核心是它将128码的码制定义在一张DataTable表中,这个表中记录了每个数字和字母对应的条形码编号,用这些编号来生成条形码。比如你给一串数字,要生成一个条形码时,代码会取出这串数字每个数,然后查询这张表格,记录每个数在表格中对应的位置。这些索引形成一个list,然后根据这个list生成一个bimap,最后保存为图片。
    2022-12-19 03:25:02下载
    积分:1
  • 用一观测器从t=1秒开始对一个运动目标的距离进行连续地跟踪测量,假设观测的间隔为一秒钟,雷达到运动目标之间的距离为S(t)(1) 统计特性的初值为 (2)...
    用一观测器从t=1秒开始对一个运动目标的距离进行连续地跟踪测量,假设观测的间隔为一秒钟,雷达到运动目标之间的距离为S(t)(1) 统计特性的初值为 (2)观测误差是与和均不相关的白噪声序列,并且有 (3)观测数据存放在附加的文件中(单位:m)。 要求:分析上述对象,建立系统模型,构造卡尔曼滤波器,编程计算,求: (1) 距离S(t)的最佳估计及估计误差, (2) 距离S(t-5)的最佳平滑及估计误差, (3) 距离S(t+5)的最佳预测及估计误差, (4) 对结果进行分析讨论。 -By one observer from the t = 1 PST on a moving target tracking for distance measurement, assuming that the observation interval is one second, the radar that the distance between the moving target for the S (t) (1) the statistical characteristics of the initial condition (2) observational error is not associated with white noise sequence, and (3) observational data stored in the attached document (unit: m). Requirements: Analysis of the above-mentioned object, the establishment of the system model, constructed Kalman filter, programming terms, seeking: (1) distance from S (t) the best estimate and the estimation error, (2) distance from S (t-5) the most good smoothing and estimation error, (3) distance from S (t+ 5) t
    2022-03-11 21:07:50下载
    积分:1
  • a_star_pathfinder明星路径可以用来研究路由方的发展。
    a_star_pathfinder A星路径寻找可以用来学习寻路的方法 可以用到很多地方 比如脱机的AI寻路就可以用到他 -a_star_pathfinder A Star path finding can be used to study routing methods can be used in many places such as the AI offline Wayfinding can be used on him
    2022-02-04 14:10:32下载
    积分:1
  • GNjava实现
    这是一个经典的社团划分,采用GN算法思想, 基本上是从昨天开始吧,着手复杂网络的GN算法,整个过程包括从GML文件中提取邻接矩阵数据,GN算法的实现,模块度的计算。 (1)GML文件的读取。做GN的时候首次知道GML(Graph Model Language),GML (Graph Modelling Language): There are many different programs that work with graphs but almost all of them use their own file format. As a consequence, exchanging graphs between different programs is almost impossible. Simple tasks like exchange of data, externally reproducible results or a common benchmark suite are much harder than neccessary. Therefore, we have developed a new file format for the Graphlet system: GML. GML supports attaching arbitrary information to graphs, nodes and edges, and is therefore able to emulate almost every other format. 从上面的英文中我们可以知道,GML是一种文件格式,试图统一大家对图结构的表达形式。这样,会很方便大家的交互,比如程序的利用。我们主要工作是从GM
    2022-02-20 11:14:43下载
    积分:1
  • 快速过滤关键字
     使用Hash优化算法,过滤敏感词、关键字。速度棒棒的。
    2022-03-02 15:18:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载