码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
Mahout 模糊kmeans
FCM 算法用一个Job寻找cluster的中心点。在map的初始化节点,加载初始化(或上一轮迭代的结果)中心点。在map中计算point 和每一个簇的亲和度。在combiner计算同一个cluster的参数,该过程只能计算同一cluster的局部信息。在reduce中首先计算同一个cluster的全局参数,然后计算该cluster是否收敛,输出cluster。...
分类:其他好文   时间:2014-05-26 04:12:39    阅读次数:302
HDU4033:Regular Polygon(二分+余弦定理)
Problem Description In a 2_D plane, there is a point strictly in a regular polygon with N sides. If you are given the distances between it and N vertexes of the regular polygon, can you calculate t...
分类:其他好文   时间:2014-05-26 03:50:40    阅读次数:252
C++ 操作符函数
Point.h /*  * Point.h  *  *  Created on: 2014年5月22日  *      Author: John  */ #include using namespace std; #ifndef POINT_H_ #define POINT_H_ class Point { private: int x; int y; ...
分类:编程语言   时间:2014-05-26 03:19:07    阅读次数:399
结构体与字符串之间的转换
UIKIT_EXTERN NSString *NSStringFromCGPoint(CGPoint point);UIKIT_EXTERN NSString *NSStringFromCGSize(CGSize size);UIKIT_EXTERN NSString *NSStringFromCG...
分类:其他好文   时间:2014-05-26 02:44:06    阅读次数:209
线段交点模版
http://acm.hdu.edu.cn/showproblem.php?pid=1086跨立实验算法#include#include#include#includeusing namespace std;struct Point{ double x,y;} ;struct Line{ ...
分类:其他好文   时间:2014-05-26 02:10:52    阅读次数:224
Java 并发专题 : CyclicBarrier 打造一个安全的门禁系统
继续并发专题~ 这次介绍CyclicBarrier:看一眼API的注释: /** * A synchronization aid that allows a set of threads to all wait for * each other to reach a common barrier point. CyclicBarriers are * useful in program...
分类:编程语言   时间:2014-05-25 18:15:06    阅读次数:316
如何调用另一个包中的Application
在项目中要集成Xabber,将它作为一个Lib, 。。。。。 Xabber 原有代码 /** * Base entry point. * * @author alexander.ivanov */ public class Application extends android.app.Applic...
分类:移动开发   时间:2014-05-25 13:54:13    阅读次数:257
ACdream1012:Convex
Problem Description We have a special convex that all points have the same distance to origin point. As you know we can get N segments after linking the origin point and the points on the convex. ...
分类:其他好文   时间:2014-05-25 09:50:19    阅读次数:217
acd Convex(求面积)
Problem Description We have a special convex that all points have the same distance to origin point. As you know we can get N segments after linking the origin point and the points on the convex. ...
分类:其他好文   时间:2014-05-25 06:55:54    阅读次数:188
代码不仅仅考虑性能
今天阅读opencv2.0手册的时候,看到一句话,很有感触:Unless you are targeting embedded platforms, there’s no point to using the old methods(unless you’re a masochist program...
分类:其他好文   时间:2014-05-24 09:51:04    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!