-
很好的多线程例子。这个例子实现了线程池和工作消费模式
很好的多线程例子。这个例子实现了线程池和工作消费模式-JobQ.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
JobQ.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CJobQApp application class.
JobQ.cpp
This is the main application source file that contains the application
class CJobQApp.
JobQ.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
JobQ.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to stor
- 2022-02-24 15:16:57下载
- 积分:1
-
搜索引擎
爬虫模块、预处理模块和搜索模块。
搜索引擎的三个部分是相互独立的,三个部分分别工作,主要的关系体现在前一部分得到的数据结果为后一部分提供原始数据。
用户通过浏览器提交查询的词或者短语 P,搜索引擎根据用户的查询返回匹配的网页信息列表 L;
上述过程涉及到两个问题,如何匹配用户的查询以及网页信息列表从何而来,根据什么而排序?用户的查询 P 经过分词器被切割成小词组 并被剔除停用词 ( 的、了、啊等字 ),根据系统维护的一个倒排索引可以查询某个词 pi 在哪些网页中出现过,匹配那些 都出现的网页集即可作为初始结果,更进一步,返回的初始网页集通过计算与查询词的相关度从而得到网页排名,即 Page Rank,按照网页的排名顺序即可得到最终的网页列表;
假设分词器和网页排名的计算公式都是既定的,那么倒排索引以及原始网页集从何而来?原始网页集在之前的数据流程的介绍中,可以得知是由爬虫 spider 爬取网页并且保存在本地的,而倒排索引,即词组到网页的映射表是建立在正排索引的基础上的,后者是分析了网页的内容并对其内容进行分词后,得到的网页到词组的映射表,将正排索引倒置即可得到倒排索引;
网页的分析具体做什么呢?由于爬虫收集来的原始网页中包含很多信息,比如 html 表单以及一些垃圾信息比如广告,网页分析去除这些信息,并抽取其中的正文信息作为后续的基础数据。
- 2022-05-07 14:54:09下载
- 积分:1
-
Genetic algorithm is based on Darwin' s theory of evolution of an intelligent...
遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。旅行商问题是一种NP难的组合优化问题,具有重要的理论研究价值和实际应用背景。然而,传统遗传算法中存在有不足,需要提出新的改进的遗传算法,并应用于旅行商问题的求解。-Genetic algorithm is based on Darwin" s theory of evolution of an intelligent optimization algorithm, a complex system can be used to optimize the robustness of the search algorithm, the application of traditional methods to solve difficult and complex, nonlinear problems, can be widely used in combination optimization, discrete optimization, engineering, optimization and other fields. Traveling Salesman Problem is a NP hard combinatorial optimization problem, has important theoretical value and practical application of research background. However, the traditional genetic algorithm, there is less than the need to introduce new improved genetic algorithm, and applied for solving the traveling salesman problem.
- 2022-08-23 15:36:01下载
- 积分:1
-
Through the realization of a category of information HASH table query system
一个通过类实现的HASH表查询信息的系统-Through the realization of a category of information HASH table query system
- 2023-05-05 15:15:03下载
- 积分:1
-
温州市电力汽校学员管理系统(v1.0),数据库编程,vc+win2
温州市电力汽校学员管理系统(v1.0),数据库编程,vc+win2-Wenzhou City Power Steam cadet Management System (v1.0), database programming, vc WIN2
- 2022-08-09 18:06:03下载
- 积分:1
-
RS232串口通讯工具源码,VC++程序,方便监控,自动化等行业的应用。...
RS232串口通讯工具源码,VC++程序,方便监控,自动化等行业的应用。-RS232 serial communication source, VC++ procedures for monitoring the application of automation and other industries.
- 2022-04-06 17:56:07下载
- 积分:1
-
猴子选大王,用c++编写的。输入猴子的数目,然后可以选出其中的猴王。...
猴子选大王,用c++编写的。输入猴子的数目,然后可以选出其中的猴王。-Elected king of the monkeys with c++ Prepared. Enter the number of monkeys, which can then be elected King.
- 2022-01-25 14:09:06下载
- 积分:1
-
调用scannerdll生成dll的程序,功能跟操作系统附件
调用scannerdll生成dll的程序,功能跟操作系统附件-图像处理的功能差不多-scannerdll generation dll called the procedure, function with the operating system Annex-image processing functions almost
- 2022-03-24 00:09:02下载
- 积分:1
-
VC编写的PhotoScreen
VC编写的PhotoScreen -VC prepared PhotoScreen
- 2022-04-29 02:27:50下载
- 积分:1
-
香港大学的李教授平交织多址…
香港城市大学李平教授提出的交织多址(IDMA),此为李平教授上传的系统仿真代码,用C++编写的。-City University of Hong Kong made by Professor Li Ping intertwined multiple access (IDMA), Professor Li Ping upload this for the system simulation code, using C++ Prepared.
- 2022-05-15 22:37:17下载
- 积分:1