05 2017 档案

摘要:set用于创建集合 字符集合:set('abc') 数值集合:set([1,2,3]) 增加元素:a.add('x') 增加多项:a.add([x,y,z]) 注意:比较a.add('xyz') 与 a.update('xyz') a.issubset(b) a<=b a.issuperset(b) 阅读全文
posted @ 2017-05-19 17:09 mactep 阅读(331) 评论(0) 推荐(0) 编辑
摘要:set用于创建集合 字符集合:set('abc') 数值集合:set([1,2,3]) 增加元素:a.add('x') 增加多项:a.add([x,y,z]) 注意:比较a.add('xyz') 与 a.update('xyz') a.issubset(b) a<=b a.issuperset(b) 阅读全文
posted @ 2017-05-19 17:08 mactep 阅读(299) 评论(0) 推荐(0) 编辑
摘要:def MaxCrossSubarray(num,mid,low,high): leftsum=0 leftmax=-1000000 rightsum=0 rightmax=-1000000 for i in range(mid,low-1,-1): leftsum=leftsum+num[i] if leftsum... 阅读全文
posted @ 2017-05-18 12:28 mactep 阅读(235) 评论(0) 推荐(0) 编辑
摘要:LiDar: a giant laser ranging device sending out millions of pulses per second. You can get the distance or the range to the target from LiDar. GPS(Glo 阅读全文
posted @ 2017-05-16 18:04 mactep 阅读(138) 评论(0) 推荐(0) 编辑
摘要:Map is a spatial model of a robot's environment Mapping is a process for building a map Consideration for mapping map representation available sensors 阅读全文
posted @ 2017-05-16 17:31 mactep 阅读(311) 评论(0) 推荐(0) 编辑
摘要:^ 按位异或 异或(Xor):同0异1 阅读全文
posted @ 2017-05-10 18:51 mactep 阅读(121) 评论(0) 推荐(0) 编辑