- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 利用osm数据计算道路曲率
这个是一个应用,找比较弯的道路,老外实现的,效果不错,真会玩;http://roadcurvature.com/how-to-use/colorized-curves/代码:https://github.com/adamfranco/curvature
2018-03-29 15:22:35 2592
转载 bgl boost用a*算最短路径
#include <iostream>#include <string>#include <utility>#include <boost/graph/adjacency_list.hpp>#include <boost/graph/astar_search.hpp> using Graph = boost::adjacenc...
2018-03-22 17:34:27 1047
原创 c++ 操作postgres,用pqxx
一个例子:https://github.com/Pr0Wolf29/libpqxx-example/blob/master/pqxx_example.cpp安装pqxx:wget http://pqxx.org/download/software/libpqxx/libpqxx-4.0.tar.gztar xvfz libpqxx-4.0.tar.gzcd libpqxx-4.0./conf...
2018-03-06 15:03:38 1772
原创 boost graph lib 下建图,并绑定属性,然后查找最短路径
#include <iostream>#include <vector>#include <boost/config.hpp>#include <boost/graph/graph_traits.hpp>#include <boost/graph/adjacency_list.hpp>#include <boost/graph/di...
2018-03-02 11:11:32 1103
转载 git切换到远程仓库 到远程分支
https://www.w3ctech.com/topic/58远程仓库 git clone 下来,当你执行 git branch,你只会看到* master并不会看到其他分支,即便远程仓库上有其他分支,使用git branch -va可以查看本地+远程分支列表* master 0840594 merge master and 1.0.0remotes/origin...
2018-03-01 09:37:43 295
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人