Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - PRIM c
Search - PRIM c - List
求素数的源代码,用c语言写的,代码中算法要求较高-how to find the prim number
Date : 2026-01-12 Size : 1kb User : 殷勇

prim s algorithm implementation in C++ with graphical output
Date : 2026-01-12 Size : 2kb User : diksha

使用克鲁斯卡尔算法和普里姆算法,使用图形化函数graph.h画出效果图,音频背景部分需自行添加,采用按键监听,直接使用键盘对应按键选择操作(Using the Kruskal algorithm and prim algorithm, using graphical graph.h function to draw renderings, the need to add the background audio part, adopts the key to monitor, directly using the keyboard button to select the corresponding operation)
Date : 2026-01-12 Size : 36.92mb User : ~追梦~

本源码通过C# GDI+ 编写。提供三种生成迷宫的算法(深度优先法,递归分割法,随机PRIM法),提供基于广度优先算法的迷宫自动寻径算法。迷宫大小、单元格大小、线粗均可自定义。优化了算法,递归改为栈实现,能够生成任意大地图而不会引起原来的函数递归栈溢出问题。生成迷宫后,支持键盘按键进行手动走迷宫。(The source code is written by C# GDI+. Three algorithms of maze generation (depth first, recursion segmentation, random PRIM) are provided to provide a maze routing algorithm based on the breadth first algorithm. Maze size, cell size, line thickness can be customized. The algorithm is optimized and recursive to stack implementation. It can generate any large map without causing the recursive stack overflow problem of the original function. After creating the maze, support the keyboard button to manually walk the maze.)
Date : 2026-01-12 Size : 86kb User : sp_jiangjunling
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.