Location:
Search - people count
Search list
Description: 描述:设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。
.算法思想:
Jeseph函数是实现问题要求的主要函数,其算法思想是:从1至m对带头结点的单循环链表循环计数,到m时,输出该结点的编号值,,再从该结点的下一个结点起重新自1起循环计数;如此下去,直到单循环链表空时循环过程结束。
-Description : Let numbered 1, 2, ..., n (NGT; 0) clockwise direction by individuals sitting around a circle, each holding a positive integer code. At the beginning of a given arbitrary reported few limits on m, started from the first clockwise direction from the starting sequence reported a few, when they report back m reported few, hold out the m out from the clockwise direction in the next personal re-order starting from a newspaper; This situation continues until all people so far shown up. Asked to design a simulation of this process, and give out the number of people out sequence. . Algorithm thinking : Jeseph function is to seek to achieve the main function of the algorithm is thinking : m from a right to take the lead in the 19th nodes Listless cycle count, m, the output node number
Platform: |
Size: 21028 |
Author: 王俊 |
Hits:
Description: 用VC编写的,涉及到列表控件,DAO数据库编程,文件操作,和一些SHELL知识.可以把电脑用的文件,图片,网业地址加入到软件中,直接单击就可以执行程序,或网业,和图片,不需要每次都打开我的电脑,在找到文件,支持注册表中所有注册的文件类型,对那些文件很多又记不清放在哪的人是个很好的帮助!-VC preparation, involving Control List, DAO Database Programming, file manipulation, and some SHELL knowledge. Computers can be used in documents, pictures, network address industry into software, direct click on the implementation procedures, or network, and pictures, not always open my computer, find documents in support of the registry of all registered file types, many of those documents also lost count of Fang Where people are very good!
Platform: |
Size: 36329 |
Author: 李法镜 |
Hits:
Description: Josephus 排列问题定义如下:假设n 个竞赛者排成一个环形。给定一个正整数m,从某
个指定的第1 个人开始,沿环计数,每遇到第m 个人就让其出列,且计数继续进行下去。这
个过程一直进行到所有的人都出列为止。最后出列者为优胜者。每个人出列的次序定义了整
数1,2,…,n 的一个排列。这个排列称为一个(n,m)Josephus 排列。
例如,(7,3)Josephus 排列为3,6,2,7,5,1,4。-Josephus problem with the definition is as follows : Suppose n race who formed a ring. Given a positive integer m, from a certain section of a designated individual, along the Central Counting that every individual section m let out its out and count continue. This process continues until all the people from far out. Finally out of the winners were shown. Everyone out in the order shown in the definition of integers 1, 2, ..., n an order. With this as a (n, m), with Josephus. For example, (7,3) Josephus, were 3,6,2,7,5,1,4.
Platform: |
Size: 1095 |
Author: 李飞飞 |
Hits:
Description: [关于DePB]
DePB是一个针对PowerBuilder语言编写的程序进行反编译的工具,目前v1.0版还只是一个未完成的作品。本来我并不想这么早就放出来,因为我还是希望能够让别人看到一个界面更有好、功能更完善的作品。而不是目前大家所看到的这个\"丑小鸭\"。
对于这个软件,我前后花了三个月的时间,从文件格式分析、到程序设计,虽然自己也算倾尽全力,但是还是觉得时间短了点。最终因为生活和工作的一些原因,只好暂时停止。对此自己总有些遗憾。
希望在未来的不长时间内,我能够重新抽出时间完善这个作品。-[DePB] DePB against PowerBuilder is a language procedures anti-compiler tool, v1.0 is only one version of the unfinished works. I did not want to be let out so early, because I still hope to be able to let other people see a better interface, and function better work. Rather than the present we can see that this "ugly duckling." This software, I took three months of time, from file format, the program design, Although they have done everything count, but still feel that the time is short of the point. Ultimately for the life and work of some of the reasons that have been temporarily suspended. Some of this, we always regret. Hope in the future is not a long time, I took time to re-perfect this work.
Platform: |
Size: 5305322 |
Author: wantsay |
Hits:
Description: 古罗马有一个残酷的杀死犯人的游戏。若干个犯人站成一圈,从某一个犯人开始以某个步长数数,被数中的犯人将被杀死,剩下的人继续这个残酷的游戏,数数的起点变为被杀死的人的下一个人。只有最后一个人是幸运的。为了纪念每一个死去的犯人,犯人的编号要加入到步长中,也就是步长不是固定的,而是随着每一个犯人的死去而增加。-ancient Rome with a brutal killing prisoners of the game. Several inmates stand circle, and one from a prisoner to start a step-count, the number of prisoners would be killed. The remaining people continue this cruel game, the starting point for the count into people were killed by the next person. Only the last one was lucky. To commemorate every one of the dead prisoners, the number to join the step, the step is not fixed, but with every one of the prisoners died increase.
Platform: |
Size: 21542 |
Author: 魏然 |
Hits:
Description: Josephus 排列问题定义如下:假设n 个竞赛者排成一个环形。给定一个正整数m,从某
个指定的第1 个人开始,沿环计数,每遇到第m 个人就让其出列,且计数继续进行下去。这
个过程一直进行到所有的人都出列为止。最后出列者为优胜者。每个人出列的次序定义了整
数1,2,…,n 的一个排列。这个排列称为一个(n,m)Josephus 排列。
例如,(7,3)Josephus 排列为3,6,2,7,5,1,4。-Josephus problem with the definition is as follows : Suppose n race who formed a ring. Given a positive integer m, from a certain section of a designated individual, along the Central Counting that every individual section m let out its out and count continue. This process continues until all the people from far out. Finally out of the winners were shown. Everyone out in the order shown in the definition of integers 1, 2, ..., n an order. With this as a (n, m), with Josephus. For example, (7,3) Josephus, were 3,6,2,7,5,1,4.
Platform: |
Size: 1024 |
Author: 李飞飞 |
Hits:
Description: 实现对一捆钢筋的自动计数,主要采取了数学形态学的方法对原图像进行处理,在对处理后的图像中的白色区域进行统计,即可得到钢筋数目-Bundle of steel bars to achieve the automatic counting, mainly adopted a method of mathematical morphology to the original image processing, in the treatment of the white image region statistics, the number can be reinforced
Platform: |
Size: 623616 |
Author: 聂尧 |
Hits:
Description: 本文介绍一个实时视频对象计数系统的设计原理和实现方法[’]。这个系统目前已经应用十毛主席纪念堂,对每日瞻仰人数进行实时的统计,为纪念堂提供基本的统计数据。
- An image processing system was <levelope<1 to recognize
au<l trace video objects to automatically count people. This paper describes the system design principles including the color model transparency, the physical models of the object motion, multi}>bject tracing, counting algorithms, au<l reasonable simplifications. The system detects au<l counts moving objects in a specific area. The counting system error is less than 3%.
Platform: |
Size: 35840 |
Author: jiajie |
Hits:
Description: This program count people pass a certain corridor using two defined windows
Platform: |
Size: 1692672 |
Author: eko |
Hits:
Description: 本系统主要用于旅游景点记录游客人数,并限制旅客的流量。采用红外传感器通过检测人体红外并对通过人数进行计数,通过红外对管将检测到的数据发送至单片机,单片机处理后送至数码管显示,数码管显示的数据即为通过的人数,并通过设定值限制旅客数量。当游客超量是系统将给出相应的提示,禁止游客再进入。以更好的保护旅游景点的生态环境。-This system is mainly used for tourist attractions recording the number of visitors and limit the flow of tourists. Use of infrared sensors by detecting the human body by infrared and number of people count on the tube will be detected by infrared the data sent to the MCU, MCU after treatment sent to the digital LED display, digital LED display of the data shall be the number of through and through setting limits the number of passengers. When the visitors over-the system will give the appropriate prompts to prohibit visitors from re-entering. To better protect the tourist attractions of the ecological environment.
Platform: |
Size: 210944 |
Author: xsh |
Hits:
Description: 网站计数器,访问网站的次数,可以记录下来,提示有多少人访问。-Web site counter, the number of visits the site can be recorded, indicating how many people visit.
Platform: |
Size: 5120 |
Author: lisheng |
Hits:
Description: 客流统计系统源程序, 客流统计系统源程序-Passenger statistics system source code
Platform: |
Size: 1209344 |
Author: sheriffyang |
Hits:
Description: 2. 用循环链表解Josephus问题。设有n个人围坐在一个圆桌周围,现从第1个人开始报数,数到第m的人出列,然后从出列的下一个人重新开始报数,数到第m的人又出列,…,如此反复直到所有的人全部出列为止。Josephus问题是:对于任意给定的n和m,求出按出列次序得到的n个人员的序列-2. Josephus solution of the problem with the circulation list. With n individuals sitting around a round table is started by a report from the first number, the number of people out to the first m columns, and then from the next person out of the column began to count off again, several to the first m out of those people who have column, ..., and so forth until all of the columns were all out of date. Josephus The question is: For any given n and m, find out the columns according to the order received sequence of n-persons
Platform: |
Size: 1024 |
Author: sprite |
Hits:
Description: 基于opencv的人头统计算法程序,将文件解压出来即可使用-people count
Platform: |
Size: 1801216 |
Author: jerryjiang |
Hits:
Description: 公交车客流量检测系统,MFC版峰值计数(加方向检测)-for people counting on the bus
Platform: |
Size: 7262208 |
Author: 张敦凤 |
Hits:
Description: 人计对拿火柴,拿到最后一根胜利,使用java-People count on to get a match, the last one to get the victory, the use of java
Platform: |
Size: 13312 |
Author: alian |
Hits:
Description: 基于OPENCV的人数统计系统,可以对目标图像进行分析,可以统计出目标图像内的人数数量-OPENCV the number of statistical systems, the target image can be analyzed, you can count the number of people within the target number of images
Platform: |
Size: 7110656 |
Author: 王强 |
Hits:
Description: The software uses number of times statistics , the online number to count
Platform: |
Size: 1075200 |
Author: ajim1000 |
Hits:
Description: People count system based on no-coding system. U can use server based system, or webcam based system etc
Platform: |
Size: 10166272 |
Author: JulDaSh |
Hits:
Description: = Head Counter =
The aim of this software is to be able to count the number of people present in a crowd, especially in protests, and provide an estimate as accurate as possible. This software is currently at a very early stage.
Compilation
===========
You need OpenCV to compile this software. It should work well with the latest opencv from debian and ubuntu as well. It uses CMake to build. The process is as follow :
cd HeadCounter
mkdir build
cd build
cmake ..
make
this should compile both cvplayer and headcounter.
cvplayer is a simple test utility to check that your opencv configuration manage to read a specific file
headcounter is the main program. headcounter -h gives you instruction on how to use it.
Support
=======
You can contact me at quemener dot yves at free dot fr.
Platform: |
Size: 114688 |
Author: denijsoncc |
Hits: