# noiTools **Repository Path**: Rainboy/noi-tools ## Basic Information - **Project Name**: noiTools - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-22 - **Last Updated**: 2021-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 目的 受[xtaci/algorithms: Algorithms & Data structures in C++.](https://github.com/xtaci/algorithms) 启发,把写题目用到的算法与数据结构写出来,用于: 1. 快速写题目。 2. 个人算法总结 3. 算法学习 ## 约定 ( Convention ): 1. 一个算法用一个`.hpp`文件表示放到include下. ( one .header file per algorithm. ) 2. 算法演示的demo程序放到src下. ( one demo per algorithm. ) 3. TAB = 4 space. set ts=4 in vim 4. Graph的输出格式为 [Graphviz](http://www.graphviz.org/) Dot格式. (the output format of the graph is in dot of graphviz.) 5. 易用 easy to use 6. 代码即文档: 只需要看代码(或代码注释)就可以学会如何使用 7. 头文件提供源码:只用包含头文件即可使用 ## 安装与更新 ```bash # 下载本仓库到 g++ clone https://github.com/RainboyNoip/algorithms ~/.algorithms vim ~/.zshrc # 这个由你使用的终端来决定 # 手动添加如下 # 修改默认g++ 查询include的路径 export CPLUS_INCLUDE_PATH=$HOME/.algorithms:$CPLUS_INCLUDE_PATH ## 为了使用algorithms 下的工具 export PATH=$PATH:$HOME/.algorithms/bin ``` 其它 ```bash # 安装graphviz sudo apt install graphviz ``` bin目录下的工具有 TODO ```plaintext bin ├── b 编译当前目录下字典序最小的cpp文件,并自动` < in`,具体查看`b --help` ├── dot2png.py ├── dp.py ├── in2dot ├── lsoitools ├── oi-show.py ├── randint.py └── r_test.js ```