Location:
Search - function a
Search list
Description: A*算法属于一种启发式搜索。它扩展结点的次序类似于广度优先搜索,但不同的是每生成一个子结点需要计算估价函数F,以估算起始结点到该结点的代价及它到达目标结点的代价的和;每当扩展结点时,总是在所有待扩展结点中选择具有最小F值的结点作为扩展对象,以便使搜索尽量沿最有希望的方向进行。 -A* algorithm is a heuristic search. It extended node in the order of priority similar to the breadth of search, but in every generation is a sub-node calculated valuation function F, to estimate initial node to the node, the price and it arrived at the target node, and the price; Whenever expansion node, the question has always extended to all nodes with the smallest choosing F value of the node as expansion targets, in order to search as far as possible along the most promising direction.
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 2. 设计一个启发式函数(最好是A*搜索函数)并编程实现,设计报告中必须给出函数的具体形式并说明设计思想(或分析为什么是A*算法)-2. Design a heuristic function (A* is the best search function), and Programming, design report must be given to the specific function and state forms design (or analyze why is A* algorithm)
Platform: |
Size: 526336 |
Author: 小龙 |
Hits:
Description: 通过编制迷宫程序来熟练掌握A*算法。充分理解A*算法和启发函数的关系-through the preparation of the maze procedure to skillfully master A* algorithm.* A full understanding of algorithms and heuristic function of
Platform: |
Size: 3072 |
Author: 陶钊 |
Hits:
Description: 程序目的:
通过编制迷宫程序来熟练掌握A*算法。充分理解A*算法和启发函数的关系。-procedures Objective : Maze procedure to prepare skilled master A* algorithm.* A full understanding of algorithms and heuristic function relationship.
Platform: |
Size: 5120 |
Author: hehe |
Hits:
Description: 用A*算法求解八数码问题。A*算法又叫做最佳图搜索算法,是满足启发函数不大于实际耗散值的A算法,可以用理论证明如果最佳解图存在的话,一定可以用A*算法找出来。-with A* algorithm eight digital problem. A* algorithm also called the plan the best search algorithm, it is instructive function to meet not more than the actual value of the A dissipation algorithm, Theory can be used to prove that if SCR plans exist, will be able to use A* algorithm to find out.
Platform: |
Size: 91136 |
Author: 罗鹏魁 |
Hits:
Description: 设计说明:1。数据结构和表示:程序用1、2、3、4分别表示将右、上、左、下的数字块移动到空格之中。采用典型的树+链表结构,每种局面产生一个BoardState类。出于避免走法顺序列表被过多复制的考虑,在树结构中保存局面的继承关系。每种新的局面产生后,引用估值函数产生f的值,再根据大小将其插入链表之中,以便实现“优先展开f值小的节点”。Solve()函数在成功解决问题之后保存一个走法序列供输出并返回零,而失败则返回失败处的节点层数。(具体的判断方法见后文)-Design Notes : 1. Data structure and said : 1,2,3,4 procedures used were said to the right, and left, The figure moved to the block among the blanks. A typical tree Chain structure, each have a situation BoardState category. For France order to avoid excessive copying the list was, in consideration of the tree structure to preserve the situation in relation to the succession. Each of the new situation after the election, have cited valuation function f value, in accordance with the size of its insertion Chain, in order to achieve the "priority start small f value of the node." Solve () function in the successful solution of the problem after a law to preserve sequence for output and return to zero. and failure to return to the failed node floors. (Specific judgment method, see be
Platform: |
Size: 256000 |
Author: 陈士骞 |
Hits:
Description: 我是一个图象处理的初学者,用MATLAB语言编写了一些内部的函数,实现了图象处理的功能,比如entropy,laplician,otsu,top-hat等-image processing is a beginners MATLAB language some internal functions, achieving image processing functions, such as entropy, laplician, Otsu, top-hat, etc.
Platform: |
Size: 2736128 |
Author: 史振志 |
Hits:
Description: This program demonstrates some function approximation capabilities of a Radial Basis Function Network.
The user supplies a set of training points which represent some "sample" points for some arbitrary curve. Next, the user specifies the number of equally spaced gaussian centers and the variance for the network. Using the training samples, the weights multiplying each of the gaussian basis functions arecalculated using the pseudo-inverse (yielding the minimum least-squares solution). The resulting network is then used to approximate the function between the given "sample" points. -This program demonstrates some function a pproximation capabilities of a Radial Basis Fu nction Network. The user supplies a set of train ing points which represent some "sample" point s for some arbitrary curve. Next, the user specifies the number of equally spaced Response centers and the variance for the netwo rk. Using the training samples, the weights multiplying each of the Gaussian ba sis functions arecalculated using the pseudo- inverse (yielding the minimum least-squares s middleware). The resulting network is then used to approximate the function between the given "sa mple "points.
Platform: |
Size: 18432 |
Author: 陈伟 |
Hits:
Description: A*算法是一个求最短路径的函数,为许多即时战略游戏所用刀(或许人家大型的即时战略游戏笔者算法更好,不管它)。它由两个函数组成,一个是评估函数,也就是确定人物移动的下一个位置必须离目标位置最近,评估函数评估的结果越精确,则寻径的速度越快;另一个就是寻径函数,也就根据评估的结果做出响应,然后从新位置继续评估下一个位置,若无路可走(四周都是障碍什么的),那么折回一个路径节点,尝试其他方向,这个算法有个缺点,随着游戏中人物增多,相应的处理节点就增多了,会影响处理速度,而且占用大量的内存。
有兴趣的朋友可以改成动态的寻径,就是当入口和出口位置都在变化的时候进行寻径,这个代码也只有200多行。
我的算法还不能算是最优的,因为评估函数只不过是简单的测试两点距离(这会带来误差),选择离出口最短的且非障碍物的方向,进行下一个路径节点的移动。-A* algorithm is a shortest path function, To many time strategy games as a knife (and perhaps others of immediate large-scale strategy game better writer algorithm, regardless of it). It consists of two components function, a function is to assess, is to determine the movement of people under one location to be away from the target location recently to assess the function of the assessment results more precise, Routing is the faster; Another is the routing function, also based on the results of the assessment to respond, then the new location to continue to assess a position where, if there is no way out (what are surrounded by the barrier), then retrace a path nodes, try other directions, this algorithm has a shortcoming, as the game figures increased, corresponding to the processing nod
Platform: |
Size: 3072 |
Author: yzmars |
Hits:
Description: VBA,包含大量实用函数,针对Excel开发的VBA函数-VBA, contains a large number of practical functions, the development of VBA for Excel function
Platform: |
Size: 7168 |
Author: 李量 |
Hits:
Description: 在线传文件,自己做了大量的修改工作,功能很多.-Chuan online documents, their own make a lot of modification work, function a lot.
Platform: |
Size: 416768 |
Author: |
Hits:
Description: 在uvision2开发平台下用C51语言开发,通过IIC接口读出带有自诊断功能的光收发模块的工作参数,并通过串口送至PC实时监测-In uVision2 development platform using C51 language development, through the IIC interface to read out a self-diagnosis function of optical transceiver modules operating parameters and, through the serial port to the PC real-time monitoring
Platform: |
Size: 53248 |
Author: jyduan |
Hits:
Description: a screen handling program to provide a flashing message.
You will have to design a screen layout for where messages
are placed on the screen. You will also have to consider
when to delay the program in order to give the user time
to read the messages. That is, the program will use the
curses library, signals and the sleep function. -a screen handling program to provide a flashing message. You will have to design a screen layout for where messages are placed on the screen. You will also have to consider when to delay the program in order to give the user time to read the messages. That is, the program will use the curses library, signals and the sleep function.
Platform: |
Size: 7168 |
Author: |
Hits:
Description: 这是matlab中的一些有用并且常见的原代码,希望有用。-This is a matlab some useful and common source code, I hope useful.
Platform: |
Size: 60416 |
Author: 潘宏 |
Hits:
Description: We present the technique of the ICA with Reference (ICA-R) to extract an interesting subset of independent sources from their linear
mixtures when some a priori information of the sources are available in the form of rough templates (references). The constrained
independent component analysis (cICA) is extended to incorporate the reference signals that carry some information of the sources as
additional constraints into the ICA contrast function. A neural algorithm is then proposed using a Newton-like approach to obtain an
optimal solution to the constrained optimization problem. Stability of the convergence and selection of parameters in the learning
algorithm are analyzed. Experiments with synthetic signals and real fMRI data demonstrate the efficacy and accuracy of the proposed
algorithm.
Platform: |
Size: 390144 |
Author: ma ming |
Hits:
Description: Asp函数大全
1,日期/时间函数
2,字符串处理函数
3,类型转换函数
4,运算函数
5,其他函数-Asp function Guinness 1, date/time function 2, string handling function 3, the type of transfer function 4, 5 computing function, other function
Platform: |
Size: 10240 |
Author: 刘伟 |
Hits:
Description: Frotran函数大全,很好的一本电子书,可直接搜索查询!-Guinness Frotran function, a good e-books, direct the search query!
Platform: |
Size: 625664 |
Author: qinli |
Hits:
Description: ASP函数大全
asp中常用的重要函数大全
WEB开发爱好者的最爱-ASP function asp Guinness important function commonly used in Guinness
Platform: |
Size: 7168 |
Author: wf99x |
Hits:
Description: 本程序用C语言实现了读一个.txt文档中一行数据的功能。希望对大家有用。有不对的地方请指正。-This procedure using C language to implement reading a. Txt document in the line of data. Want to be useful to everyone. Where there is something wrong please correct me.
Platform: |
Size: 3072 |
Author: 张得利 |
Hits:
Description: S函数的编写,对于一个学控制的同学和MATLAB的同学很有用的-The preparation of S-function, a learning control for students and the students very useful MATLAB
Platform: |
Size: 940032 |
Author: 张涛 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»