|
自己做导航仪
有两种模式,一是完全嵌入式,地图和软件都嵌到手机里,离线导航。另一种是中心服务模式,要计算路径时向服务端发请求,然后服务端返回计算结果。 地图分底图和导航图,底图用来显示,就是些地物、商店之类的。导航图用来计算最短路径,都是有良好拓扑关系的节点、连线图。 最短路径可以用迪结斯特拉或者A*算法,迪算法需要遍历整张地图,如果是全国跨省路径,就比较麻烦,需要把导航图分层处理。个人推荐宽幅A*算法,就是A*算法的改进版,好处是可以随需载入,算到哪里就载入哪一块数据。 算完路径还不够,导航地图把一条双向路画成了两条线,这样双向路和双向路的交叉口就有4个节点,其他路类推,所以还得整理和描述,搞清楚应该怎么提示和导航。 大致就这些。 我曾经设计过一个思路,就是把节点看成路段,把路段看成节点,这样在算法处理上能够简化不少。 附一份A*的代码参考给你:http://www.oschina.net/code/snippet_124158_21886 |
|
|
|
|
|
[结帖]求助手机定位(请管理员结帖吧)
建议联系媒体 |
|
[原创]关于TB级网盘的思考
所谓“云计算”,就是把与你相关的一切信息都存储在“云”上。 这个“云”,不是天上飘来的朵朵白云,而是有心人故意制造和营销的所谓“免费云”。 当你的一切都在“云”上时,你的一切也握在了他人的手中。 |
|
[讨论]如何保证数据库安全
http://www.oschina.net/code/snippet_124158_22751 |
|
[原创]著名的反编译 ida Pro 6.4 Plus 最终版 来了
还是绿色版好啊,解压就能直接用。 |
|
开虚拟机和显卡性能有无太大关系?
VirtualBox也不错的。 |
|
[讨论]手机短信验证码这个路子有没有破的可能?
现在都是智能手机,你诱导用户去装个后门,就把短信转发给你了。 |
|
[讨论]未来手机的发展趋势是什么呢?
未来的趋势是手表和眼镜,所以Android更有前途。 |
|
[招聘]手机逆向工程师[北京]
高德还需要逆向别人的?帮你顶一下。 |
|
[转帖].NET Reflector v7.3.0.18
已经7.6了,没找到绿色版。 |
|
关于C语言的自增意料之外的结果
补充:VC6.0这种处理方法,应该是源于对运算符重载的编译需求。 C语言是不支持运算符重载的,而C++是支持的,因此 TC 2.0和 VC 6.0的编译方式不同,运算结果不同。 |
|
关于C语言的自增意料之外的结果
应该是运算符优先级的问题吧? (++i)+(++i) 是一个运算式,++的优先级高于+,因此算两次++后再算+, 这样就等同于((++i)+(++i))+(++i) = (7+7)+8 = 22。 至于javascript的21,它是解释性语言,一边读取一边计算,就是6+7+8=21. TC2.0应该是把算式当成一个整体来做运算,于是三个++ 运算符的优先级高于两个+运算符的优先级,就成了8+8+8=24。 |
|
[求助]想提取BT种子里面的文件列表,并保存成文本格式
看下BT软件源码不就得了,类似的开源代码很多。 |
|
[讨论][求助]学破解逆向以后能干什么?
爱好而以,不能当饭吃。 |
|
[调查]来看雪的大多数是技术精英,不知道大家一个月的收入是多少?
0~20K,有活儿的时候吃肉,没活儿的时候喝凉水。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值