1.自己定义顶点类、边类或者用已经有的。1.1定义顶点例子class CurveFittingVertex: public g2o::BaseVertex<3, Eigen::Vector3d>{public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW virtual void ...
分类:
其他好文 时间:
2017-08-17 21:25:31
阅读次数:
351
from collections import defaultdict import json def tree(): return defaultdict(tree) categories = tree() a = categories['Programming Languages']['Pyth... ...
分类:
编程语言 时间:
2017-08-17 20:00:43
阅读次数:
175
/** 同时识别多个手势 @param gestureRecognizer gestureRecognizer description @param otherGestureRecognizer otherGestureRecognizer description @return return va ...
分类:
其他好文 时间:
2017-08-17 18:33:18
阅读次数:
133
function isIE() { //ie? if (!!window.ActiveXObject || "ActiveXObject" in window) { alert("is ie"); return true; } else { alert("not ie"); return false ...
分类:
其他好文 时间:
2017-08-17 17:21:58
阅读次数:
186
1009: [HNOI2008]GT考试 Description 阿申准备报名参加GT考试,准考证号为N位数X1X2....Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2...Am(0<=Ai<=9)有M位,不出现是指X1X2...Xn中没有恰好一段等于A1A2 ...
分类:
其他好文 时间:
2017-08-17 15:17:28
阅读次数:
131
KEY_Scan 函数,则是用来扫描这 4 个 IO 口是否有按键按下。 KEY_Scan 函数, 支持两种扫描方式,通过 mode 参数来设置。 当 mode 为 0 的时候, KEY_Scan 函数将不支持连续按, 扫描某个按键,该按键按下之后必须要松开,才能第二次触发,否则不会再响应这个按键, ...
分类:
其他好文 时间:
2017-08-17 15:15:41
阅读次数:
305
冒泡排序( Bubble Sort ) 比较相邻的两个数,如果错误则进行交换,重复访问整个排序的数列 #include <stdio.h> #define KSIZE 8 static int count; // 冒泡排序 void bubble_sort(int a[],int n); int m ...
分类:
编程语言 时间:
2017-08-17 14:43:27
阅读次数:
156
///@link http://acm.hdu.edu.cn/showproblem.php?pid=2057///@author Sycamore///@date Aug 17#includeusing namespace std;int main(){ ios::sync_with_stdio(... ...
分类:
其他好文 时间:
2017-08-17 13:06:48
阅读次数:
205
function array2object($array) { if (is_array($array)) { $obj = new StdClass(); foreach ($array as $key => $val){ $obj->$key = $val; } } else { $obj = ... ...
分类:
编程语言 时间:
2017-08-17 13:00:59
阅读次数:
131
我是在vue做的数据 actions mutations state index页面获取值 传递给子页面 子页面的操作 <template> <div class='cascade__container'> <div class='left__container'> <div class='sele ...
分类:
其他好文 时间:
2017-08-17 12:36:55
阅读次数:
1161