1. socket通信:有客户端和服务端的socket代码。 2. 多线程:客户端和服务端各用一线程发送信息;服务端另有一监听线程,用于把超时的信息删除。 这里应用到了同步,使两个线程可以操作同一个Map。
上传时间: 2017-02-27
上传用户:lanwei
srand[getpid[]] /* initialize some of the memory */ memset[heightMap, 0, MapSIZE*MapSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MapSIZE, MapSIZE] heightMap[0] = [rand[] 128] + 64 // initialize starting point on Map CreateFractalMap[0, 0, MapSIZE, MapSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
标签: MapSIZE initialize heightMap getpid
上传时间: 2014-01-04
上传用户:ainimao
srand[getpid[]] /* initialize some of the memory */ memset[heightMap, 0, MapSIZE*MapSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MapSIZE, MapSIZE] heightMap[0] = [rand[] 128] + 64 // initialize starting point on Map CreateFractalMap[0, 0, MapSIZE, MapSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
标签: MapSIZE initialize heightMap getpid
上传时间: 2013-12-25
上传用户:CSUSheep
电话号码管理系统,很小的程序,是学习stl,自己编的,用Map实现,还有文档说明
上传时间: 2017-04-02
上传用户:181992417
-The existence of numerous imaging modalities makes it possible to present different data present in different modalities together thus forming multimodal images. Component images forming multimodal images should be aligned, or registered so that all the data, coming from the different modalities, are displayed in proper locations. Mutual Information is the similarity measure used in this case for optimizing the two images. This method requires estimating joint histogram of the two images. The fusion of images is the process of combining two or more images into a single image retaining important features from each. The Discrete Wavelet Transform (DWT) has become an attractive tool for fusing multimodal images. In this work it has been used to segment the features of the input images to produce a region Map. Features of each region are calculated and a region based approach is used to fuse the images in the wavelet domain.
标签: present modalities existence different
上传时间: 2014-03-04
上传用户:15736969615
MATLAB implementation of time series prediction Based on the VQTAM method described in the following papers: G. A. Barreto & A. F. R. Araujo (2004) "Identification and Control of Dynamical Systems Using the Self-Organizing Map" IEEE Transactions on Neural Networks, vol. 15, no. 5.
标签: implementation prediction described following
上传时间: 2013-12-22
上传用户:windwolf2000
生成一个好的Turbo码,并且用Map方法进行解码
标签: Turbo
上传时间: 2013-12-21
上传用户:cuibaigao
Hadoop是一个用于运行应用程序在大型集群的廉价硬件设备上的框架。Hadoop为应用程序透明的提供了一组稳定/可靠的接口和数据运动。在 Hadoop中实现了Google的MapReduce算法,它能够把应用程序分割成许多很小的工作单元,每个单元可以在任何集群节点上执行或重复执行。此外,Hadoop还提供一个分布式文件系统用来在各个计算节点上存储数据,并提供了对数据读写的高吞吐率。由于应用了Map/reduce和分布式文件系统使得Hadoop框架具有高容错性,它会自动处理失败节点。已经在具有600个节点的集群测试过Hadoop框架。
标签: Hadoop MapReduce Google 应用程序
上传时间: 2017-05-08
上传用户:wpwpwlxwlx
Learn how to: * Tokenize a null-terminated string * Create a search and replace function for strings * Implement subtraction for string objects * Use the vector, deque, and list sequence containers * Use the container adaptors stack, queue, and priority_queue * Use the Map, multiMap, set, and multiset associative containers * Reverse, rotate, and shuffle a sequence * Create a function object * Use binders, negators, and iterator adapters * Read and write files * Use stream iterators to handle file I/O * Use exceptions to handle I/O errors * Create custom inserters and extractors * Format date, time, and numeric data * Use facets and the localization library * Overload the [ ], ( ), and -> operators * Create an explicit constructor * And much, much more
标签: null-terminated Tokenize Create string
上传时间: 2014-01-18
上传用户:yph853211
tuobo码的编码,以及tuobo码的译码算法,其中包括log-Map算法和sova算法
上传时间: 2017-08-05
上传用户:zhoujunzhen