搜索资源列表
矩形编码压缩
- 矩形编码压缩源代码是针对图象压缩设计的程序,该算法可用于生物信息学,图象处理等方面-rectangular Coding source code is against image compression design process, the algorithm can be used bioinformatics, image processing, etc.
切割
- 这是一个分治解决的零件切割问题:给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?加上一个小界面-This is a solution to the partition cutting parts : a given width of the rectangular plate W, the height of rectangular plat
cclassshape
- 声明一个基类Shape(点), 在此基础上派生出Rectangle(长方形)和Circle(圆),这三个类都有GetArea()函数计算对象的面积,构造函数,析构函数等有关函数。再使用Rectangle类创建一个派生类Square(正方形)。并设计创建各种类的对象,调用所有函数。设计函数f(Shape &a)能对不同对象的实参调用计算打印出对象的面积。 -statement a base class Shape (points) On this basis -- for Rectangle
yhsj_
- 打印杨辉三角,输出杨辉三角形数据,呈直角形状-Print Pascal's Triangle, Yang Hui triangle output data showed rectangular shape
fenzhi
- 零件切割问题: 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? 任给一个输入实例,能输出切割所需要的实际高度并能用图形演示切割的过程-cutting parts : a given width of the rectangular plate W, the height of rectangular plate unrestri
最大子长方体问题
- *Cube:最大子长方体问题 问题描述: 一个长,宽,高分别为m,n,p的长方体被分割成个m*n*p个小立方体。每个小立方体内有一个整数。 求所给长方体的最大子长方体。子长方体的大小由它所含所有整数之和确定。 */-* Cube : The biggest problem for rectangular Problem descr iption : a long, wide and high respectively m, n, p rectangular cut into the 000 m
SegmentTree
- 一个效率可以的线段树代码 可以直接用来求解矩形面积并 另外可以修改实现更多功能.-The efficiency of the line segment can be a tree code can be directly used to solve the rectangular area and the other can be modified to achieve more.
culculate_area
- 计算几何形状的面积. 有10个几何形状,其中3个矩形,4个三角形,3个圆形.函数area()计算每个形状的面积. -The shape of the area of computational geometry. Geometry 10, in which three rectangular, four triangles, round three. Function area () area of each shape.
duct4
- duct.f computes a fully developed viscous laminar flow in a rectangular channel of aspect ratio b/a (=bar). solve the equation: d^2u/dx^2 + d^2u/dy^2 = -1, -a<x<a, -b<y<b method of discretisation: 3-point centered differences
minghua
- 世界名画陈列室由m*n个排列成矩形阵列的陈列室组成。为了防止名画被盗,需要在陈列室中设置警卫机器人哨位。每个警卫机器人除了监视它所在的陈列室外,还可以监视与它所在的陈列室相邻的上、下、左、右4个陈列室。试设计一个安排警卫机器人哨位的算法,使得名画陈列馆中每一个陈列室都在警卫机器人的监视下,且所有的警卫机器人数最少。-Gallery by the world famous painting of m* n rectangular array arranged in the composition
1
- 矩形图元闪烁,最短路径 矩形图元闪烁,最短路径. 矩形图元闪烁,最短路径-A rectangular pixel flicker, the shortest path to a rectangular pixel flicker, the shortest path. Rectangular pixel flicker, the shortest path to
VisualHanoi
- 动态显示汉诺塔的自动搬运过程,每个盘用不同颜色的矩形表示,有很好的教学用途。-Dynamic Display Tower of Hanoi' s automatic handling processes, each with different colored rectangular plate, said there is a good teaching purposes.
BOJ1293
- BOJ1293:小马想用最快的速度过河。 河水有缓有急,不同地方深浅也不一样,因此,在河的不同地方,行走的速度是有区别的。小马把河划分成N*M个矩形区域,像一个矩阵,南北N个区,东西M个区。小马现在在河的南岸,要走到北岸去。小马可以从任何邻接南岸的区域进入河中;在河里,每次只能从当前区域走到北方、东北、西北三个相邻区域;只要走到最北边的任何一个区域,下一步就可以上岸。小马在每个区域中需要停留的时间不尽相同。请你帮助小马计算一下它在河里至少需要停留多长时间才能过河。-BOJ1293: colt
JudgePointInRect
- 根据矩形左边中点、方向及长宽求矩形各点坐标;判断平面上一点是否在该平面上某一不规则矩形内-According to the midpoint of the rectangle on the left, direction and length and width of a rectangular coordinate points determine whether the plane a little irregular in the rectangular plane within a
1.1
- C++设计一个表示平面直角坐标系的点的位置Location类,提供函数得到该点的坐标、计算两个点之间的距离,并且能够自动统计坐标系中点的个数。 测试要求:在主程序中创建两个对象A和B,按如下格式输出两个点的坐标和两个点的距离。 A(x1, y1), B(x2, y2), Distance=d -C++ to design a plane rectangular coordinate system, said the positions of points Location clas
bulldozer
- 动态规划求解:第一行包含两个数R 和C ( 2 ≤ R,C ≤ 1500 )为矩形地块的长和宽。接下来有R 行,每行有C 个用空格隔开的字符串,字符串要么以A 开头(表示 苹果),要么以B 开头(表示香蕉),后面接一个不超过99 的整数,表示对应的树木的数量。-Dynamic Programming: The first line contains two numbers R and C (2 ≤ R, C ≤ 1500) for the rectangular block of lengt
data-structure
- 并查集,并查集扩展,堆,矩形切割,线段树,线段树扩展,线段树应用,字段和,子阵和。-And check collection, and investigations set extensions, stack, rectangular cut, segment tree, expand the tree line, tree line applications, fields, and, sub-array and.
Researeh-on-trajeetoy
- 首先,探讨了映射方法的选择。此步骤是整个规划方法的基础。协调映射因为具有 变形小、网格不会重叠等优点,被作为最佳选择。根据协调映射的理论,建立了平面上 圆形域、矩形域、多边形域等参数域的映射模型,可根据轨迹规划的需要来选择映射的 边界。由于协调映射时所需处理的数据量很大,本文给出了编程时具体的数据结构,其 中大型稀疏矩阵采用三元组压缩存储。 -First, the choice of the mapping method. This step is the basis for
1
- 在一个由M*N个小正方形组成的矩形上,依次用两个相等的小正方形大小的矩形(此处所谓相邻是指两个正方形有一条公共边)不重复的覆盖该矩形区域。请构造出该问题的模型,设计算法求解所有可能的覆盖。-In a M* N small squares on the rectangle, followed by two small squares of equal size of the rectangle (here is the so-called two adjacent squares have a c
rectangular-coordinates
- 能够实现极坐标到直角坐标的装换,对坐标运算,空间插值具有借鉴意义 。-It enables polar coordinates to rectangular coordinates installed for. .