-
dxf 读取
应用背景Build Instructions:
Make sure you have autoconf, swig, texinfo, python-dev, build-essential packages
or equivalent installed via your package manager.
cd libredwg
./autogen.sh && ./configure && make && sudo make install
cd ../dxflib
./configure && make && sudo make install
cd ..
Once the above dependencies have been built, edit /usr/local/include/dwg.h,
and rename the THICKNESS constant (or add _ to end). It conflicts with another
constant included in the converter, but is not used itself. After that, just
run "make".
That"s it!
关键技术GNU LibreDWG 是一个免费开源的 C 库用来处理 DWG 文件,这
- 2022-12-18 16:30:03下载
- 积分:1
-
德州扑克牌值计算
POKER 计算值 斗地主 扎金花都离不开它
This article for the budding poker AI programmer provides a foundation for a simple implementation of No-Limit Texas Holdem Poker AI, covering the basics of hand strength evaluation and betting. By following the recipe set out here, you will quickly become able to implement a reasonably strong poker AI, and have a solid foundation on which to build. I assume you are familiar with the basic terminology of poker.
- 2022-08-15 11:28:52下载
- 积分:1
-
找钱张数最少
二、问题
现只有面额为 11元、5元、1元的三种人民币。
给定一个 数目为 money 的人民币,如何用这三种面额的人民币 找开它,且用的人民币张数最少
如:给定 10元,我们可以有以下找法:
2张 5元面额
1张 5元面额 + 5 张 1元面额
10张 1元面额
我们 选择第一种找法。只用两张人民币。
三、分析
利用动态规划法可以找到最优解。
利用贪心算法可以找到最优解(问题满足贪心选择性质时。该找钱问题在 11、5、1三种面额的情况下不满足该性质)
或者找到近似 最优解(在本题设定的三种面额的情况下 便是如此)
如果现在要找开 15元钱,则
- 2022-03-06 11:17:09下载
- 积分:1
-
基于C++的粒子滤波源程序
使用C++编写的粒子滤波程序源码,可以作为学习粒子滤波的资料。相比matlab编程,C++程序具有执行效率高,速度快等优点,希望大家对程序中的不足加以评价和改正
- 2022-05-09 02:38:14下载
- 积分:1
-
快速傅立叶算法,按时间和按频率抽取的基2算法
快速傅立叶算法,按时间和按频率抽取的基2算法-Fast Fourier algorithm, time and frequency taken by the base 2 Algorithm
- 2022-08-22 10:21:33下载
- 积分:1
-
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序...
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序-document 1.txt, 2.txt, 3.txt and 5.txt Fortran prepared for the use of the finite element program 4.txt to use C++ to prepare the R.C.special-the whole process of nonlinear analysis source
- 2022-08-18 18:12:35下载
- 积分:1
-
维特比算法的通俗理解
资源描述维特比算法的通俗理解就是动态规划的最短路径,在这里不再赘述,如果真的想仔细研究的话请参见《数学之美》
- 2023-02-04 23:20:03下载
- 积分:1
-
无线传感器网络分簇路由
基于无线传感器网络分簇路由算法LEACH的一些改进代码,相比LEACH算法而言,新算法在延长网络的生命周期,减少网络节点能耗问题上都有一定的改善,比较适合初学者学习。
- 2022-03-14 15:35:07下载
- 积分:1
-
%99年中国大学生数学建模竞赛a题:自动化车床问
%99年中国大学生数学建模竞赛a题:自动化车床问-99% of university students in China Mathematical Contest in Modeling a title : automation asked Lathe
- 2022-06-16 09:29:05下载
- 积分:1
-
归并排序算法的C++
该代码读取输入文本文件并将其排序,然后将这些数字排序为输出文本文件。代码使用合并排序算法进行排序。
- 2022-08-13 23:57:35下载
- 积分:1