CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Java Node
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Compress-Decompress algrithms
STL
Data structs
Algorithm
AI-NN-PR
matlab
Bio-Recognize
Crypt_Decrypt algrithms
mathematica
Maple
DataMining
Big Data
comsol
physical calculation
chemical calculation
simulation modeling
Search - Java Node - List
[
AI-NN-PR
]
AIbashumaJava1
DL : 0
我们解决八数码问题,广度优先搜索可能会导致内存不够用,采用启发式搜索,启发函数为f(x)=g(x)+h(x) g(x)为该结点不同于目标结点的个数,h(x)为该结点的深度,选择那f(x)结点最小的那个结点进行扩展, 引入了一个"扩展数组[4]"(因为扩展的结点最多只有4个),该数组保存着某个结点的0点向各个方向的扩展的结点对象,然后对该扩展数组进行分析,利用启发函数在进行递归扩展... -us solve eight digital, BFS may lead to insufficient memory, using heuristic search, heuristic function f (x) = g (x) h (x) g (x) for the target node is different from the number of nodes, h (x) for the nodes of depth, the choice between f (x) nodes that the smallest node expansion. the introduction of an "expanded array [4]" (because the expansion of the nodes at most four), The array maintains a node of 0:00 a.m. to expand in all directions in the target node, and then expanded array analysis, use heuristic function during recursive expansion ...
Date
: 2025-12-16
Size
: 10kb
User
:
丁如敏
[
AI-NN-PR
]
dijkstra-java
DL : 0
Dijkstra算法是典型的最短路算法,用于计算一个节点到其他所有节点的最短路径。主要特点是以起始点为中心向外层层扩展,直到扩展到终点为止。 Dijkstra算法能得出最短路径的最优解,但由于它遍历计算的节点很多,所以效率低。Dijkstra算法是一种逐步搜索算法,通过为每个顶点n保留目前为止所找到的从m到n的最短路径来工作的。 -Dijkstra algorithm is a typical example of the most short-circuit algorithm, used to calculate a node to all other nodes of the shortest path. The main characteristics is the starting point as the center outward expansion layers, until the date extended to the end. Dijkstra shortest path algorithm can arrive at the optimal solution, but because it traverse a lot of computing nodes, so inefficient. Dijkstra algorithm is a step by step search algorithm for each vertex n reservations so far found from the m to n shortest path to work.
Date
: 2025-12-16
Size
: 1kb
User
:
kivilin
[
AI-NN-PR
]
AI
DL : 0
对于拼图问题的基于java的A*算法实现。状态空间图中的节点用一个Node对象表示,图中出现的节点(包括已扩展的和未扩展的)存放在一个list(ArrayList的一个对象)中,A*算法运行完毕后,最优路径上的节点存放在pathArray(ArrayList的一个对象)中。程序维护两个变量head和tail,在list中两者之间的节点表示open表中的未扩展节点,list中head之前的属于closed表中的已扩展节点。-Puzzle java-based A* algorithm. State space graph node with a Node object, figure nodes (including extended and non-extended) stored in a List (ArrayList to an object), the A* algorithm has finished running, the optimal path node storage in pathArray (ArrayList to an object). The program maintains the head and tail of two variables between the two nodes represent unexpanded node in the open table list in the head before the closed table has been extended node in the list.
Date
: 2025-12-16
Size
: 165kb
User
:
xiezhiyu
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.