Location:
Search - BiJ
Search list
Description: 设平面上有一个m´ n的网格,将左下角的网格点标记为(0,0)而右上角的网格点标记为(m,n)。某人想从(0,0)出发沿网格线行进到达(m,n),但是在网格点(i,j)处他只能向上行进或者向右行进,向上行进的代价为aij(amj =+¥ ),向右行进的代价是bij(bin =+¥ )。试设计一个动态规划算法,在这个网格中为该旅行者寻找一条代价最小的旅行路线。用高级程序设计语言编写程序求解动态规划模型。
Platform: |
Size: 915 |
Author: 陆嘉鸣 |
Hits:
Description: 设平面上有一个m´ n的网格,将左下角的网格点标记为(0,0)而右上角的网格点标记为(m,n)。某人想从(0,0)出发沿网格线行进到达(m,n),但是在网格点(i,j)处他只能向上行进或者向右行进,向上行进的代价为aij(amj =+¥ ),向右行进的代价是bij(bin =+¥ )。试设计一个动态规划算法,在这个网格中为该旅行者寻找一条代价最小的旅行路线。用高级程序设计语言编写程序求解动态规划模型。-Set up a plane m n of the grid, will be the lower-left corner of the grid points marked as (0,0) and the upper right corner of the grid point marked as (m, n). A person from (0,0) along the starting grid to reach the road (m, n), but the grid point (i, j) Department only him right up the road or the road, up the road price for the aij ( amj = ¥), the road to the right price is bij (bin = ¥). Try to design a dynamic programming algorithm, in this grid for travelers to find a minimum cost of travel routes. Advanced programming language used to write programs to solve dynamic programming model.
Platform: |
Size: 1024 |
Author: 陆嘉鸣 |
Hits:
Description: B样条曲线的绘制和插值.MFC 中画图,很精确的实现 拟合数据点-B-spline curve rendering and interpolation. MFC in the drawing, it is precisely the realization of fitting data points
Platform: |
Size: 62464 |
Author: liuxing |
Hits:
Description: floyd算法的matlab程序
floyd-最短路问题
输入:
B-邻接矩阵(bij),指i到j之间的距离,可以是有向的。
sp- 起点标号。
ep- 终点标号。
输出:
d- 最短路的距离。
path-最短路的路径。-floyd algorithm matlab program floyd-shortest path problem Input: B-adjacency matrix (bij), refers to the distance between i to j, can be directed to. Sp-starting label. Ep-end labeling. Output: d-shortest distance. Path-shortest path.
Platform: |
Size: 1024 |
Author: 陆明巧 |
Hits:
Description: TOMCAT的学习笔记,帮助大家更好的了解web应用服务器~-TOMCAT study notes to help you better understand the web application server ~
Platform: |
Size: 814080 |
Author: FF |
Hits:
Description: 基于vibe实现的目标跟踪,当背景不变时,能对运动的物体进行检测并跟踪。-
36/5000
Jīyú vibe shíxiàn de mùbiāo gēnzōng, dāng bèijǐng bù biàn shí, néng duì yùndòng de wùtǐ jìnxíng jiǎncè bìng gēnzōng.
Based on the vibe implementation of the target tracking, when the background is constant, the object can be detected and track the movement.
Platform: |
Size: 29304832 |
Author: 龙诗宇 |
Hits:
Description: 设平面上有一个m×n 的网格,将左下角的网格点标记为(0,0)而右上角的网格点标记为(m,n)。某人想从(0,0)出发沿网格线行进到达(m,n),但是在网格点(i,j)处他只能向上行进或者向右行进,向上行进的代价为aij(amj =+∞),向右行进的代价是bij(bin =+∞)。试设计一个动态规划算法,在这个网格中为该旅行者寻找一条代价最小的旅行路线。(There is a m * n mesh on the plane, and the grid point on the lower left is marked (0,0), and the grid point on the upper right is marked as (m, n). Want sb (0,0) starting from marching along the mesh line at (m, n), but in the grid point (I, J) where he can only travel up or to travel on the road to the right, the price for AIJ (AMJ = 2), the road to the right is the price of bij (bin = 2). A dynamic programming algorithm is designed to find the least cost travel route for the traveler in this grid.)
Platform: |
Size: 4096 |
Author: 16物联网
|
Hits:
Description: 设有两个矩阵A=(aij)m×n,B=(bij)p×q
实现要求:
⑴ 编写矩阵输入函数INPUT_MAT,通过该函数完成矩阵的输入并返回保存矩阵的三元组 (不能使用全局变量);
⑵ 编写矩阵输出函数OUTPUT_MAT,通过该函数完成矩阵的输出,输出的形式是标准的矩阵形式(即二维数组的形式);
⑶ 求矩阵的转置,矩阵的转置A’=(aji)n×m,转置前输出原矩阵,转置后输出转置矩阵;
⑷ 求矩阵A、B的和。矩阵A和B能够相加的条件是:m=p,n=q;矩阵A和B如果不能相加,请给出提示信息;若能够相加,则求和矩阵C并输出C;
C=A+B=(cij)m×n,其中cij=aij+bij
⑸ 求矩阵A、B的差。矩阵A和B能够相减的条件是:m=p,n=q;矩阵A和B如果不能相减,请给出提示信息;若能够相减,则求差矩阵C并输出C;
C=A-B=(cij)m×n,其中cij=aij-bij
⑹ 求矩阵A、B的积。矩阵A和B能够相乘的条件是:p=n;矩阵A和B如果不能相乘,请给出提示信息;若能够相乘,则求积矩阵D并输出D;
D=A×B=(dij)m×q,其中dij=∑aik×bkj,k=1,2,……,n
⑺ 设计一个菜单,具有求矩阵的转置、求矩阵的和、求矩阵的积、退出等基本的功能。在求矩阵的和或求矩阵的积时要求能够先提示输入两个矩阵的,然后再进行相应的操作。(To realize the addition and subtraction multiplication of matrix)
Platform: |
Size: 28672 |
Author: viewyouyou |
Hits: