文件名称:cimpressGridCoverage:可以用正方形覆盖随机网格的算法
文件大小:8KB
文件格式:ZIP
更新时间:2024-06-14 07:06:39
C++
介绍 2015年Cimpress技术挑战赛该模块将解析一个网格(拼图),试图找到优化的解决方案 要求 它需要以下模块: g ++ mpich2(mpic ++和mpirun), 可以使用以下命令在ubuntu上安装:sudo apt-get install libcr-dev mpich2 mpich2-doc 最佳化 * Linux(UBUNTU) *英特尔酷睿i5(2 + 2内核) 如何建立 只需键入make(包含makefile) 如何运行示例 成功完成构建后,只需键入10秒钟即可运行:./bin/resolve examples / example1.txt 10 200 例如,要使用多核功能,请输入:mpirun -np 4 ./bin/resolve examples / example1.txt 10 200 (200是每次迭代之间的邻居数,如果您有更多时间,请增加此值以
【文件预览】:
cimpressGridCoverage-master
----Makefile(683B)
----src()
--------squares.h(3KB)
--------main.cc(6KB)
--------squares.cc(11KB)
----LICENSE(1KB)
----examples()
--------example1.txt(2KB)
--------example2.txt(54B)
----README.md(3KB)