搜索资源列表
wugui
- 三维无规行走,能走得个方向概率相同 回避所有经过的路线-three-dimensional random walk, can go the same direction to avoid all probability after the line
SAWEnum
- 一个高效的自回避行走路径枚举程序。运用了多线程分配分支任务,可以port到多核cpu上加速运算。
randomwalk
- 正弦型外力的一维随机行走程序,采用16807随机数产生器。-random walk program for sin outer forces
15Mysteries
- 15谜问题,用C语言开发的一个小程序,可以自动判断由出事状态是否能够到达最终状态,如果能的话将给出具体的行走路径。-15 Mysteries of the problem, using C language to develop a small program, you can automatically determine whether a state from the accident to reach the final state, if so will give concrete w
lvxingshangwenti
- 设有n+1个城市,分别用0,1,...,n表示。从从城市i到城市j的距离为d[i][j]。一个 推销员要从城市0出发,到达其他任意一城市一次且仅一次,然后再回到城市0。问题是 他如何选择行走路线,使总路程最短-With n+1 cities, respectively 0,1 ,..., n, said. From from city i to city j, the distance d [i] [j]. A salesman from the city 0 departure, ar
yuhangyuan
- poj1836题 一个简单模拟的算法,宇航员在空间中行走的转向问题-poj1836 a simple simulation algorithm problem, the astronauts walk in space, the steering problem
sales_man
- 推销员问题:穷举出推销员可能行走的每条路径,计算花费,从中选出最小的那条路径,有很详细的注释,是我们算法课的作业。-Salesman problem: a salesman may exhaustive walk each path, calculate the cost, choose the smallest piece of the path, there are very detailed notes, our algorithm homework assignment.
laoshumigong
- 老鼠走迷宫是递回求解的基本题型,我们在二维阵列中使用2表示迷宫墙壁,使用1来表示老鼠的行走路径,试以程式求出由入口至出口的路径。-The Mouse Maze recursive solving basic questions, we used in the two-dimensional array 2 represents a labyrinth walls, 1 indicates the traveling path of the mice, try to program a path
transporting
- 小明的飞机快要赶不上了! 幸好大厅的路上有一些传送带。每个传送带都有一定的速度,传送带之间没有重叠。 小明自己行走的速度为w,如果传送带的速度为v的话,在传送带上走的速度就是w+v。 但是小明还是很着急,所以他决定跑一段时间t。他跑的速度是r,那么如果传送带的速度为v的话,在传送带上跑的速度就是r+v。 对于时间t,他不一定要连续跑,可以走走再跑。也不一定非要跑够t。 问小明至少需要多少时间才能到达终点。 输入第一行为用例数T,1<=T<=40。 每
the-horse-working-in-the-chass
- 实现马踏棋盘的功能。 输入:马的初始位置。 输出:马踏棋盘的路径。利用贪心算法+回朔算法实现!可以产生全部可能的路径!而且可以可视化的输出动态行走路径!-implementation of the horse working in the chess.
Monte-Carlo-simulation-method
- 蒙特卡洛方法模拟正弦力场下的随机行走,内涵16807产生器程序,误差函数计算程序,模拟的结果与理论计算符合的很好。-Monte Carlo simulation of random walk under sinusoidal force field, connotation 16807 program generated error function calculation program, the simulation results in good agreement with theore
TAstronaut
- 现对六个方向分别标号,x,y,z正方向分别为0,1,2,负方向分别为3,4,5;称它们为绝对方向。宇航员在宇宙中只沿着与绝对坐标系xyz轴平行的方向行走,但是他不知道自己当前绝对坐标和自己面向的绝对方向。 任务描述: 请根据宇航员对自己在相对方向上移动的描述确定宇航员最终的绝对坐标和面向的绝对方向。对在相对方向上移动的描述及意义如下: forward x 向前走x米。 back x 先转向后,再走x米。 left x 先转向左,再走x米。 right x 先转
Random-walk
- 正弦外力场下粒子的随机行走。本程序含有一维和二维正弦外力场下的随机行走情况,程序生成粒子的轨迹-Random walk of particles under sinusoidal external force field. This program contains one and two dimensional sinusoidal force field under the random walk, the program generates the trajectory of partic