-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加 1.算法分析与设计实验 2.计算机图形学实验 3.微机接口实验 4.计算机网络实验 5.计算机图形学
- Loading branch information
Showing
30 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
## 参考: <a href=https://github.com/Ni-Sun/SWJTU-Digital-Electronics>Ni-Sun/SWJTU-Digital-Electronics </a> | ||
|
||
|
||
|
||
## 西南交通大学数电B课设 | ||
|
||
## 设计题目: 出租车计价器 | ||
|
||
![课程设计9图片](image/README/1735829345997.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
## **可以参考:**<a href=https://github.com/Ni-Sun/SWJTU-Algorithm-experiment>Ni-Sun/SWJTU-Algorithm-experiment</a> | ||
|
||
|
||
|
||
> # 所有实验均为《算法分析与设计实验教程》(作者:黄海于 杜圣东 喻琇瑛)中的老师要求做的实验 | ||
## **所有代码仅供学习参考** | ||
|
||
以下是《算法分析与设计实验教程》的目录 | ||
|
||
> ## 实验 1 算法描述及程序实现方法 | ||
> | ||
> ### 1.1 算法描述方法 | ||
> | ||
> ### 1.2 算法执行过程分析 | ||
> | ||
> ### 1.3 算法的程序实现 | ||
> ## 实验 2 算法效率分析与比较 | ||
> | ||
> ### 2.1 数据输入规模对算法执行时间的影响 | ||
> | ||
> ### 2.2 算法对时间复杂度的影响 | ||
> | ||
> ### 2.3 算法时间效率分析 | ||
> ## 实验 3 穷举法设计与实验 | ||
> | ||
> ### 3.1 穷举法的求解过程 | ||
> | ||
> ### 3.2 穷举法时间复杂度分析 | ||
> | ||
> ### 3.3 穷举法的应用 | ||
> ## 实验 4 分治法设计与实验 | ||
> | ||
> ### 4.1 分治算法的求解过程 | ||
> | ||
> ### 4.2 分治算法设计实例及时间复杂度分析 | ||
> | ||
> ### 4.3 分治算法在实际问题中的应用 | ||
> ## 实验 5 动态规划算法设计与实验 | ||
> | ||
> ### 5.1 动态规划算法的求解过程 | ||
> | ||
> ### 5.2 动态规划算法时间复杂度分析比较 | ||
> | ||
> ### 5.3 动态规划算法在实际中的应用 | ||
> ## 实验 6 贪心算法设计与实验 | ||
> | ||
> ### 6.1 贪心算法的求解过程 | ||
> | ||
> ### 6.2 贪心算法设计实例分析 | ||
> | ||
> ### 6.3 贪心算法在实际问题中的应用 | ||
> ## 实验 7 回溯法设计与实验 | ||
> | ||
> ### 7.1 回溯法求解过程分析 | ||
> | ||
> ### 7.2 回溯法时间复杂度分析比较 | ||
> | ||
> ### 7.3 回溯法在实际中的应用 | ||
> ## 实验 8 分支限界法设计与实验 | ||
> | ||
> ### 8.1 分支限界法求解过程分析 | ||
> | ||
> ### 8.2 分支限界法时间复杂度分析比较 | ||
> | ||
> ### 8.3 分支限界法的应用 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 西南交通大学 计算机图形学理论课 期末复习笔记 | ||
## **笔记来自:<a href=https://github.com/CanoSsa7/-SWJTU-Computer-Graphics-NOTE>SWJTU-Computer-Graphics-NOTE</a>** | ||
|
||
2023秋季学期 <br> | ||
从PPT、教材、网课和博客取材,整理了大部分知识点,会有遗漏和差错,还请提出指正<br> | ||
建议**阅读PDF**或使用[Typora](https://typora.io/)浏览可编辑的**markdown**文档<br> | ||
我使用的Typora[主题](https://github.com/YiNNx/typora-theme-lapis/tree/v1.1.2)<br> | ||
|
||
> 若使用Typora,请下载asset文件夹并将文件夹与md文件放于同一路径<br> | ||
> 为保证正确渲染,请在`偏好设置`->`Markdown`中勾选以下设置 | ||
> ![image](https://github.com/CanoSsa7/-SWJTU-Computer-Graphics-NOTE/assets/91023351/d57a6909-d881-4881-ab52-787cd2c1f167) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
## **参考 <a href=https://github.com/Ni-Sun/SWJTU-computer-graphics>Ni-Sun:SWJTU-computer-graphics</a>** | ||
|
||
### **实验要求** | ||
|
||
<img src="image/img1.png" alt="实验1" width="700" height="800"> | ||
|
||
<img src="image/img2.png" alt="实验2" width="700" height="800"> | ||
|
||
<img src="image/img3.png" alt="实验3" width="700" height="800"> | ||
|
||
<img src="image/img4.png" alt="实验4" width="700" height="800"> | ||
|
||
<img src="image/img5.png" alt="实验5" width="700" height="800"> | ||
|
||
|
||
|
||
<br> | ||
|
||
## **注意事项** | ||
|
||
实验1使用Visual Studio 2022编写 | ||
|
||
实验2,3,4使用Visual Studio Code编写 | ||
|
||
没有写实验5 | ||
|
||
所有实验都是采用的C++ Win32库, 实验4还使用了Eigen库 | ||
|
||
实验一全部实现, 实验2有部分功能未实现, 实验3功能都已实现(除了实验2没做的), 实验4有部分功能未实现(不过报告是水完了) | ||
|
||
如果你愿意的话可以在此基础上继续写. | ||
|
||
<br> | ||
|
||
|
||
|
||
## **编译&运行** | ||
|
||
由于使用的是vscode + mingw, 所以运行也需要有对应的编译器 | ||
|
||
如果你的**gcc编译器版本在11及以上**,那么可以**直接运行**main.exe(注意要**全屏**使用) | ||
|
||
如果是**低版本**或者是**没有**的话就会报错: | ||
|
||
``` | ||
main.exe-系统错误 | ||
由于找不到libgcc_s_seh-1.dll,无法继续执行代码。重新安装程序可能 | ||
会解决此问题。 | ||
``` | ||
|
||
|
||
|
||
所以就得**下载更高版本**的mingw(11版本及以上, 记得要将mingw64/bin目录下的mingw32-make.exe重命名为make.exe), 安装方法请自行查询, 这里不多赘述 | ||
|
||
<br> | ||
|
||
|
||
|
||
文件夹里有makefile, 故可用以下命令编译(得有mingw): | ||
|
||
```cmd | ||
make | ||
``` | ||
|
||
|
||
|
||
|
||
若上述步骤均无误,但是报错: | ||
|
||
``` | ||
无法将“make”项识别为 cmdlet、函数、脚本文件或可运行程序的名称 | ||
``` | ||
|
||
可以试试 | ||
|
||
```cmd | ||
rm *.o // 或者del *.o | ||
make | ||
``` | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.